Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2019 21:25:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 237649] Does not work receiving an IP address via DHCP after stable/12 (r346874-r347140)
Message-ID:  <bug-237649-7501-0fQJhGnITh@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 #8 from Vladislav V. Prodan <admin@support.od.ua> ---
I modified the rc.conf file a bit:

`
ifconfig_bce0=3D"mtu 9000 DHCP up"
ifconfig_bce1=3D"mtu 9000 DHCP up"
ifconfig_bce2=3D"mtu 9000 up"
ifconfig_bce3=3D"mtu 9000 up"

ifconfig_igb0=3D"mtu 9210 up"
vlans_igb0=3D"204"
ifconfig_igb0_204=3D"inet 192.168.85.2/30"
ifconfig_igb1=3D"inet 192.168.85.6/30 mtu 9210 up"


ifconfig_ix0=3D"mtu 9710 DHCP up descr 'Juniper qfx3500' "
vlans_ix0=3D"200 201 205"
ifconfig_ix1=3D"mtu 9710 up"

ifconfig_DEFAULT=3D"SYNCDHCP"
...
gateway_enable=3D"yes"
EOF


# ps -auxwxw | grep dhc
root  82400    0,0  0,0 11400  2708  -  Is   00:03     0:00,00 dhclient:
system.syslog (dhclient)
root  83621    0,0  0,0 11668  2792  -  Is   00:03     0:00,00 dhclient:
ix0.200 [priv] (dhclient)
_dhcp 86675    0,0  0,0 11672  2808  -  ICs  00:04     0:00,23 dhclient:
ix0.200 (dhclient)
root  67599    0,0  0,0 11464  2912  5  S+   00:19     0:00,00 grep
--color=3Dauto dhc

# dhclient ix0
ifconfig: ioctl (SIOCAIFADDR): File exists
ix0: not found
exiting.

After the restart, the system tries to get the IP address in the 200th VLAN=
 on
the ix0 interface. The descr field also did not apply.


# uname -a
FreeBSD core.domain.com 12.0-STABLE FreeBSD 12.0-STABLE r347140 SUPPORT-12-=
0-1=20
amd64

# sysrc -a
bsdstats_enable: YES
bsnmpd_enable: YES
ddb_enable: YES
dumpdev: AUTO
firewall_enable: YES
firewall_quiet: NO
firewall_script: /etc/ipfw/ipfw.conf
firewall_type: UNKNOWN
gateway_enable: yes
hostname: core.domain.com
ifconfig_DEFAULT: SYNCDHCP
ifconfig_bce0: mtu 9000 DHCP up
ifconfig_bce1: mtu 9000 DHCP up
ifconfig_bce2: mtu 9000 up
ifconfig_bce3: mtu 9000 up
ifconfig_igb0: mtu 9210 up
ifconfig_igb0_204: inet 192.168.85.2/30
ifconfig_igb1: inet 192.168.85.6/30 mtu 9210 up
ifconfig_ix0: mtu 9710 DHCP up descr 'Juniper qfx3500'
ifconfig_ix1: mtu 9710 up
ntpd_enable: YES
ntpd_flags: -g
smartd_enable: YES
sshd_enable: YES
sshd_flags: -oPort=3D22 -oCompression=3Dyes -oPermitRootLogin=3Dyes
-oPasswordAuthentication=3Dyes -oProtocol=3D2 -oUseDNS=3Dno
sshguard_blacklist: 120:/var/db/sshguard/blacklist.db
sshguard_danger_thresh: 60
sshguard_enable: YES
sshguard_flags: -w 178.136.117.33/32
sshguard_release_interval: 420
sshguard_reset_interval: 1200
syslogd_flags: -s -8
vlans_igb0: 204
vlans_ix0: 200 201 205
watchdogd_enable: yes
watchdogd_flags: -s 30 -t 300
zfs_enable: YES


# ifconfig
bce0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
=20=20=20=20=20=20=20
options=3Dc01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM=
,TSO4,VLAN_HWTSO,LINKSTATE>
        ether 00:26:b9:3c:8c:91
        inet 192.168.88.250 netmask 0xffffff00 broadcast 192.168.88.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bce1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
=20=20=20=20=20=20=20
options=3Dc01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM=
,TSO4,VLAN_HWTSO,LINKSTATE>
        ether 00:26:b9:3c:8c:93
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bce2: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
=20=20=20=20=20=20=20
options=3Dc01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM=
,TSO4,VLAN_HWTSO,LINKSTATE>
        ether 00:26:b9:3c:8c:95
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bce3: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
=20=20=20=20=20=20=20
options=3Dc01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM=
,TSO4,VLAN_HWTSO,LINKSTATE>
        ether 00:26:b9:3c:8c:97
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9210
=20=20=20=20=20=20=20
options=3De527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:16:31:fa:a4:e0
        media: Ethernet autoselect (1000baseSX <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9210
=20=20=20=20=20=20=20
options=3De527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:16:31:fa:a4:e1
        inet 192.168.85.6 netmask 0xfffffffc broadcast 192.168.85.7
        media: Ethernet autoselect (1000baseSX <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9710
        description: Juniper qfx3500
=20=20=20=20=20=20=20
options=3De53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCS=
UM_IPV6,TXCSUM_IPV6>
        ether 0c:c4:7a:59:d4:e8
        media: Ethernet autoselect (10Gbase-Twinax
<full-duplex,rxpause,txpause>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9710
=20=20=20=20=20=20=20
options=3De53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCS=
UM_IPV6,TXCSUM_IPV6>
        ether 0c:c4:7a:59:d4:e9
        media: Ethernet autoselect
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
enc0: flags=3D41<UP,RUNNING> metric 0 mtu 1536
        groups: enc
        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 0xa
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
pfsync0: flags=3D0<> metric 0 mtu 1500
        syncpeer: 0.0.0.0 maxupd: 128 defer: off
        groups: pfsync
pflog0: flags=3D0<> metric 0 mtu 33672
        groups: pflog
igb0.204: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu=
 9210
        options=3D600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV=
6>
        ether 00:16:31:fa:a4:e0
        inet 192.168.85.2 netmask 0xfffffffc broadcast 192.168.85.3
        groups: vlan
        vlan: 204 vlanpcp: 0 parent interface: igb0
        media: Ethernet autoselect (1000baseSX <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0.200: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
9710
        options=3D600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV=
6>
        ether 0c:c4:7a:59:d4:e8
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        groups: vlan
        vlan: 200 vlanpcp: 0 parent interface: ix0
        media: Ethernet autoselect (10Gbase-Twinax
<full-duplex,rxpause,txpause>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0.201: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
9710
        options=3D600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV=
6>
        ether 0c:c4:7a:59:d4:e8
        groups: vlan
        vlan: 201 vlanpcp: 0 parent interface: ix0
        media: Ethernet autoselect (10Gbase-Twinax
<full-duplex,rxpause,txpause>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0.205: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
9710
        options=3D600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV=
6>
        ether 0c:c4:7a:59:d4:e8
        groups: vlan
        vlan: 205 vlanpcp: 0 parent interface: ix0
        media: Ethernet autoselect (10Gbase-Twinax
<full-duplex,rxpause,txpause>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,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-237649-7501-0fQJhGnITh>