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