[Bug 237649] Does not work receiving an IP address via DHCP after stable/12 (r346874-r347140)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 10 21:25:37 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237649
--- Comment #8 from Vladislav V. Prodan <admin at support.od.ua> ---
I modified the rc.conf file a bit:
`
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"
vlans_igb0="204"
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' "
vlans_ix0="200 201 205"
ifconfig_ix1="mtu 9710 up"
ifconfig_DEFAULT="SYNCDHCP"
...
gateway_enable="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=auto 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
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=22 -oCompression=yes -oPermitRootLogin=yes
-oPasswordAuthentication=yes -oProtocol=2 -oUseDNS=no
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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=c01bb<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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bce1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=c01bb<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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bce2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=c01bb<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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bce3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=c01bb<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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9210
options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9210
options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9710
description: Juniper qfx3500
options=e53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 0c:c4:7a:59:d4:e8
media: Ethernet autoselect (10Gbase-Twinax
<full-duplex,rxpause,txpause>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9710
options=e53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 0c:c4:7a:59:d4:e9
media: Ethernet autoselect
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
enc0: flags=41<UP,RUNNING> metric 0 mtu 1536
groups: enc
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<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=21<PERFORMNUD,AUTO_LINKLOCAL>
pfsync0: flags=0<> metric 0 mtu 1500
syncpeer: 0.0.0.0 maxupd: 128 defer: off
groups: pfsync
pflog0: flags=0<> metric 0 mtu 33672
groups: pflog
igb0.204: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9210
options=600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV6>
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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0.200: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9710
options=600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV6>
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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0.201: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9710
options=600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV6>
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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix0.205: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9710
options=600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV6>
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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list