Help regarding routing from one subnet to another
Here is my setup : Two linux boxes and a adsl router.
Box A has two nic's, eth0 and eth1. eth1 is connected to the adsl router and the router does all the "work" ie. masquerading et al. that resides on the 192.168.1.X subnet
Box A connects to Box B on eth0 and resides on the 192.168.0.X subnet.
Box A has a fully functional internet connection thru eth1 via the adsl router
Box A and Box B has a working connection on the 192.168.0.X subnet.
I would like to have a set up that would allow Box B internet access, but I dont want to set up Box A to do the work of the adsl router.
Im juts looking for basic ip functionaility ie. Box B should be able to ping a internet ip, Box A should effectively pass all "outside internet"
destined traffic from Box B over from the eth0 (192.168.0.X) interface via eth1 (192.168.1.X) to the adsl router.
Im not concerned about firewalling at this time, im just experimenting/learning one step at a time :)
Both subnets are statically configured, no dhcp
Any help would be appreciated.
Thanks in advance
Box A specify the gateway as the ip address of the router and Box B specify the gateway as the ip address of Box A. If you have masquerading working then you should now be able to login to the router http address. If you can do this then you will be able to access the Internet. You need to restart networking after altering the networking configurations. You should also specify either the isp dns or router address in resolv.conf of Box B
|All times are GMT -5. The time now is 12:12 AM.|