LinuxQuestions.org
Review your favorite Linux distribution.
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-24-2009, 10:19 PM   #1
scottgutman
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
VLAN Configuration with Avaya Switch


I am new to VLAN's so hopefully this will be easy.

I am trying to configure a nic in the server to connect to 2 networks, one of which is on vlan2. The card is onboard and lspci -v is below.

The switch is an AVAYA P333T-PWR and is using the native lan for data traffic and vlan 2 for sip traffic.

I have set the ifcfg-vlan2 file as below and ifconfig show both addresses for the native lan (eth0) and vlan2.

The native lan is pingable (is that a word?) when I set the tagging mode to Clear on the AVAYA switch, but VLAN2 is not.

When I set the tagging mode to IEEE-802.1Q, VLAN2 is pingable but the native lan is not. I assume that the switch is forcing something on the native lan packets that should not be there.

We have Grandstream sip phones, which allow us to plug our computers into the phone for network connection. Both native and vlan2 travel the same wire to the switch. The phones and computers work correctly. The AVAYA switch has tagging mode set to clear for the phone ports.

I also tried compiling a new driver direct from realtek, but that made no difference.

What am I missing here?

Thanks in advance.

------------lspci -v-------------------
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 58
I/O ports at c000 [size=256]
Memory at e3410000 (64-bit, prefetchable) [size=4K]
Memory at e3400000 (64-bit, prefetchable) [size=64K]
[virtual] Expansion ROM at e3420000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable+
Capabilities: [70] Express Endpoint IRQ 1
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 78-56-34-12-78-56-34-12

----------ifconfig(removed lo, eth1, eth2)-----------
eth0 Link encap:Ethernet HWaddr 00:1F0:270:09
inet addr:192.168.12.8 Bcast:192.168.12.255 Mask:255.255.255.0
inet6 addr: fe80::21f:d0ff:fe27:d009/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5813 errors:0 dropped:181773725332 overruns:0 frame:0
TX packets:2048 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:571718 (558.3 KiB) TX bytes:365353 (356.7 KiB)
Interrupt:58 Base address:0xa000

vlan2 Link encap:Ethernet HWaddr 00:1F0:270:09
inet addr:192.168.100.8 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::21f:d0ff:fe27:d009/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1120 (1.0 KiB) TX bytes:1728 (1.6 KiB)

-----------ifcfg-eth0-----------
NAME=""
BOOTPROTO=none
HWADDR=00:1F0:270:09
DEVICE=eth0
MTU=""
NETMASK=255.255.255.0
BROADCAST=192.168.12.255
IPADDR=192.168.12.8
NETWORK=192.168.12.0
ONBOOT=yes

----------ifcfg-vlan2----------
VLAN=yes
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
DEVICE=vlan2
PHYSDEV=eth0
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.100.8
NETMASK=255.255.255.0

----------Server----------
Intel Quad Q6600 2.4G x64/8G Ram
Linux Raid w/ 2 sata HD's
CentOS 5.3-2.6.18-128.1.16.el5
 
Old 08-25-2009, 03:05 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
What does your routing table look like. Perhaps you could post the output from:

netstat -nr


Regards,

Fordeck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Layer 2 Switch - use linux as VLAN router to network towme Linux - Networking 11 09-16-2009 01:25 PM
vlan configuration Satya Vani Linux - Networking 0 03-17-2008 07:55 AM
Setting up vLAN Switch kool_kid Linux - Networking 8 02-28-2008 03:37 PM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 03:51 AM
Linux Bridge Vlan Query switch SNMP christopherccv Linux - Networking 2 05-15-2006 11:12 PM


All times are GMT -5. The time now is 11:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration