[Bridge] vlan and bond integration in bridge

Lv Zheng lv.zheng at soliton.com.cn
Tue Jan 6 17:53:39 PST 2009


>> vconfig set_name_type DEV_PLUS_VID_NO_PAD

I made a mistake here. As we want single
management interface per VLAN (single L3
management address per VLAN, we will run
single L3 authentication service instance
-- such as DHCP -- per VLAN), we tried
VLAN_PLUS_VID_NO_PAD.

Using name_type as DEV_PLUS_VID or
DEV_PLUS_VID_NO_PAD will end up without
failures, but we will get tow management
interface for single VLAN: eth0.1/eth1.1

Failure screen shot is as follows:

root at zlv:/root# vconfig set_name_type VLAN_PLUS_VID_NO_PAD
Set name-type for VLAN subsystem. Should be visible
in /proc/net/vlan/config
root at zlv:/root# vconfig add eth0 1
Added VLAN with VID == 1 to IF -:eth0:-
WARNING:  VLAN 1 does not work with many switches,
consider another number if you have problems.
root at zlv:/root# vconfig add eth1 1
ERROR: trying to add VLAN #1 to IF -:eth1:-  error: Invalid argument
root at zlv:/root# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:17:05:4F
          inet addr:192.168.100.100  Bcast:192.168.100.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:495 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:51480 (50.2 KiB)  TX bytes:4333 (4.2 KiB)
          Interrupt:169 Base address:0xd800

eth1      Link encap:Ethernet  HWaddr 00:14:2A:DE:A9:FC
          inet addr:10.241.110.78  Bcast:10.241.110.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8204 errors:0 dropped:0 overruns:0 frame:0
          TX packets:501 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1244653 (1.1 MiB)  TX bytes:40928 (39.9 KiB)
          Interrupt:177 Base address:0xd400

vlan1     Link encap:Ethernet  HWaddr 00:E0:4C:17:05:4F
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Best regards/Zetalog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090107/57ce8212/attachment.htm 


More information about the Bridge mailing list