e07f0ef417
This can be used for multi-homed connections and other advanced routing in Linux. See the documentation links for more information about doing this in linux. The code was a originally pure addon into the conf.d/net files, written in mid-2004 for doing multi-homing between two internet connections. I have finally cleaned this up and integrated it. Thanks to Jonathan Kwan for giving me the original impetus to develop this for Gentoo (it was his dual internet connections...). In the intervening years, it was a example of postup/postdown in the net.example file, however that suffered from a few corner case issues. If you were using the code from net.example, please see the updated section 'Advanced Routing' on syntax, and drop your old function blocks. Additionally, note that the rules added are now directly saved for removal when the interface is taken down. |
||
---|---|---|
.. | ||
.gitignore | ||
adsl.sh | ||
apipa.sh | ||
arping.sh | ||
bonding.sh | ||
br2684ctl.sh | ||
bridge.sh | ||
ccwgroup.sh | ||
clip.sh | ||
dhclient.sh | ||
dhcpcd.sh | ||
ifconfig.sh.BSD.in | ||
ifconfig.sh.Linux.in | ||
ifplugd.sh | ||
ifwatchd.sh | ||
ip6to4.sh | ||
ipppd.sh | ||
iproute2.sh | ||
iwconfig.sh.BSD.in | ||
iwconfig.sh.Linux.in | ||
macchanger.sh | ||
macnet.sh | ||
Makefile | ||
Makefile.FreeBSD | ||
Makefile.Linux | ||
Makefile.NetBSD | ||
netplugd.sh | ||
pppd.sh | ||
pump.sh | ||
ssidnet.sh | ||
system.sh | ||
tuntap.sh | ||
udhcpc.sh | ||
vlan.sh | ||
wpa_supplicant.sh |