Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 12:36:38 +0400
From:      "Alexey Karagodov" <karagodov@gmail.com>
To:        "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru>
Cc:        glebius@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: em (+pf+vlan+bridge+netgraph) stop sending packets (?)
Message-ID:  <c7aff4ef0604200136i455304b3s8f77d84303f5fcc8@mail.gmail.com>
In-Reply-To: <D6B2C454E5A77B4D8DA0B863D3D6D492CC2FCE@demon.hhp.local>
References:  <D6B2C454E5A77B4D8DA0B863D3D6D492CC2FCE@demon.hhp.local>

next in thread | previous in thread | raw e-mail | index | archive | help

try enabling pormisc mode on vlans

19.04.06, Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> ΞΑΠΙΣΑΜ(Α):
>
> I run a 6.1-RC (as of Apr, 14th) and after a day nothing can be sent from
> em interface.
>
> It is a filtering+accounting bridge-on-a-stick, with em interface
> connected to 3Com Switch 4200 100Mbit (not Gbit) port with 4 tagged vlans on
> it:
>
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> hostname="XXXX.gfk.ru"
> defaultrouter="10.X.X.X"
> ifconfig_sis0="10.X.X.X/24"
> ifconfig_em0="up"
> cloned_interfaces="vlan0 vlan1 vlan2 vlan3 bridge0 bridge1"
> ifconfig_vlan0="84.X.X.X/28 vlan 21 vlandev em0 up"
> ifconfig_vlan1="vlan 22 vlandev em0 up"
> ifconfig_bridge0="addm vlan0 addm vlan1 up"
> ifconfig_vlan2="217.X.X.X/29 vlan 31 vlandev em0 up"
> ifconfig_vlan3="vlan 32 vlandev em0 up"
> ifconfig_bridge1="addm vlan2 addm vlan3 up"
> syslogd_flags="-ss"
>
> sshd_enable="YES"
> ipsec_enable="YES"
> pf_enable="YES"
> pf_rules="/etc/pf.freeroute"
> pflog_enable="YES"
>
> and kernel is GENERIC with unused hardware removed and
>
> ####
> options         DEVICE_POLLING
> options         IPSEC
> options         IPSEC_ESP
> options         IPSEC_FILTERGIF
>
> device          vlan
> device          pf
> device          pflog
> device          pfsync
> device          if_bridge
>
> # altq(9). Enable the base part of the hooks with the ALTQ option.
> # also have the ALTQ_NOPCC option.
> options         ALTQ
> options         ALTQ_CBQ        # Class Bases Queueing
> options         ALTQ_RED        # Random Early Detection
> options         ALTQ_RIO        # RED In/Out
> options         ALTQ_HFSC       # Hierarchical Packet Scheduler
> options         ALTQ_CDNR       # Traffic conditioner
> options         ALTQ_PRIQ       # Priority Queueing
> options         ALTQ_NOPCC      # Required for SMP build
> #options        ALTQ_DEBUG
>
> added.
>
> em0 is
> em0@pci0:10:0:  class=0x020000 card=0x002e8086 chip=0x100e8086 rev=0x02
> hdr=0x00
>    vendor   = 'Intel Corporation'
>    device   = '82540EM Gigabit Ethernet Controller'
>    class    = network
>    subclass = ethernet
>
> em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port
> 0xb400-0xb43f mem 0xd7ea0000-0xd7ebffff,0xd7e80000-0xd7e9ffff irq 18 at
> device 10.0 on pci0
> em0: [GIANT-LOCKED]
> em0: Ethernet address: 00:07:e9:09:c2:3d
>
> Polling was not used (I'll try to work with polling enabled on em0).
>
> ALTQ is not configured, pf has all block rules logged and I can't see
> anything relevant logged to pflog.
>
> This machine also use netgraph netflow for traffic accounting on vlan
> interfaces, but shutting down all netgraph nodes does not help.
>
> Turning vlans, bridge and em down and up does not help too.
>
> Traffic is received (I can see pairs of OSPF HELO messages from ISP router
> logged on pflog0 exactly every 10 seconds), but it looks like nothing can be
> sent.
>
> Yuriy Tsibizov,
> GfK RUS
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7aff4ef0604200136i455304b3s8f77d84303f5fcc8>