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

[Xen-users] Network configuration problem



Greetings!

I have recently started using Xen on Debian Etch and am pretty much impressed
how well things worked out. Now I stumbled into an issue which I could not
resolve.

The situation:

1. I successfully installed dom0, and am running the Xen enabled kernel.
2. The dom0 system is connected to the web and it's IP address is pingable,
   I can ssh into the dom0 system.
3. The dom0 system now has one hardware interface, named eth2, which is the one
   connected to the web. This interface got an IP assigned from the providers
   own network.
4. I do have a small 8 IP range network which from which I have configured two
   IPs as eth2:1 and eth2:2.
5. eth2 and the virtual interfaces have different subnets, thus eth2 e.g. has
   the address A.B.192.33, and eth2:1 is A.B.207.160, and eth2:2 is A.B.207.161.

Now I created guests and assigned eth2:1 and eth2:2 to them.

I can ping the guests IPs from the outside, and when I console into the guest
using xm console I can see it's ifconfig showing the correct IP.

But here comes trouble: neither do packages for the assigned IP reach the guest,
nor can I reach any IP from within the guest.

I couldn't find any solution to this issue, searched several hours on Wiki and
google. Could anyone give me some hints what I am doing wrong?

With kind regards,
Daniel S. Reichenbach

/sbin/ifconfig with no guest running:
eth2      Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.192.33  Bcast:192.168.192.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7104 errors:0 dropped:0 overruns:1 frame:0
          TX packets:739 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:482249 (470.9 KiB)  TX bytes:100643 (98.2 KiB)
          Interrupt:11 Base address:0xa000 

eth2:0    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.160  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

eth2:1    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.161  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

eth2:2    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.162  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

eth2:3    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.163  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

xenbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:8 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:440 (440.0 b)  TX bytes:0 (0.0 b)

/sbin/ifconfig with both guests running:
eth2      Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.192.33  Bcast:192.168.192.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7750 errors:0 dropped:0 overruns:1 frame:0
          TX packets:847 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:531053 (518.6 KiB)  TX bytes:116999 (114.2 KiB)
          Interrupt:11 Base address:0xa000 

eth2:0    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.160  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

eth2:1    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.161  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

eth2:2    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.162  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

eth2:3    Link encap:Ethernet  HWaddr 00:04:75:F9:95:CF  
          inet addr:192.168.207.163  Bcast:192.168.207.168  Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xa000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

vif2.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:440 (440.0 b)  TX bytes:280 (280.0 b)

vif3.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:224 (224.0 b)  TX bytes:378 (378.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:20 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:1104 (1.0 KiB)  TX bytes:0 (0.0 b)

_______________________________________________
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®.