[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] domU HVM network problem (no pinging)


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.