routing table
Hi there,
I have a bit of Linux/Unix exprience but when it comes to networking am a newbie..
Here is my dilemma, we got two seperate LANs of two different customers that share an application that is running on a Nitix Linux server. LAN1 has access to the net but LAN2 does not; thus I thought it would be easy to route LAN2 internet access requests via LAN1, but i could not get it going.
LAN1 is connected to the Nitix server's eth0 (10.32.2.100) and LAN2 (10.32.4.100)is connected to eth1. I tried to set up the routing table, using 'route' to no avail..please help..By the way, the Nitix server does not have "routed" daemon..
Here are the commands I used, after configuring the interfaces..
`route add -net 10.32.2.0 ...eth1`
`route add -net 10.32.4.0...eth0`
then added the default gw
`route add default gw 10.32.4.1`
Here is what the routing table looks like now..
[root@NITIX home]# route -n
Kernel IP routing table
Destination Gateway Genmask Use Iface
10.32.4.0 0.0.0.0 255.255.255.0 eth1
10.32.2.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 lo
0.0.0.0 10.32.2.1 0.0.0.0 eth0
Thanks for your help..
..
|