-
Notifications
You must be signed in to change notification settings - Fork 0
Scripts to configure an /etc/network/interfaces server for multihoming
License
isostatic/multihomeconfig
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A quick script to run on a machine with /etc/network/interfaces which enables multirouting - traffic in/out of each interface sits in it's own table with the router specified in /etc/network/interfaces or received via dhclient and in the lease table - traffic orginating without a specific interface will use the default table - if /etc/network/interfaces has a line with # The primary network interface the default route, otherwise it's whatever the normal behavior is (interface that comes up first perhaps?) script can be run as often as needed, and will change things if needed, so it sits in dhclient Only tested for specific use cases - machine with 2 interfaces both on dhcp I suspect netplan has a way to do this properly for more recent ubuntu versions, although iif and oif seem to struggle in my initial tests To apply wget https://raw.githubusercontent.com/isostatic/multihomeconfig/main/src/usr/bin/enable_multi_routing chmod 755 enable_multi_routing sudo mv enable_multi_routing /usr/bin/ echo /usr/bin/enable_multi_routing | sudo tee /etc/dhcp/dhclient-exit-hooks.d/enable_multi_routing
About
Scripts to configure an /etc/network/interfaces server for multihoming
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published