[Bug 237649] Does not work receiving an IP address via DHCP
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 5 17:36:45 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237649
--- Comment #5 from Vladislav V. Prodan <admin at support.od.ua> ---
Network drivers are built into the kernel:
# kldstat -v | egrep '/(ix|bce)'
178 pci/ix
630 pci/ixl
99 pci/bce
179 pci/ixv
Now I tried to change the guidelines for using DHCP in rc.conf.
It was:
ifconfig_DEFAULT="SYNCDHCP"
ifconfig_bce0="DHCP"
ifconfig_bce0_ipv6="inet6 accept_rtadv"
ifconfig_bce1="DHCP"
ipv6_activate_all_interfaces="YES"
ifconfig_ix0="DHCP"
ifconfig_bce0="mtu 9000 up"
ifconfig_bce1="mtu 9000 up"
ifconfig_bce2="mtu 9000 up"
ifconfig_bce3="mtu 9000 up"
ifconfig_igb0="mtu 9210 up"
ifconfig_igb1="mtu 9210 up"
ifconfig_ix0="mtu 9710 up descr 'Juniper qfx3500' "
ifconfig_ix1="mtu 9710 up"
It became:
ifconfig_bce0="mtu 9000 up"
ifconfig_bce1="mtu 9000 up"
ifconfig_bce2="mtu 9000 up"
ifconfig_bce3="mtu 9000 up"
ifconfig_igb0="mtu 9210 up"
ifconfig_igb1="mtu 9210 up"
ifconfig_ix0="mtu 9710 up descr 'Juniper qfx3500' "
ifconfig_ix1="mtu 9710 up"
ifconfig_DEFAULT="SYNCDHCP"
ifconfig_bce0="DHCP"
ifconfig_bce0_ipv6="inet6 accept_rtadv"
ifconfig_bce1="DHCP"
ipv6_activate_all_interfaces="YES"
ifconfig_ix0="DHCP"
With this latest version of the rc.conf file, DHCP is working in rc.conf.
# ps -auxww | grep dhc
root 52999 0,0 0,0 11388 2704 - Is 20:34 0:00,00 dhclient:
system.syslog (dhclient)
root 54338 0,0 0,0 11692 2792 - Is 20:34 0:00,00 dhclient: bce0
[priv] (dhclient)
_dhcp 81677 0,0 0,0 11860 2916 - ICs 20:34 0:00,00 dhclient: bce0
(dhclient)
root 89835 0,0 0,0 11400 2708 - Is 20:34 0:00,00 dhclient:
system.syslog (dhclient)
root 91787 0,0 0,0 11688 2792 - Is 20:34 0:00,00 dhclient: ix0
[priv] (dhclient)
_dhcp 92922 0,0 0,0 11692 2800 - ICs 20:35 0:00,00 dhclient: ix0
(dhclient)
root 2925 0,0 0,0 11464 2912 0 S+ 20:35 0:00,00 grep --color=auto
dhc
It turns out a number of ifconfig options in rc.conf is not commutative and
depends on the order of the call/assignment.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list