Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Linux Server Routing Failed!, please help me?
jedipi
post Jul 28 2005, 09:27 AM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 352
Joined: 2-March 05
From: Australia
Member No.: 2,859



The following is the settings on the linux server
OS: Redhat 9
eth0: 192.168.1.98/24
eth1: 192.168.10.1/24

route-eth0 file:
192.168.1.0/24 via 192.168.1.98

route-eth1 file:
192.168.10.0/24 via 192.168.10.1

my own subnet is 192.168.10.0
internet accessing router internal port: 192.168.1.99/24

problem:

i want to use this linux server as a router between the real router and the subnet. all the internet request from my subnet will be forward to the real router.

my client pc in the subnet has address :192.168.10.253

i can ping the 192.168.1.98 successfully from the client pc, but failed by ping 192.168.1.99.

On the server side, i can ping any internet address successfully.

so guess there are some problem of routing, who can help me? thanks a million!

Today, I checked my /etc/sysctl.conf again, and found that
net.ipv4.ip_forward is disabled.

ok, I enabled it by adding this statement:
net.ipv4.ip_forward =1

However, the routing still didn't work after i turned on the ip_forward

shoud I configurate the ipchains as well?
is the ipchains necessary for just routing?

but i failed to use the ipchains, when i type:
#ipchains -L
the response is : "ipchains: Incompatible with this kernel"

i guesst i should recompile the kernel, shouldn't I?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Running Linux on slow computers(12)
  2. Now Linux is ease(9)
  3. Linux - which distributiuon?(19)
  4. What's The Difference Between Linux And Unix?!?(18)
  5. Mini Apache Server W/ Php(5)
  6. Server Os(16)
  7. Counter-Strike Source Clans - Post Your Server IPs(18)
  8. What Made You Switch To Linux?(61)
  9. Server Behind Router(7)
  10. Help: Setting Default Index Page on XAMPP Web-Server(6)
  11. Free Ragnarok Online Server(5)
  12. Linux For Beginners- Easy To Install(16)
  13. C/c++ -gdb Linux Debug Tool(1)
  14. Choice Of Motherboard For Linux Virtualization(5)
  15. New Ro Server(2)
  1. Internet Connection In Linux Through Mobile(4)
  2. Linux Software Installation Help(2)
  3. I Want To Get Linux, Which One Is Best?(6)
  4. Server With Quest?(6)
  5. Gmail For Mail Server.(7)
  6. When And What Is Your First Linux Experience?(4)
  7. How To Validate The Login Form Using Php Pcre(0)
  8. How To Make Sure Your Server Can Generate Images(0)
  9. Google App Engine(1)
  10. Email Server / Cpanel Problems(1)
  11. In Php- How To Send Mail From Localhost To Web Mail Server(0)
  12. View Php In Another Server(4)
  13. Why Still Windows But Ubuntu Linux(4)


 



- Lo-Fi Version Time is now: 4th December 2008 - 11:59 PM