Advertising
- Something
- Friday, June 12th, 2015 at 12:56:25am UTC
- auto lo
- iface lo inet loopback
- post-up ip route add default scope global nexthop via 10.10.10.254 dev eth0 weight 1 nexthop via 10.10.10.126 dev eth1 weight 1
- #uplink1
- auto eth0
- iface eth0 inet static
- address 10.10.10.220
- netmask 255.255.255.128
- post-up ip route add 10.10.10.254/32 dev eth0 src 10.10.10.220 table uplink1
- post-up ip route add default via 10.10.10.254 table uplink1
- post-up ip rule add from 10.10.10.220 table uplink1
- post-down ip rule del from 10.10.10.220 table uplink1
- #uplink2
- auto eth1
- iface eth1 inet static
- address 10.10.10.120
- netmask 255.255.255.128
- post-up ip route add 10.10.10.126/32 dev eth1 src 10.10.10.120 table uplink2
- post-up ip route add default via 10.10.10.126 table uplink2
- post-up ip rule add from 10.10.10.120 table uplink2
- post-down ip rule del from 10.10.10.120 table uplink2
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.