LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2012, 03:45 AM   #1
s_gagan
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Rep: Reputation: Disabled
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
 
Old 08-13-2012, 08:16 AM   #2
s_gagan
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
GVRP Support in Linux Kernel 2.6.39

Please help and post your responses to the query. Thanks in advance.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GVRP Support in Linux Kernel 2.6.39 version s_gagan Programming 1 08-06-2012 08:32 AM
Which version of kernel support all SATA drives ? mocqueanh Linux - Newbie 12 12-31-2007 08:47 AM
linux wireless support in which kernel version? kpachopoulos Linux - Wireless Networking 1 10-25-2005 04:34 PM
Which Kernel version support dual processor? r_akarach Debian 1 12-21-2004 08:25 PM
initrd support for kernel version 2.4.22 hangover Linux - Newbie 2 12-16-2003 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration