I have a box that's on two subnets, both fully routable within the network. I would like to add routing so that all traffic goes to the first adapter, with the exception of a handful of addresses. bond0 --> 10.10.10.10 bond1 --> 10.20.10.10 Ping from another machine on 10.10.10.0 to 10.10.10.10 is good Ping from another machine on 10.10.10.0 to 10.20.10.10 is bad Ping from another machine on 10.20.10.0 to 10.10.10.10 is bad Ping from another machine on 10.20.10.0 to 10.20.10.10 is good Edit: It looks like I might need to tune something in the arp tunables, but so far arp_ingore/arp_annouce/arp_filter haven't produced any results, but it does sounds like interface base vs host base arp might be the issue. |
is routing (packet forwarding) turned on? Try: If that works, then -- to make the change permanent: Linux, by default, will not forward packets between interfaces. This is a security feature. |
We're going to need some more info on this one bud. A couple of things and commands to run. Can we get an output of:
Also, we need to know what networks you want routed where. -Rob |