Date: Sun, 05 May 2019 17:36:42 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 237649] Does not work receiving an IP address via DHCP Message-ID: <bug-237649-7501-nciie1Q11z@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237649-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-237649-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237649 --- Comment #5 from Vladislav V. Prodan <admin@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=3D"SYNCDHCP" ifconfig_bce0=3D"DHCP" ifconfig_bce0_ipv6=3D"inet6 accept_rtadv" ifconfig_bce1=3D"DHCP" ipv6_activate_all_interfaces=3D"YES" ifconfig_ix0=3D"DHCP" ifconfig_bce0=3D"mtu 9000 up" ifconfig_bce1=3D"mtu 9000 up" ifconfig_bce2=3D"mtu 9000 up" ifconfig_bce3=3D"mtu 9000 up" ifconfig_igb0=3D"mtu 9210 up" ifconfig_igb1=3D"mtu 9210 up" ifconfig_ix0=3D"mtu 9710 up descr 'Juniper qfx3500' " ifconfig_ix1=3D"mtu 9710 up" It became: ifconfig_bce0=3D"mtu 9000 up" ifconfig_bce1=3D"mtu 9000 up" ifconfig_bce2=3D"mtu 9000 up" ifconfig_bce3=3D"mtu 9000 up" ifconfig_igb0=3D"mtu 9210 up" ifconfig_igb1=3D"mtu 9210 up" ifconfig_ix0=3D"mtu 9710 up descr 'Juniper qfx3500' " ifconfig_ix1=3D"mtu 9710 up" ifconfig_DEFAULT=3D"SYNCDHCP" ifconfig_bce0=3D"DHCP" ifconfig_bce0_ipv6=3D"inet6 accept_rtadv" ifconfig_bce1=3D"DHCP" ipv6_activate_all_interfaces=3D"YES" ifconfig_ix0=3D"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= =3Dauto dhc It turns out a number of ifconfig options in rc.conf is not commutative and depends on the order of the call/assignment. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237649-7501-nciie1Q11z>