IP's have been changed to protect the innocent.
I am using a small floppy based linux disro called freesco v3.0 and I am having a bit of trouble completly understanding how the route command should be used in the situation I have. We have 3 IP pools assisgned by our ISP (see below) 2 of which are in sequence but are seperate pools. The router has 3 NICs eth0, eth1, eth2 and due to limitations with the hardware we cannot add another card. Which would in this case have been an easy way out. Also the router does not use the NAT or firewall functions of the router.
#ifconfig eth1:1 188.8.131.52 netmask 255.255.255.224 broadcast 184.108.40.206
So in order to add the third pool I have 1st aliased the gateway ip for the 2nd pool to eth1 calling it eth1:1. I can ping this ip fine and it works great. But now i need to add proper routing for this pool and I am having some issues on how I should break the routing between the 2 pools using the route command. The link below highlights the commands but I am unsure as to the proper usage in this situation.
here is a look at my /proc/net/route but what does this mean?
eth0 (220.127.116.11) <static recieved dhcp>
eth1 (18.104.22.168) <IP pool 1 subnet (255.255.255.224)>
|-----eth1:1 <IP pool 2 aliased 22.214.171.124 subnet (255.255.255.224)>
So the question I am asking is what route commands should be used to add 126.96.36.199/27 to eth1:1
Thank you for your time and consideration.