[Bug 277904] DHCP and static ip not correctly configured
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Mar 2024 12:06:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277904 --- Comment #6 from Oleksandr Kryvulia <shuriku@shurik.kiev.ua> --- When dhclient configures interface it removes all IP adresses from it. With SYNCDHCP rc susbsystem waits while dhclient receives IP and configure it on interface. Then it assigns an alias IP. If you do later "service dhclient restart bge0" you can see that an alias IP is no longer present on interface. IMHO, the proper way to configure static IP with DHCP is to use alias section in /etc/dhclient.conf, please see dhclient.conf(5) for details: alias { interface "bge0"; fixed-address 99.104.201.113; option subnet-mask 255.255.255.248; } So I think it works as intended. -- You are receiving this mail because: You are the assignee for the bug.