G
goomisch
Guest
Hello,
I'm new on this forum. I'm trying configure OpenVZ containers with VLAN support. I've read a lot posts on this forum and on OpenVZ project page. I made configuration and it not work.
When I ping gateway from CT machine I've got " Destination Host Unreachable", but when I'm checking at router, ARP for CT's IP is properly installed.
Configuration my interface file on host machine:
And CT :
Probably I've made some small error, but I have no idea where. It looks like CT machine is not receving ARP answer and not install ARP in his cache.
Thanks in advandce.
Marcin
I'm new on this forum. I'm trying configure OpenVZ containers with VLAN support. I've read a lot posts on this forum and on OpenVZ project page. I made configuration and it not work.
When I ping gateway from CT machine I've got " Destination Host Unreachable", but when I'm checking at router, ARP for CT's IP is properly installed.
Code:
Ping from CT
root@test:/# ping 10.1.1.97
PING 10.1.1.97 (10.1.1.97) 56(84) bytes of data.
From 10.1.1.100 icmp_seq=2 Destination Host Unreachable
From 10.1.1.100 icmp_seq=3 Destination Host Unreachable
From 10.1.1.100 icmp_seq=4 Destination Host Unreachable
^C
--- 10.1.1.97 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
ARP table on L3 switch
Switch#sh arp | i Vlan2
Internet 10.1.1.97 - e05f.b91e.0343 ARPA Vlan2
Internet 10.1.1.98 9 0015.6536.7c68 ARPA Vlan2
Internet 10.1.1.100 0 b8ac.6fc8.26f0 ARPA Vlan2
Internet 10.1.1.101 0 000e.998e.0369 ARPA Vlan2
Tcpdump on host machine, is visible ARP request and answer with IP.
root@test-prmx:~# tcpdump -e -ni eth0 vlan 2
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
18:59:19.792154 b8:ac:6f:c8:26:f0 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 2, p 0, ethertype ARP, Request who-has 10.1.1.97 tell 10.1.1.100, length 28
18:59:19.793022 e0:5f:b9:1e:03:43 > b8:ac:6f:c8:26:f0, ethertype 802.1Q (0x8100), length 64: vlan 2, p 0, ethertype ARP, Reply 10.1.1.97 is-at e0:5f:b9:1e:03:43, length 46
Configuration my interface file on host machine:
Code:
root@test-prmx:~# more /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet static
address 0.0.0.0
netmask 0.0.0.0
auto vmbr0
iface vmbr0 inet static
address 10.1.1.89
netmask 255.255.255.224
gateway 10.1.1.65
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto eth0.2
iface eth0.2 inet static
address 0.0.0.0
netmask 0.0.0.0
auto vmbr2
iface vmbr2 inet manual
bridge_ports eth0.2
bridge_stp off
bridge_fd 0
And CT :
Code:
root@test:/# more /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.1.1.100
netmask 255.255.255.248
gateway 10.1.1.97
Probably I've made some small error, but I have no idea where. It looks like CT machine is not receving ARP answer and not install ARP in his cache.
Thanks in advandce.
Marcin