GVRP Support in Linux Kernel 2.6.39 version
Hi,
I have Linux Kernel 2.6.39.4 installed on my machine. When I try to create a new VLAN with GVRP Protocol option, it gives me an error as mentioned below. Need help in the regard.
Also, I tried to identify the relevant code base or file name which may be throwing this error but could not identify that as well. Please help me in this regard.
# uname -r
2.6.39.4
# ip link add link eth2 eth2.8 type vlan id 8 gvrp on
vlan: what is "gvrp"?
Usage: ... vlan id VLANID [ FLAG-LIST ]
[ ingress-qos-map QOS-MAP ] [ egress-qos-map
QOS-MAP ]
VLANID := 0-4095
FLAG-LIST := [ FLAG-LIST ] FLAG
FLAG := [ reorder_hdr { on | off } ]
QOS-MAP := [ QOS-MAP ] QOS-MAPPING
QOS-MAPPING := FROM:TO
But, when I tried the same command on another machine with Linux Kernel 3.1.0 (Linux Fedora FC12) version, it works fine. Please find the output below,
# uname -a
Linux localhost.localdomain 3.1.0-7.fc16.i686.PAE #1 SMP Tue Nov 1 20:53:45 UTC 2011 i686 i686 i386 GNU/Linux
# ip link add link em1 em1.103 type vlan id 103 gvrp on loose_binding on
# ip link set em1.103 up
# ifconfig
em1 Link encap:Ethernet HWaddr 00:0D:56:5B:32:6D
inet addr:10.75.15.161 Bcast:10.75.15.255 Mask:255.255.255.0
inet6 addr: fe80::20d:56ff:fe5b:326d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:677869 errors:5 dropped:0 overruns:0 frame:0
TX packets:473860 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:419529909 (400.0 MiB) TX bytes:55092031 (52.5 MiB)
Interrupt:17
em1.103 Link encap:Ethernet HWaddr 00:0D:56:5B:32:6D
inet6 addr: fe80::20d:56ff:fe5b:326d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:258 (258.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6745 errors:0 dropped:0 overruns:0 frame:0
TX packets:6745 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:584472 (570.7 KiB) TX bytes:584472 (570.7 KiB)
p2p1 Link encap:Ethernet HWaddr 00:1C:F0:94:A5:AC
UP 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x8e00
p3p1 Link encap:Ethernet HWaddr 00:1B:112:24:BC
inet6 addr: fe80::21b:11ff:fec2:24bc/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:178 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27249 (26.6 KiB) TX bytes:9829 (9.5 KiB)
Interrupt:18 Base address:0xef00
virbr0 Link encap:Ethernet HWaddr 52:54:002:4B:4E
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP 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)
Regards,
Gagan
|