Hi I am trying to setup symetrical routing to a mutlihomed linux box. Basically I haev a linux box with 3 interfaces front, back and backup From another pc (3-4 hops away )) I would like to be able to ping both the front and have the return path take the same route. so server eth0 10.124.167.21/24 eth1 10.124.168.21/24 eth3 192.168.8.21/24 my ip rules looked something like 0: from all lookup local 19999: from all lookup main 20000: from 10.124.167.21 lookup 250 20001: from 10.124.168.21 lookup 251 20002: from 192.168.8.21 lookup 252 32766: from all lookup main 32767: from all lookup 253 tab 250 default via 10.124.167.254 dev eth0 tab 251 default via 10.124.168.254 dev eth1 tab 252 default via 192.168.8.254 dev eth2 tab main 192.168.8.0/24 dev eth2 proto kernel scope link src 192.168.8.21 10.124.167.0/24 dev eth0 proto kernel scope link src 10.124.167.21 10.124.168.0/24 dev eth1 proto kernel scope link src 10.124.168.21 192.168.0.0/16 via 192.168.8.254 dev eth2 127.0.0.0/8 dev lo scope link tab 253 default via 10.124.167.254 dev eth0 Now this all works fine, my next step was to add secondary addresses to the interfaces. So I want to add 10.124.167.12 to eth0 I added another ip ru line as well ip ru add from 10.124.167.12 table 250 Again this worked fine, my next step is what if I want to add multiple (5-6) ip addresses can I cover it all with this ip ru ip ru add from 10.124.167.0 table 250 I have tried this but it did not work. Do I need to make it ip ru add from 10.124.167.0/24 table 250 or do I have to add an entry for each ip address bount to that interface?? Thanks Alex
Attachment:
signature.asc
Description: Digital signature