Multiple VLANS in VE doesn't work? <SOLVED> [message #33476] |
Thu, 16 October 2008 07:02 |
januszzz
Messages: 50 Registered: January 2007 Location: Opole, Poland
|
Member |
|
|
Hi,
I've created single VLANs in VE, the problem is I cannot setup the second.
My config:
HN:
eth0.980 10.0.0.254
eth0.990 10.0.1.254
VE:
eth0.980 10.0.0.2
eth0.990 10.0.1.2*
*when I configure the second vlan on eth1 (the next veth interface) tcpdump output is the same.
The problem: VLAN 980 works perfectly, while 990 - is not. When I switch them, 990 works 100%, 980 not. So it appears that only first vlan works ok.
What works in first vlan: everything, 100% works as expected.
What works in second vlan: I can ping HN vlan devices (so its 10.0.0.254 10.0.1.254), I can ping all hosts in 10.0.0.0/24.
What doesn't work: I cannot ping anything from vlan 990 (so its 10.0.1.0/24) except HN interface 10.0.0.254.
while pinging, tcpdump on HN gives:
09:50:19.105190 IP 10.0.1.2 > 10.0.0.1: ICMP echo request, id 53822, seq 46, length 64
How I resolve that?
And one more question: if I've got two vlans with the same class of addresses I'm not able to setup proper routes on HN (ie. the same ip can exists in 2 different places), am I right?
[Updated on: Thu, 18 December 2008 07:21] Report message to a moderator
|
|
|
|
Re: Multiple VLANS in VE doesn't work? [message #34211 is a reply to message #33476] |
Sun, 14 December 2008 22:10 |
|
I have problem with VLAN's too.. I have to set up an IP adress for every VLAN in HE, and that wastes 1 IP address per VLAN...and I'm quite limited with avaliable IP addresses. So, I'm wondering, is there a way to set up VE in one VLAN, in the way that HE does not have IP in that VLAN?
bond0 Link encap:Ethernet HWaddr 00:14:4F:8D:7C:CE
inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:104585 errors:0 dropped:0 overruns:0 frame:0
TX packets:6031 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7161726 (6.8 MiB) TX bytes:855520 (835.4 KiB)
bond0.46 Link encap:Ethernet HWaddr 00:14:4F:8D:7C:CE
inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:69831 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:3396478 (3.2 MiB) TX bytes:468 (468.0 b)
bond0.95 Link encap:Ethernet HWaddr 00:14:4F:8D:7C:CE
inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:8675 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:651432 (636.1 KiB) TX bytes:468 (468.0 b)
bond0.203 Link encap:Ethernet HWaddr 00:14:4F:8D:7C:CE
inet addr:192.168.0.157 Bcast:192.168.0.159 Mask:255.255.255.248
inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:6201 errors:0 dropped:0 overruns:0 frame:0
TX packets:5997 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:477470 (466.2 KiB) TX bytes:797520 (778.8 KiB)
bond0.617 Link encap:Ethernet HWaddr 00:14:4F:8D:7C:CE
inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:5128 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:238486 (232.8 KiB) TX bytes:468 (468.0 b)
eth0 Link encap:Ethernet HWaddr 00:14:4F:8D:7C:CE
inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:89835 errors:0 dropped:0 overruns:0 frame:0
TX packets:6027 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6021556 (5.7 MiB) TX bytes:855368 (835.3 KiB)
Interrupt:106 Base address:0xa000
eth1 Link encap:Ethernet HWaddr 00:14:4F:8D:7C:CE
inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:14750 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1140170 (1.0 MiB) TX bytes:492 (492.0 b)
Interrupt:114 Base address:0xc000
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP 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)
So, how to set up VE to have an address in for example VLAN95 (bond0.95 device)?
|
|
|
|
|
|
|
|
|