Skip to contentSkip to conversation

no network in HVM?

DISCUSSION Jun Koi 1 participant 1 message Jan 9, 2009

lore
Share & tools
lore

Jun Koi

author
#0 lore raw

Hi,

I am using NAT configuration (configured in /etc/xen/xen-config.sxp). I configured my Ubuntu 8.10 HVM like below:

...
vif = ['ip=10.0.0.3']
dhcp = "dhcp" # not necessary for static IP??
...

And inside Ubuntu, I have this in /etc/network/interfaces
...
auto eth0
iface eth0 inet static

	address 10.0.0.3
	netmask 255.255.255.0
	gateway 10.0.0.254

...

But my HVM cannot connect to the network. It is strange, as ifconfig still shows that eth0 has the expected IP 10.0.0.3 ??

Meanwhile, I use the same config for another Ubuntu PV, and can connect to network!! So why do I have the problem with HVM?? Is there any way to debug this?

Thanks,
Jun