LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 02-22-2010, 02:41 AM   #1
seaquesttr
LQ Newbie
 
Registered: Feb 2010
Posts: 9

Rep: Reputation: 0
Tagged VLAN interface does not allow routing without IP configuration on it


Dear all

I have a Linux Centos EL5 2.6.18-162 kernel.

I have bridge interface and tagged VLAN on it to see some traffic.

I want to enter a routing to define which network is on that VLAN. I could not give IP address from that VLAN, because, VLANs are divided into 4 IP subnets and most of them have no free IP.

bridge-utils-1.1-2
iproute-2.6.18-7.el5
iputils-20020927-43.el5
vconfig-1.9-2.1


what is my problem, here?

# ifconfig br0
br0 Link encap:Ethernet HWaddr 00:0E:0C:C4:AA:E7
inet addr:SOMEIP Bcast:SOMEBCAST Mask:255.255.255.252
inet6 addr: fe80::20e:cff:fec4:aae7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88539199 errors:0 dropped:0 overruns:0 frame:0
TX packets:422429 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:457848874 (436.6 MiB) TX bytes:53152547 (50.6 MiB)


br0.206 Link encap:Ethernet HWaddr 00:0E:0C:C4:AA:E7
inet6 addr: fe80::20e:cff:fec4:aae7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:901504 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:545628196 (520.3 MiB) TX bytes:492 (492.0 b)

# ip link set up dev br0.206

# ip link show | grep br0.206
27: br0.206@br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue

# route add -net 91.93.179.88 netmask 255.255.255.248 dev br0.206
SIOCADDRT: No such device

# ip ro add 91.93.179.88/29 dev br0.206
RTNETLINK answers: No such device

# ip ro sh dev br0.206
NO OUTPUT
 
Old 02-22-2010, 07:02 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,092
Blog Entries: 2

Rep: Reputation: 109Reputation: 109
I think you need to have the vlans on the ethernet interfaces and then bridge them together rather than trying to vlan a bridge interface.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shorewall, vlan routing alitabas Linux - Networking 3 09-07-2012 07:23 PM
Help in Vlan-Interface Paris Heng Linux - Networking 1 03-02-2009 05:20 PM
Traffic Control with tc qdiscs and tc filter on VLAN tagged network amandler Linux - Networking 2 10-23-2008 11:02 AM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 02:51 AM
VLAN Routing teamchachi Linux - Networking 0 06-14-2005 09:54 AM


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