WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Can only ping dom0

To: "'xen-users@xxxxxxxxxxxxxxxxxxx'" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Can only ping dom0
From: Jon Reynolds <jonr@xxxxxxxxxx>
Date: Sun, 10 Feb 2008 22:26:10 -0900
Delivery-date: Sun, 10 Feb 2008 23:26:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47AFBAC3.20402@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47AFBAC3.20402@xxxxxxxxxx>
Reply-to: jonr@xxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071031)
Jon Reynolds wrote:
Hello,

I have installed xen-3.2.0 and I cannot ping anything other than the dom0. And dom0 can ping domU but domU can't ping anything else. Did I miss something in the switch to 3.2? I have read where xenbr0 is no longer needed is there something special I need to add to my vif = statement in the config file?

Thanks for any help,

Jon

Horrible post, let me add some information. When I try to ping from domU to a host on my network and running tcpdump, I see the request and replies. But I never see them on domU and when I ctrl+c the ping it reports 100% packet loss. Here is a sample of what I am seeing:

Ping from DomU to laptop on same subnet:

TCPDUMP on dom0:
tcpdump -i eth0 not port ssh
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
22:22:01.700884 arp who-has jr-laptop.destar.net tell 192.168.9.52
22:22:01.704598 arp reply jr-laptop.destar.net is-at 00:10:a4:8e:97:ec (oui Unknown) 22:22:01.704726 IP 192.168.9.52 > jr-laptop.destar.net: ICMP echo request, id 61193, seq 0, length 64 22:22:01.700909 IP jr-laptop.destar.net > 192.168.9.52: ICMP echo reply, id 61193, seq 0, length 64

TCPDUMP on laptop:
tcpdump host 192.168.9.52
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
22:21:10.434495 arp who-has nevaehlt.destar.net tell 192.168.9.52
22:21:10.436531 arp reply nevaehlt.destar.net is-at 00:10:a4:8e:97:ec (oui Unkno wn) 22:21:10.434743 IP 192.168.9.52 > nevaehlt.destar.net: ICMP echo request, id 611 93, seq 0, length 64 22:21:10.434882 IP nevaehlt.destar.net > 192.168.9.52: ICMP echo reply, id 61193 , seq 0, length 64 22:21:11.428076 IP 192.168.9.52 > nevaehlt.destar.net: ICMP echo request, id 611 93, seq 256, length 64 22:21:11.428220 IP nevaehlt.destar.net > 192.168.9.52: ICMP echo reply, id 61193 , seq 256, length 64

PING REPORT on DomU:
ping 192.168.9.34
PING 192.168.9.34 (192.168.9.34): 56 data bytes
--- 192.168.9.34 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


Dom0:

IFCONFIG:
eth0      Link encap:Ethernet  HWaddr 00:01:02:2C:05:99
          inet addr:192.168.9.51  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::201:2ff:fe2c:599/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3452 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1565 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2097661 (2.0 Mb)  TX bytes:168161 (164.2 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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)

peth0     Link encap:Ethernet  HWaddr 00:01:02:2C:05:99
          inet6 addr: fe80::201:2ff:fe2c:599/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3484 errors:0 dropped:0 overruns:3 frame:0
          TX packets:1632 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2154608 (2.0 Mb)  TX bytes:174195 (170.1 Kb)
          Interrupt:5 Base address:0xe000

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:55 errors:0 dropped:0 overruns:0 frame:0
          TX packets:119 errors:0 dropped:6 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:3914 (3.8 Kb)  TX bytes:7908 (7.7 Kb)

BRCTL SHOW:
bridge name     bridge id               STP enabled     interfaces
eth0            8000.0001022c0599       no              peth0
                                                        vif1.0

ETHTOOL:
ethtool -k eth0
Offload parameters for eth0:
Cannot get device rx csum settings: Operation not supported
rx-checksumming: off
tx-checksumming: on
scatter-gather: off
tcp segmentation offload: off

ethtool -k peth0
Offload parameters for peth0:
Cannot get device rx csum settings: Operation not supported
Cannot get device tx csum settings: Operation not supported
Cannot get device scatter-gather settings: Operation not supported
Cannot get device tcp segmentation offload settings: Operation not supported
no offload info available

LSMOD:
lsmod
Module                  Size  Used by
xt_physdev              7312  1
bridge                 61468  1 xt_physdev
ipv6                  280608  14
xt_tcpudp               7680  1
xt_state                6400  1
iptable_mangle          7040  0
iptable_nat            12164  0
ip_nat                 22700  1 iptable_nat
iptable_filter          7168  1
ip_conntrack_ftp       12656  0
ip_conntrack           59104  4 xt_state,iptable_nat,ip_nat,ip_conntrack_ftp
nfnetlink              11288  2 ip_nat,ip_conntrack
ip_tables              19028  3 iptable_mangle,iptable_nat,iptable_filter
x_tables 19076 5 xt_physdev,xt_tcpudp,xt_state,iptable_nat,ip_tables
dm_snapshot            22432  0
dm_mod                 64664  18 dm_snapshot
ide_cd                 45828  0
cdrom                  45472  1 ide_cd
ide_disk               22144  3
parport_pc             44868  0
tsdev                  12096  0
parport                41416  1 parport_pc
8250_pnp               13184  0
8250                   31220  3 8250_pnp
serial_core            27392  1 8250
pcspkr                  7296  0
uhci_hcd               29452  0
usbcore               138372  2 uhci_hcd
snd_intel8x0           37916  0
snd_ac97_codec         96288  1 snd_intel8x0
snd_ac97_bus            6528  1 snd_ac97_codec
snd_pcm                88708  2 snd_intel8x0,snd_ac97_codec
snd_timer              29828  1 snd_pcm
3c59x                  50728  0
snd 58084 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              14048  1 snd
mii                    10112  1 3c59x
snd_page_alloc         14600  2 snd_intel8x0,snd_pcm
piix                   14724  0 [permanent]
i2c_i801               11916  0
i2c_i810                9604  0
i8xx_tco               11544  0
shpchp                 43168  0
pci_hotplug            36672  1 shpchp
i2c_algo_bit           13448  1 i2c_i810
i2c_core               25856  2 i2c_i801,i2c_algo_bit
intel_agp              27804  1
agpgart                40648  1 intel_agp
evdev                  14464  0
sd_mod                 25856  0
scsi_mod              143240  1 sd_mod
xfs                   593496  6


LSPCI:

00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82815 CGC [Chipset Graphics Controller] (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02) 01:04.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)


DomU:

IFCONFIG:
eth0      Link encap:Ethernet  HWaddr 00:16:3E:44:05:7A
          inet addr:192.168.9.52  Bcast:192.168.9.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe44:57a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:120 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7968 (7.7 Kb)  TX bytes:4684 (4.5 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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)

ETHTOOL:
ethtool -k eth0
Offload parameters for eth0:
Cannot get device rx csum settings: Operation not supported
rx-checksumming: off
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on

LSMOD:
Module                  Size  Used by
bridge                 61468  0
ipv6                  280608  8
xt_tcpudp               7680  1
xt_state                6400  1
iptable_mangle          7040  0
iptable_nat            12164  0
ip_nat                 22700  1 iptable_nat
iptable_filter          7168  1
ip_conntrack_ftp       12656  0
ip_conntrack           59104  4 xt_state,iptable_nat,ip_nat,ip_conntrack_ftp
nfnetlink              11288  2 ip_nat,ip_conntrack
ip_tables              19028  3 iptable_mangle,iptable_nat,iptable_filter
x_tables               19076  4 xt_tcpudp,xt_state,iptable_nat,ip_tables
dm_snapshot            22432  0
dm_mod                 64664  1 dm_snapshot
sd_mod                 25856  0
scsi_mod              143240  1 sd_mod
xfs                   593496  1


CONFIG FILE for DomU:
#  -*- mode: python; -*-
#==========================================================================
kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = "/boot/initramfs-2.6.18.8-domU.cpio.gz"
memory = 128
name = "vns2"
vif = [ '' ]
disk = [ 'phy:rootvg/vns1,hda2,w','phy:rootvg/swapvns1,hda1,w' ]
root = "/dev/hda2 ro"
# Network
vif = [ 'mac=00:16:3e:44:05:7a, bridge=eth0' ]
uuid = "a693d152-641c-415d-95fa-a50e624cb01e"
dhcp="off"
ip="192.168.9.52"
netmask="255.255.255.0"
gateway="192.168.9.1"
hostname="vns2.destar.net"
extra = 'xencons=tty'


Any help is greatly appreciated,

Jon

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>