Here is what I am saying: INternet | router [ ethernet 2 public ip] [thernet 1 public ip] | cross over cable Linux Box [ Multiple public ips] Now lets say ethernet 2 has 195.131.4.2 and say ethernet 1 has 195.120.5.2 and the linux box has 195.120.5.x ips then the router as far as it is cncerned is directly connected to the 192.120.5 netowrk through ethernet 1 and will send all packets for that network through that interface even if the default route is through ethernet 2.
I don't agree. You are omitting a lot of necessary conditions. You assume that he uses a class C subnet. Which does not at all have to be. Further you assume that the router forwards the IPs to the inside. Which does not have to be. It should, but he needs to set it up. And then the thing with the default route I don't really get that. What does that have to do with it all? I mean the router will probably have a default gateway assigned to some machine in the internet (preferrably the next hop router of the ISP which is the first hop towards the internet). The linux box will probably have the default gateway set to 195.120.5.2 ( in the example above)....... Correct me if I am wrong! Thanks Raffy