1

problem with multiple GW e dmz

view story
linux-howto

http://www.linuxquestions.org – hi, I have a big problem, I hope for your help. I have two balanced ADSL: ADSL 1 and ADSL 2. This is the script. #!/bin/bash ip route add xx.yy.205.200/255.255.255.248 dev eth0 src xx.yy.205.202 table ADSL1 ip route add default via xx.yy.205.201 table ADSL1 ip route add xx.yy.246.176/255.255.255.248 dev eth1 src xx.yy.246.178 table ADSL2 ip route add default via xx.yy.246.177 table ADSL2 ip rule add from xx.yy.205.202 table ADSL1 ip rule add from xx.yy.246.178 table ADSL2 ip route add 127.0.0.0/8 dev lo table ADSL1 ip route add 127.0.0.0/8 dev lo table ADSL2 ip route add default scope gl (HowTos)