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
Since he appears to be a newbie I did not think it wise to include all possible scenarios. I also assumed a class C but yes it is possible to have anything else. As for the default gateway I was trying to frestall a response of the kind like: "but my default gateway is such and such!" Anyway all in all we need much more info than is provided here. But I was trying to guess his situation and giving a response fitting to the most likely kind of scenario.
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
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
participants (2)
-
Raffy
-
semat