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] domU HVM network problem (no pinging)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] domU HVM network problem (no pinging)
From: Carles Pina i Estany <carles@xxxxxxxx>
Date: Sun, 9 Mar 2008 17:25:07 +0100
Delivery-date: Sun, 09 Mar 2008 09:25:38 -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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
Hello,

After Max E. Baro help I already have a NIC in my domU but I cannot use
it :-) (but luckily I hvae the NIC!!)

Fast question: in dom0 console appears an error message:
--------
I see in console that dom0 complains that "network link vif31.0 is NOT READY"
--------

I try to setup the IP 192.168.0.150. The domU configuration file
contains:
--------
vif = [ 'ip=192.168.0.150, type=ioemu, mac=00:16:3e:00:00:11' ]
ip = '192.168.0.150'
netmask = '255.255.255.0'
gateway = '192.168.0.1'
--------

The status after create the HVM machine is:
ifconfig:
------
eth0 (192.168.0.1)
(some other interfaces)

vif31.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.255
          UP BROADCAST MULTICAST  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)
------

route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.5.2     0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.0.150   0.0.0.0         255.255.255.255 UH    0      0        0 vif31.0
PUBLIC-IP...    0.0.0.0         255.255.255.192 U     0      0        0 eth1
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         GW OF PUBLICIP  0.0.0.0         UG    0      0        0 eth1

the domU IP is 192.168.0.150, but I cannot ping to 192.168.0.1. Yes, I made:
echo 1 >/proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

I've checked too and iptables FORWARD policty is ACCEPT and I have two lines
refering to vif31.0:
ACCEPT     0    --  192.168.0.150        0.0.0.0/0           PHYSDEV match 
--physdev-in vif31.0 
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           PHYSDEV match 
--physdev-in vif31.0 udp spt:68 dpt:67 

Tcpdump is not giving me anything.

I see in console that dom0 complains that "network link vif31.0 is NOT READY".

Any idea? I really feel stupid :-) (again :-D)

Thank you very much,

-- 
Carles Pina i Estany            GPG id: 0x8CBDAE64
        http://pinux.info       Manresa - Barcelona

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

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