Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2023 14:30:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 274926] Problem with netwokr card, and when restart network, crash system
Message-ID:  <bug-274926-7501-JLUeGHNIwc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274926-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274926-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=3D274926

--- Comment #6 from David Durieux <david@durieux.family> ---
I use jails (iocage) with vnet / bridge
rc.conf:=20

[...]
kld_list=3D"i915kms"
ifconfig_em0=3D"DHCP"
pf_enable=3D"YES"
linux_enable=3D"YES"
wlans_iwlwifi0=3D"wlan0"
ifconfig_wlan0=3D"WPA SYNCDHCP"
devfs_system_ruleset=3D"system"

## network internal interfaces

cloned_interfaces=3D"bridge0 bridge1"

# plumb interface em0 into bridge0 (needed to prevent other bridge to have =
ARP
request from LAN)
ifconfig_bridge0=3D"addm em0 up"

# plumb interface em0 into bridge1
ifconfig_bridge1_alias0=3D"inet 10.0.1.254 netmask 255.255.255.0"

gateway_enable=3D"YES"
iocage_enable=3D"YES"



result of ifconfig:=20

% ifconfig
em0: flags=3D1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_U=
P>
metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D4e500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS=
UM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
        ether ac:91:a1:29:d2:65
        inet 192.168.20.173 netmask 0xffffff00 broadcast 192.168.20.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1=
6384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
        options=3D0
        ether 50:28:4a:30:e1:de
        groups: wlan
        ssid "" channel 1 (2412 MHz 11g)
        regdomain FCC country US authmode WPA1+WPA2/802.11i privacy MIXED
        deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme
        roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bridge0: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> m=
etric
0 mtu 1500
        options=3D0
        ether 58:9c:fc:10:61:4f
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: em0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
        groups: bridge
        nd6 options=3D9<PERFORMNUD,IFDISABLED>
bridge1: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> m=
etric
0 mtu 1500
        options=3D0
        ether 58:9c:fc:10:a7:5a
        inet 10.0.1.254 netmask 0xffffff00 broadcast 10.0.1.255
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0.3 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 13 priority 128 path cost 2000
        member: vnet0.2 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 10 priority 128 path cost 2000
        member: vnet0.1 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 7 priority 128 path cost 2000
        groups: bridge
        nd6 options=3D9<PERFORMNUD,IFDISABLED>
vnet0.1: flags=3D1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOW=
ER_UP>
metric 0 mtu 1500
        description: associated with jail: circus-pes-translation-export as
nic: epair0b
        options=3D8<VLAN_MTU>
        ether 6c:0b:84:28:a5:05
        hwaddr 02:2b:df:33:c5:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vnet0.2: flags=3D1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOW=
ER_UP>
metric 0 mtu 1500
        description: associated with jail: circus-pes-translation as nic:
epair0b
        options=3D8<VLAN_MTU>
        ether 6c:0b:84:28:a5:05
        hwaddr 02:6e:f8:c5:23:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vnet0.3: flags=3D1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOW=
ER_UP>
metric 0 mtu 1500
        description: associated with jail: fusionsoftware-backend as nic:
epair0b
        options=3D8<VLAN_MTU>
        ether 6c:0b:84:c7:22:b2
        hwaddr 02:94:93:56:60:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
tun0: flags=3D1008051<UP,POINTOPOINT,RUNNING,MULTICAST,LOWER_UP> metric 0 m=
tu
1500
        options=3D80000<LINKSTATE>
        inet 172.17.0.6 --> 172.17.0.5 netmask 0xffffffff
        groups: tun
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        Opened by PID 5311

--=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-274926-7501-JLUeGHNIwc>