hi list,

one machine with 4.0

some-machines ----- switch ----- trunk ----- openbsd 4.0

each machine is in an own vlan and will be filtered on the openbsd
machine through a bridge.

from machine1 i do a 
telnet machine2 25

>>>>>> traffic from machine2 to machine1 >>>>>>>

>>> machine2 >>> openbsd em0>>>openbsd vlan2>>>openbsd vlan1>>>openbsd 
em0>>>>>machine1

interesting the packets will not go through the bridge !
but the way back:

>>>>machine1>>>>openbsd em0>>>>openbsd vlan1>>> openbsd bridge0>>>>openbsd 
vlan2>>>> openbsd em0>>>machine2

strange .... in this case i've problems with pf and keep state because the 
packets are using another way.

my bridgeconfig

bridge0: flags=41<UP,RUNNING>
        Configuration:
                priority 32768 hellotime 2 fwddelay 15 maxage 20
        Interfaces:
                vlan1 flags=3<LEARNING,DISCOVER>
                        port 16 ifpriority 128 ifcost 55
                vlan2 flags=3<LEARNING,DISCOVER>
                        port 15 ifpriority 128 ifcost 55
                em0 flags=3<LEARNING,DISCOVER>
                        port 3 ifpriority 128 ifcost 55
        Addresses (max cache: 100, timeout: 10):
                00:d0:b7:9a:33:ec vlan2 1 flags=0<>
                00:15:2b:26:bb:59 em0 0 flags=0<>
                00:02:b3:d2:57:cf vlan1 1 flags=0<>

my vlan config

vlan 1 vlandev em0 up
vlan 2 vlandev em0 up

Thx.

Thomas

Reply via email to