|
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
|