Re: linux routing
> Well apparently my art career wasnt as promsing as I thought. I'll try
> internet ->eth0 -> 22.214.171.124 -> eth1 -> box1 (126.96.36.199) and box2
Just to get clear: do you have three boxes (router, box1, box2) with ips
188.8.131.52 to 184.108.40.206 and router having a second ip for the
internet connection on eth0 or do you have two boxes (box1, box2) with
ips 220.127.116.11 to 18.104.22.168 for internal traffic and box1 is
the router with the ip 22.214.171.124 for the internet connection?
In the first case you need the second ip to create a rouleset for your
In the second case all subnet masks for every ip should be one of these:
255.255.255.240, 255.255.255.248, 255.255.255.252 or 255.255.255.254
So you only have to configure box2's gateway as 126.96.36.199 and add
the default route for mask 0.0.0.0 to 188.8.131.52. And don't forget
to configure your kernel for ip forwarding.