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

[Xen-users] can't ping from domU to dom0 and viceversa

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] can't ping from domU to dom0 and viceversa
From: "andrea15@xxxxxx" <andrea15@xxxxxx>
Date: Wed, 27 Jun 2007 10:15:17 +0100 (GMT+01:00)
Delivery-date: Wed, 27 Jun 2007 02:13:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Reply-to: "andrea15@xxxxxx" <andrea15@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I've succesfully installed xen on my fedora5 and I built up some guest 
domains.
I've assigned manually IP addresses to them, choosing from 
ones of this subnet: 10.10.232.160\28.
Now I can ping from one to 
another but I'm nor able to ping dom0 (pubblic address 143.225.229.138) 
neither ping guest domains from dom0. Pings don't give responses (no 
ICMP reports)

I tryed to use this configuration, reading some items 
from internet:
I use a dummy interface on dom0 with IP address on the 
subnet 10.10.232.160\28 (in particular 10.10.232.161) and I use this 
address as default gateway for guest domains.
Here it is the routing 
table for my guest domains:
[root@fc6_pristine ~]# route
Kernel IP 
routing table
Destination     Gateway         Genmask         Flags 
Metric Ref    Use Iface
10.10.232.160   *               255.255.255.240 
U     0      0        0 eth0
default         10.10.232.161   
0.0.0.0         UG    0      0        0 eth0

That's the routing table 
for domain0:
[root@localhost ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
10.10.232.160   *               255.255.255.240 U     0      
0        0 xenbr0
10.10.232.160   *               255.255.255.240 U     
0      0        0 dummy0
143.225.229.0   *               
255.255.255.0   U     0      0        0 eth0
169.254.0.0     
*               255.255.0.0     U     0      0        0 eth0
default         143.225.229.254 0.0.0.0         UG    0      0        0 
eth0

Finally I post also the output from ifconfig in domain0 to show 
how addresses match interfaces:
[root@localhost ~]# ifconfig
dummy0    
Link encap:Ethernet  HWaddr 96:21:5A:3E:47:11  
          inet addr:
10.10.232.161  Bcast:10.10.232.175  Mask:255.255.255.240
          
inet6 addr: fe80::9421:5aff:fe3e:4711/64 Scope:Link
          UP 
BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 
errors:0 dropped:0 overruns:0 frame:0
          TX packets:251 errors:0 
dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:24598 (24.0 KiB)

eth0      Link 
encap:Ethernet  HWaddr 00:0E:0C:4C:00:AB  
          inet addr:
143.225.229.138  Bcast:143.225.229.255  Mask:255.255.255.0
          
inet6 addr: fe80::20e:cff:fe4c:ab/64 Scope:Link
          UP BROADCAST 
RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8306328 
errors:0 dropped:0 overruns:0 frame:0
          TX packets:51165 errors:
0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:653975668 (623.6 MiB)  TX bytes:8489842 (8.0 MiB)

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:2399 errors:
0 dropped:0 overruns:0 frame:0
          TX packets:2399 errors:0 
dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2409520 (2.2 MiB)  TX bytes:2409520 (2.2 MiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP 
BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:
8300832 errors:0 dropped:0 overruns:0 frame:0
          TX packets:
120277 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
txqueuelen:1000 
          RX bytes:686128192 (654.3 MiB)  TX bytes:
13786480 (13.1 MiB)
          Base address:0xee80 Memory:feba0000-
febc0000 

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          
UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:
51165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:
8306331 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
txqueuelen:0 
          RX bytes:8489842 (8.0 MiB)  TX bytes:653975848 
(623.6 MiB)

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 NOARP  MTU:1500  Metric:1
          RX packets:351 
errors:0 dropped:0 overruns:0 frame:0
          TX packets:8251325 
errors:0 dropped:2640 overruns:0 carrier:0
          collisions:0 
txqueuelen:0 
          RX bytes:29336 (28.6 KiB)  TX bytes:648058999 
(618.0 MiB)

vif7.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          
UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:
4887 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8194423 
errors:0 dropped:3168 overruns:0 carrier:0
          collisions:0 
txqueuelen:0 
          RX bytes:914252 (892.8 KiB)  TX bytes:642840744 
(613.0 MiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet addr:10.10.232.160  Bcast:10.10.232.175  Mask:
255.255.255.240
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX 
packets:8002041 errors:0 dropped:0 overruns:0 frame:0
          TX 
packets:507 errors:0 dropped:0 overruns:0 carrier:0
          
collisions:0 txqueuelen:0 
          RX bytes:511413601 (487.7 MiB)  TX 
bytes:49686 (48.5 KiB)

Cuold the problem depend on how interfaces are 
attached to xenbr0 or Am I only missing something about classic 
networking configuration?
thank you in advance
Andrea Sibilia

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

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