I have network, for example wlan0.
It takes all info by DHCP, gateway and DNS too.
1. If I want to use my own DNS,there is no way to do it, any changes to /etc/resolv.conf are overwrited, even if the auto-discovered dns address leaved untouched there.
2. If I have other network which I need to use (for example, gprs via bluetooth), it connect OK. But DNS probably can be overridden by any other interface with DHCP - not good.
3. If I disconnect my gprs/ppp, I get "no route to host", for any ip. I had a gateway for wlan0, I connected with gprs (tun0), it simply overriden my gateway, not stored any info about which default gate was earlier, and after disconnect I got broken route table.
I'd propose a little smartr DHCP, which will respect other DNSes, specified manually or get from other DHCP interfaces.
I'd propose additional checks during connect/disconnect interfaces, to have always working route table, no matter of user actions.
This is a feature request.
if I got all points of your request right, points 1 and 2 can be "fixed" in
(read: must be configured by the admin) dhclient.conf(5)
Point 3 must be properly configured by either ppp.conf or mpd.conf or
whatever you use for dialing up.
I don't see a FreeBSD bug here if properly configured.
Please report back if we can close this PR. Thank you very much.
For bugs that match the following
- Status Is In progress
- Untouched since 2018-01-01.
- Affects Base System OR Documentation
Reset to open status.
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Reclaim for bugs@FreeBSD.org.