tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mcx(4) and bridge(4)
On Fri, Apr 11, 2025 at 07:28:25PM +0200, Hauke Fath wrote:
> On 4/11/25 19:12, Manuel Bouyer wrote:
> > I'd say the mcx driver fails to receive packets that are not for
> > its owm mac address. Maybe an issue with promiscious mode.
>
> That sounds plausible. mcx0 claims it's running in promiscuous mode, though.
>
> > What does ifconfig in the dom0 say ?
>
> % ifconfig mcx0
> mcx0: flags=0x8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> capabilities=0x3ff00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
> capabilities=0x3ff00<UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx>
> capabilities=0x3ff00<UDP6CSUM_Rx,UDP6CSUM_Tx>
> enabled=0x3ff00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
> enabled=0x3ff00<UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx>
> enabled=0x3ff00<UDP6CSUM_Rx,UDP6CSUM_Tx>
> ec_capabilities=0x7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
> ec_enabled=0x1<VLAN_MTU>
> address: 98:03:9b:0e:f0:32
> media: Ethernet autoselect (10GBASE-CR1 full-duplex)
> status: active
> inet6 fe80::9a03:9bff:fe0e:f032%mcx0/64 flags 0 scopeid 0x1
> % ifconfig vlan2
> vlan2: flags=0x8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> capabilities=0x3ff00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
> capabilities=0x3ff00<UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx>
> capabilities=0x3ff00<UDP6CSUM_Rx,UDP6CSUM_Tx>
> enabled=0
> vlan: 2 parent: mcx0
> address: 98:03:9b:0e:f0:32
> status: active
> inet6 fe80::9a03:9bff:fe0e:f032%vlan2/64 flags 0 scopeid 0x6
> inet 130.83.AA.BB/27 broadcast 130.83.AA.CC flags 0
Looks good; next I would run tcpdump -p on mcx0 and then vlan2;
and see if the packets for the domU shows up here. If not, then try again
without -p
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index