Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2021 22:11:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256767] ifconfig(8) NOAUTO and rc.conf(5): untimely configuration (up) of a network interface when it should be down
Message-ID:  <bug-256767-227-qCmsZmT46q@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256767-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256767-227@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=3D256767

--- Comment #6 from Mason Loring Bliss <mason@blisses.org> ---
I have more detail. My X environment fires up barriec inside a new screen
session. I can sit there and watch it try to connect for ages. If I say
'ifconfig' to look at what's configured, that seems to trigger something.
It'll come back showing the interface down, but a dhclient fires up and
configured em0. I assume this means devd is taking action somehow, and will
try to track this further. (IP/MAC obscured)

$ date
Wed Aug 25 18:06:44 EDT 2021
$ ps ax | grep dhclient
82286 11  S+   0:00.00 grep dhclient
$ ifconfig
em0: flags=3D8822<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D481249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL=
_MAGIC,VLAN_HWFILTER,NOMAP>
        ether 00:11:22:33:44:55
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
$ ps ax | grep dhclient
29602  -  SCs  0:00.00 dhclient: em0 (dhclient)
95364  -  Ss   0:00.00 dhclient: system.syslog (dhclient)
98418  -  Ss   0:00.00 dhclient: em0 [priv] (dhclient)
36147 11  S+   0:00.00 grep dhclient
$ ifconfig
em0: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D481249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL=
_MAGIC,VLAN_HWFILTER,NOMAP>
        ether 00:11:22:33:44:55
        inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>

--=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-256767-227-qCmsZmT46q>