>> 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@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@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@zlv:/root# vconfig add eth1 1
ERROR: trying to add VLAN #1 to IF -:eth1:- error: Invalid argument
Set name-type for VLAN subsystem. Should be visible
in /proc/net/vlan/config
root@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@zlv:/root# vconfig add eth1 1
ERROR: trying to add VLAN #1 to IF -:eth1:- error: Invalid argument
root@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
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
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)
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
_______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge