Hi Mike,

That was an interesting idea. Didn't worked however.

Mike Erdely wrote:
On Sun, Feb 22, 2009 at 03:23:27AM -0500, Daniel Ouellet wrote:
# cat hostname.dc0
inet 10.0.1.2 255.255.255.0 NONE media 100baseTX mediaopt full-duplex description Uplink

# cat hostname.dc1
up media 100baseTX mediaopt full-duplex description LAN

# cat bridgename.bridge0
add dc0 add dc1 up

Now, if I try what I think should be logical

ifconfig vlan2 create
ifconfig vlan2 vlandev dc0
ifconfig vlan2 up

brconfig bridge0 add vlan2 up

This is completely untested, but what about this?
# cat /etc/hostname.dc{0,1}
up
up

# cat /etc/hostname.vlan{2,1002}
up vlan 2 vlandev dc0
up vlan 2 vlandev dc1

Here I assume here a typo and it would be

# cat /etc/hostname.vlan{2,1002}
up vlan 2 vlandev dc0
up vlan 1002 vlandev dc1

As you can't have the same vlan with two different parent?

But this would assume the packets would have the header tag with vlan 1002, to enter no?

The use of vlan1002 however is for fddi, witch is not the case here, but was an idea I didn't think of.

I even try, just in case the other 3 standards one, witch I didn't think would work, but worth the try:

1002 fddi-default
1003 token-ring-default
1004 fddinet-default
1005 trnet-default

# cat /etc/bridgename.bridge0
add vlan2 add vlan1002 up

But even if that would have worked. It would have assume the packets coming on dc1 would have had the tag 1002 for them and converted to tag for vlan 2 crossing the bridge, with I sure don't think it the process isn't it? I may be missing something here in my understanding of it, if so, fell free to correct me as I would love to fill the gap this would create.

But the real question is that I should be able to do this right?

I keep beating it without success so far, but if that's not possible to do I would love to know it so that I don't loose what's left of my hair! (;>

Thanks for the interesting suggestion never the less. It was worth the try, to sad that it didn't work.

If you get any other ideas, they are welcome.

I am somewhat stuck.

In bridge mode, all traffic pass but i can't isolate each vlan to filter on them witch I am trying to do.

Best,

Daniel.

Reply via email to