Sorry for the picture ;o)
simpler one
gigabit switch with tagged vlans
|
trunk0
|
em0+em1
|
tagged vlans on OpenBSD 3.8
;o)
Peter Huncar wrote / napmsal(a):
Hello list
I have the following configuration
+--- vlan0|------------
--- em0 ---+ +--- vlan1|
+--- trunk0 ----+--- vlan2| OpenBSD 3.8
--- em1 ---+ +--- vlan3|
+--- vlan4|------------
And I have the following question.
I can set higher MTU on em0, em1 an the vlans and it was ok before I
configured the trunk. The vlans were assigned to physical interfaces
separately before. Now I'm unable to set higher MTU on trunk0 and also I
get:
vlan0: initialized with non-standard mtu 1496 (parent trunk0)
vlan1: initialized with non-standard mtu 1496 (parent trunk0)
vlan2: initialized with non-standard mtu 1496 (parent trunk0)
vlan3: initialized with non-standard mtu 1496 (parent trunk0)
vlan4: initialized with non-standard mtu 1496 (parent trunk0)
every time I initialize my network. However, it is still working.
Is there a problem of setting higher MTUs on trunk interfaces?
*****
Another question. I was wondering how should I configure PF.
I am filtering traffic now on vlan interfaces and trunk0 interface,
because if I don't pass packets on the trunk interface, all traffic will
be blocked although I pass it on vlan ifs. I don't have any rule
regarding the physical ifs (em0 em1) in pf.conf.
If I set skip on trunk0, is it still possible to filter on vlans?
Or do you have any other suggestion? I need to filter only on the vlan
interfaces.
Thank you
Peter Huncar