atom feed2 messages in org.freebsd.freebsd-ispDummynet,VLAN and CARP broken??
FromSent OnAttachments
Tyr...@TelecityRedbus.seOct 6, 2006 2:45 am 
Tyr...@TelecityRedbus.seOct 6, 2006 3:37 am 
Subject:Dummynet,VLAN and CARP broken??
From:Tyr...@TelecityRedbus.se (Tyr@TelecityRedbus.se)
Date:Oct 6, 2006 3:37:18 am
List:org.freebsd.freebsd-isp

I found out that you still need to let carp packets through even though all you doing is traffic shaping

So ipfw add 1 allow carp from any to any

Did the trick for me

Regards

tyrone

-----Original Message----- From: owne@freebsd.org [mailto:owne@freebsd.org] On Behalf Of Tyr@TelecityRedbus.se Sent: den 6 oktober 2006 11:46 To: free@freebsd.org; free@freebsd.org Subject: Dummynet,VLAN and CARP broken??

Hi

Running FreeBSD6.1-RC Kernel compiled with the following

options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent proxy options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by options IPDIVERT #divert sockets options DUMMYNET options BRIDGE options HZ=1000 options FAST_IPSEC options TCP_SIGNATURE device crypto device cryptodev device carp

Problem is with the CARP addresses staying in the "master" "master" position when I have dummynet stripping bandwidth on that vlan. I take the dummnet config away then the carp interfaces go to "master" and "backup" as required.

My dummynet configs look like this

ipfw pipe 100 config bw 10500Kbit/s #setup shaping pipes 10Mbit ipfw queue 1 config pipe 100 weight 100 ipfw queue 2 config pipe 100 weight 100 ipfw add 1000 queue 1 ip from any to any in via vlan148 ipfw add 1000 queue 2 ip from any to any out via vlan148

I have an open FW so no carp message should be blocked is dummynet broken?

Regards