回复: Re: [VLAN] How to support interface vlan trunk

liang jian liang_7902 at yahoo.com.cn
Wed Aug 1 07:19:08 PDT 2007


Thanks ALL
   
  I tested bridge eth0 and eth1 , LAN2 and LAN3 can pass to box.
  but I saw some firewall system , do it like blow:
   
  Firewall(config-if)# vlan trunk
  ......
   
  it like on eth1 and eth0 only do trunk protocol only ,  didn't bridge or other

Jonathan Petersson <jpetersson at mysql.com> 写道:
  Ard van Breemen wrote:
> On Wed, Aug 01, 2007 at 11:19:53AM +0200, Jonathan Petersson wrote:
> 
>> I recently did a similar installation, effectively, provided that LAN 2
>> and 3 are tagged to eth0 in the switch and the same for eth1 it's enough
>> to activate
>> sysctl net.ipv4.ip_forward=1
>> 
>
> Unless he expects LAN2 to be bridged to LAN2 :-).
> I was thinking about creating a bridge between eth0.2 and eth1.2,
> and between eth0.3 and eth1.3, and route the bridge interfaces.
> 
I was thinking about that as well, but based on his question I cannot 
really tell if that was what he wanted.

Iiang, if you want to do the bridge look into brctl

To add:

brctl addbr br0
brctl addif br0 eth0.2
brctl addif br0 eth1.2

brctl addbr br1
brctl addif br1 eth0.3
brctl addif br1 eth1.3

To take down:

brctl delbr br0
brctl delbr br1
> Anyway, with this suggestion added, it should be rather easy to
> envision a good solution :-). Or better: to know what to ask next
> :-).
>
> _______________________________________________
> Vlan mailing list
> Vlan at candelatech.com
> http://www.candelatech.com/mailman/listinfo/vlan
> 


-- 
-----------------------------------------------------------------------
__ ___ ___ ____ __ Jonathan Petersson, Systems Administrator
/ |/ /_ __/ __/ __ \/ / Mobile SWE: +46 732 00 1678
/ /|_/ / // /\ \/ /_/ / /__ Phone SWE: +46 18 17 44 31
/_/ /_/\_, /___/\___\_\___/ Mobile US: +1 408 931 3994
<___/ www.mysql.com Phone US: +1 408 213 6790
-----------------------------------------------------------------------
(I'm currently located in Sweden but travels frequently to the US,
unless I answer my Swedish phones please try the US ones)

Are you MySQL certified? www.mysql.com/certification



       
---------------------------------
 雅虎免费邮箱3.5G容量,20M附件!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns2.lanforge.com/pipermail/vlan/attachments/20070801/3e41c63a/attachment.html


More information about the Vlan mailing list