Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ryancdotorg/dhclient-script-multiwan

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

dhclient-script-multiwan

Fork of dhclient-script with modifications to better support multi-homed hosts

Features

  • Inserts routes with proto dhcp
  • Does not touch DNS resolver config
  • Adds explicit routes to DHCP servers (many ISPs use DHCP relays to servers on other subnets, this ensures requests to renew your lease go out the correct interface)
  • If ipset is installed, your the IP will be added to a list named -ip. This makes writing NAT hairpinning in iptables easier.
  • Default routes are added to routing tables named after the interface, and appropriate policy routing rules are set up (see routing-rules.sh.example and rt_tables.example)

Limitations

  • Hostname won't be set from DHCP server
  • DHCPv6 support removed
  • You didn't need your ISP's DNS servers, did you?
  • Policy routing rule priorities are not guaranteed not to collide, but there's a spot to fixup collisions

About

Fork of dhclient-script with modifications to better support multi-homed hosts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.