|
Prev: Linux as DSL Router with static IP for a 2nd computer????
Next: How does Linux handle wireless card drivers?
From: boxers999 on 14 Mar 2006 13:46 Hi All, I have a RH9 box with 2 NIC's. One is my outside (eth0) 217.x.x.x and the other is the inside (eth1)192.168.0.253. The inside is wired to a switch and the outside goes to a BT router with static ip. The switch on the inside will have 1 pc connected with the ip 192.168.0.90 and the gateway set as 192.168.0.253. On the linux box I can access the internet through eh0 without any problem. I can ping the laptop on 192.168.0.90 no problem. The laptop can ping 217.x.x.x and 192.168.0.253 no problem. I have set ip_forward to 1 What else do I need to do to get 192.168.0.90 on the internet thorough the redhat box ? Thanks for the help.
From: Tauno Voipio on 14 Mar 2006 14:16
boxers999 wrote: > Hi All, > > I have a RH9 box with 2 NIC's. One is my outside (eth0) 217.x.x.x and > the other is the inside (eth1)192.168.0.253. > > The inside is wired to a switch and the outside goes to a BT router > with static ip. The switch on the inside will have 1 pc connected with > the ip 192.168.0.90 and the gateway set as 192.168.0.253. > > On the linux box I can access the internet through eh0 without any > problem. I can ping the laptop on 192.168.0.90 no problem. The laptop > can ping 217.x.x.x and 192.168.0.253 no problem. > > I have set ip_forward to 1 > > What else do I need to do to get 192.168.0.90 on the internet thorough > the redhat box ? > > Thanks for the help. > You need the NAT. Have a look at Rusty's Remarkably Unreliable Guides at <http://people.netfilter.org/rusty/unreliable-guides/>. The 2.4 guide works pretty well with 2.6, too. HTH -- Tauno Voipio tauno voipio (at) iki fi |