|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Help me to set up network (routes)
I haven't used Xen in routed mode, but I can make a few observations
based on simple IP networking rules.
AlannY wrote:
Dom0 have one (1) working net card: eth0
with IP for external LAN: 10.9.3.92
and gateway for with IP: 10.9.3.1
And what IP address have you assigned it for the inside network ?
In my DomU (Windows in my case) I set up network interface as follow:
address 10.0.2.2
netmask 255.255.255.0
gateway 10.9.3.1 # it's a gateway which gave me ISP (see above)
NO, the gateway MUST be an IP address on it's own network - ie it
MUST be 10.0.2.<something>. In this case, it should the be the
internal IP address you assigned to Dom0. Because the gateway isn't
on it's own network, the guest doesn't even know how to reach the
gateway - if you see what I mean.
%# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:e0:4c:a0:b0:20
inet addr:10.9.3.92 Bcast:10.9.3.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fea0:b020/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2158921 errors:1 dropped:78 overruns:1 frame:0
TX packets:1918655 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2215803222 (2.0 GiB) TX bytes:1294017960 (1.2 GiB)
Interrupt:17 Base address:0xd000
[...]
tap2.0 Link encap:Ethernet HWaddr 4e:69:00:fd:f0:48
inet6 addr: fe80::4c69:ff:fefd:f048/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:2343 (2.2 KiB) TX bytes:468 (468.0 B)
vif2.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
inet addr:10.9.3.92 Bcast:10.255.255.255 Mask:255.255.255.255
This will need to be i the 10.0.2.x subnet
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|