I have the simplest possible DHCP setup: ifconfig_re0="DHCP" in /etc/rc.conf.

When the system boots, it gets connected fine.

Now,  I disconnect my laptop and connect it to another network.
When cable is disconnected, IP address of this interface stays the same, old one is not removed. When I plug it into another network, the same IP address stays. New IP doesn't get set. This is bad. So I have to manually do 'ifconfig re0 down && remove <OLD-IP> && ifconfig re0 up'.

I believe, once interface is set as "DHCP", all those things should happen automatically. dhclient should drop the old IP when cable is unplugged, and should set it up anew when cable is plugged back.

Is my system misconfigured in some way, or this is the way how it works in FreeBSD?

Yuri
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to