Re: linux routing
> Well apparently my art career wasnt as promsing as I thought. I'll try
> internet ->eth0 -> 18.104.22.168 -> eth1 -> box1 (22.214.171.124) and box2
Just to get clear: do you have three boxes (router, box1, box2) with ips
126.96.36.199 to 188.8.131.52 and router having a second ip for the
internet connection on eth0 or do you have two boxes (box1, box2) with
ips 184.108.40.206 to 220.127.116.11 for internal traffic and box1 is
the router with the ip 18.104.22.168 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 22.214.171.124 and add
the default route for mask 0.0.0.0 to 126.96.36.199. And don't forget
to configure your kernel for ip forwarding.