LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-27-2009, 06:16 AM   #1
julian924s
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
weird vlan error


Hi - trying to add an additional vlan to an interface that already has several vlans configured and getting a strange error / result. Its a Centos 5.2 server. Never had a problem doing this before but I'm getting some bizzare results:

So trying to add eth1.2131:

cat ifcfg-eth1.2131
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth1.2131
BOOTPROTO=static
IPADDR=10.15.15.251
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
VLAN=yes

If I do a network restart ALL other vlans come up but this one errors with:

Bringing up interface eth1.2131: Device eth1.2131 does not seem to be present, delaying initialization.
[FAILED]



If I look in /proc/net/vlan/config the entry for vlan 2131 is wrong:

VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth1.900 | 2131 | eth1


Vlan 900 was previously configured on this server but I've since disabled this with "ONBOOT=no" and rebooted the server, so no idea why it's still picking this up?

Trying to add the vlan manually also fails:

vconfig add eth1 2131
ERROR: trying to add VLAN #2131 to IF -:eth1:- error: Invalid argument


Any help would be appreciated.

Thanks - J.
 
Old 05-28-2009, 03:36 PM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Not sure if this will help, but I've seen some kit that has a problem with VLAN numbers above 1023. Theoretically 802.1q supports 4096 Vlans, but the implementations are not always 100%. Try setting up lower numbers and see what happens.

Cheers
 
  


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
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 02:51 AM
WEIRD ERROR during install... greg_mdm Mandriva 1 12-21-2005 11:33 PM
Weird X error AMMullan Red Hat 3 11-22-2003 08:11 PM
Weird error demonfi Linux - Newbie 1 08-16-2003 01:35 PM
Weird error help! please Devboy Linux - Software 9 08-01-2003 08:56 PM

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

All times are GMT -5. The time now is 07:36 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