OpenVZ Forum


Home » General » Support » Host and Guest connected, but guest has no LAN access.
Host and Guest connected, but guest has no LAN access. [message #50830] Wed, 13 November 2013 01:02 Go to next message
Zuiko is currently offline  Zuiko
Messages: 2
Registered: November 2013
Junior Member
Hi I've installed OpenVZ on a Scientific Linux 6.4 base. This itself is a guest running on Hyper-V.

The host system has full network connectivity with ipv4 and ipv6.

The host has an eth0 and a bridge br0 and the bridge is connected as above with ipv4 and 6 to LAN and Internet. It's address is 10.0.0.120

The guest on the other hand which has eth0 and IP 10.0.0.121 has network connection only to the host. I can ping the host but nothing on the LAN or the internet.

The host has a veth100.0 device on the functioning br0 bridge and this is as I understand it correct for a setup where you want host and guests on your own wider LAN.

I've disabled iptables on host and guest by service iptables stop. Still doesn't work so it doesn't seem like a firewall issue.

All my tools are the latest. What is the problem?

Tcpdump appears to see traffic on eth0 in the guest... Sample output:

root@proxysrv /]# tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
02:26:34.999736 IP 10.0.0.4.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 68:05:ca:01:f0:ef (oui Unknown), length 300
02:26:35.000007 IP 10.0.0.121.36835 > 10.0.0.4.domain: 6689+ PTR? 255.255.255.255.in-addr.arpa. (46)
02:26:35.196304 IP 10.0.0.3.45931 > 10.0.0.255.32412: UDP, length 21
02:26:35.196306 IP 10.0.0.3.37428 > 10.0.0.255.32414: UDP, length 21
02:26:35.656911 ARP, Request who-has 10.0.0.2 tell 10.0.0.88, length 46
02:26:36.554665 IP 10.0.0.42.mdns > 224.0.0.251.mdns: 0*- [0q] 1/0/0 TXT "model=N78AP" (72)
02:26:36.555148 IP6 fe80::c5c:f8b:5769:b446.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 TXT "model=N78A
02:26:37.403763 IP 10.0.0.42.mdns > 224.0.0.251.mdns: 0*- [0q] 1/0/0 TXT "model=N78AP" (72)
02:26:37.413960 IP6 fe80::c5c:f8b:5769:b446.mdns > ff02::fb.mdns: 0*- [0q] 1/0/0 TXT "model=N78A
02:26:37.617918 IP6 fe80::8a1f:a1ff:fe29:76ab.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
02:26:37.708637 ARP, Request who-has 10.0.0.2 tell 10.0.0.88, length 46
02:26:38.192764 ARP, Request who-has 10.0.0.72 tell 10.0.0.100, length 46
^C02:26:38.331287 IP6 fe80::de9f:dbff:fe80:70ab > ff02::1: ICMP6, router advertisement, length 56

13 packets captured
491 packets received by filter
448 packets dropped by kernel
[root@proxysrv /]#
[root@proxysrv /]# ip rule list
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
[root@proxysrv /]#



Seems like a lot of dropped packets but I know nothing about the tool apart from what I read in the sticky at the top.

[Updated on: Wed, 13 November 2013 07:35]

Report message to a moderator

Re: Host and Guest connected, but guest has no LAN access. [message #50831 is a reply to message #50830] Wed, 13 November 2013 07:42 Go to previous message
Zuiko is currently offline  Zuiko
Messages: 2
Registered: November 2013
Junior Member
Just another tcpdump this time from the host.

root@openvz ~]# tcpdump -i br0 -e host 10.0.0.121
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes
02:39:37.651134 dc:9f:db:80:70:ab (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 10.0.0.121 tell 10.0.0.2, length 46
02:39:37.651149 00:18:51:f9:3b:88 (oui Unknown) > dc:9f:db:80:70:ab (oui Unknown), ethertype ARP (0x0806), length 42: Reply 10.0.0.121 is-at 00:18:51:f9:3b:88 (oui Unknown), length 28
02:39:38.651179 dc:9f:db:80:70:ab (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 10.0.0.121 tell 10.0.0.2, length 46
02:39:38.651188 00:18:51:f9:3b:88 (oui Unknown) > dc:9f:db:80:70:ab (oui Unknown), ethertype ARP (0x0806), length 42: Reply 10.0.0.121 is-at 00:18:51:f9:3b:88 (oui Unknown), length 28
02:39:39.651184 dc:9f:db:80:70:ab (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 10.0.0.121 tell 10.0.0.2, length 46
02:39:39.651193 00:18:51:f9:3b:88 (oui Unknown) > dc:9f:db:80:70:ab (oui Unknown), ethertype ARP (0x0806), length 42: Reply 10.0.0.121 is-at 00:18:51:f9:3b:88 (oui Unknown), length 28
02:39:41.648685 dc:9f:db:80:70:ab (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 10.0.0.121 tell 10.0.0.2, length 46
02:39:41.648696 00:18:51:f9:3b:88 (oui Unknown) > dc:9f:db:80:70:ab (oui Unknown), ethertype ARP (0x0806), length 42: Reply 10.0.0.121 is-at 00:18:51:f9:3b:88 (oui Unknown), length 28
02:39:42.648676 dc:9f:db:80:70:ab (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 10.0.0.121 tell 10.0.0.2, length 46
02:39:42.648687 00:18:51:f9:3b:88 (oui Unknown) > dc:9f:db:80:70:ab (oui Unknown), ethertype ARP (0x0806), length 42: Reply 10.0.0.121 is-at 00:18:51:f9:3b:88 (oui Unknown), length 28
02:39:43.648702 dc:9f:db:80:70:ab (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 10.0.0.121 tell 10.0.0.2, length 46
02:39:43.648711 00:18:51:f9:3b:88 (oui Unknown) > dc:9f:db:80:70:ab (oui Unknown), ethertype ARP (0x0806), length 42: Reply 10.0.0.121 is-at 00:18:51:f9:3b:88 (oui Unknown), length 28
^C
12 packets captured
14 packets received by filter
0 packets dropped by kernel


This output after trying to ping the guest 10.0.0.121 from 10.0.0.2.

home:~$ ping 10.0.0.121
PING 10.0.0.121 (10.0.0.121) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable
From 10.0.0.2 icmp_seq=3 Destination Host Unreachable
From 10.0.0.2 icmp_seq=4 Destination Host Unreachable
^C
--- 10.0.0.121 ping statistics ---
7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5996ms
pipe 3

[Updated on: Wed, 13 November 2013 07:46]

Report message to a moderator

Previous Topic: Get the bandwidth limit of a container from within it?
Next Topic: DHCP not working on host boot
Goto Forum:
  


Current Time: Tue Jan 14 06:40:16 GMT 2025

Total time taken to generate the page: 0.04712 seconds