Hi,

Could someone please clarify whether this is an expected behaviour 
on 4.7 ?

I copy pasted a working config from a machine with bge interfaces 
onto one with em interfaces (changing macro references where 
necessary, of course !) and find that VLAN interfaces do not 
inherit their parent bandwidth under an em environment ... i.e. 
"interface vlan10 does not know its bandwidth, please specify an 
absolute bandwidth"


To illustrate :

pf config line : 
altq on $external_port cbq bandwidth 100% queue {q_admin,q_other }
# Tthe macro refers to a VLAN device (e.g. vlan10)


1/ Under BGE it works fine...
# dmesg | grep bge1
bge1 at pci6 dev 2 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 
B0 (0x2100): apic 9 int 2 (irq 5), address 00::53
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
# cat /etc/hostname.bge1                                            
                                                        
description "External Port"
media 100baseTX mediaopt full-duplex
up -inet6
# cat /etc/hostname.vlan10 
description "Internet VLAN"
vlan 1486 vlandev bge1
inet 172.16.155.174 255.255.255.248 NONE
up -inet6
# pfctl -n -f /etc/pf.conf
#

2/ Under em it fails
# dmesg | grep em0
em0 at pci3 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 
0x06: apic 0 int 6 (irq 7), address 00::66
# cat /etc/hostname.em0
description "External Port"
media 100baseTX mediaopt full-duplex
up -inet6
# cat /etc/hostname.vlan10                                          
                                                                    
                                                                    
description "Internet VLAN"
vlan 101 vlandev em0
inet 172.16.65.242 255.255.254.0 NONE
up -inet6
# pfctl -n -f /etc/pf.conf
"interface vlan10 does not know its bandwidth, please specify an 
absolute bandwidth"

Reply via email to