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

Re: [Xen-users] Cannot get network access on domU (NetBSD), other than to the dom0


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Alveox Services <alveox@xxxxxxxxxx>
  • Date: Sat, 10 Oct 2009 14:23:03 +0200
  • Delivery-date: Sat, 10 Oct 2009 05:23:59 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Still no luck getting network forwarding up and running ...

Any advice ?

Cheers


Alveox Services a écrit :
Hi,

While I have no trouble running a Linux domU from a Linux dom0, I cannot get a NetBSD domU to work...

dom0 can reach domU, domU can reach dom0
But domU cannot reach/be reached by any machine further.

Here's my routed setup (for security reasons, my box provider does not allow bridging) :

Relevant conf options:
------------------
vif = [ 'ip=87.98.147.107' ]            # replace with DomU's IP
netmask = "255.255.255.255"
gateway = "94.23.225.143"                       # Dom0

DOM0:
--------
* Debian : Linux ks1 2.6.21.7-xxxx-xen0-ipv6-64 #1 SMP Fri Aug 28 15:03:48 CEST 2009 x86_64 GNU/Linux
* relevant ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:30:48:BC:7F:26
         inet addr:94.23.225.143  Bcast:94.23.225.255  Mask:255.255.255.0
         inet6 addr: fe80::230:48ff:febc:7f26/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:405490 errors:0 dropped:0 overruns:0 frame:0
         TX packets:295829 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:245657312 (234.2 MiB)  TX bytes:24068448 (22.9 MiB)
....
vif27.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
inet addr:94.23.225.143 Bcast:94.255.255.255 Mask:255.255.255.255
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:128 errors:0 dropped:0 overruns:0 frame:0
         TX packets:109 errors:0 dropped:3 overruns:0 carrier:0
         collisions:0 txqueuelen:1
         RX bytes:4697 (4.5 KiB)  TX bytes:7353 (7.1 KiB)
* netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface 87.98.147.107 0.0.0.0 255.255.255.255 UH 0 0 0 vif27.0 94.23.225.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 94.23.225.254 0.0.0.0 UG 0 0 0 eth0

(please note 87.98.147.107 is routed via the box provider to 94.23.225.143)

domU:
------
* NetBSD 5.0.1_PATCH NetBSD 5.0.1_PATCH (XEN3PAE_DOMU) #0: Sun Oct 4 21:08:02 UTC 2009 builds@xxxxxxxxxxxxx:/home/builds/ab/netbsd-5-0/i386/200910040000Z-obj/home/builds/ab/netbsd-5-0/src/sys/arch/i386/compile/XEN3PAE_DOMU i386
* relevant ifconfig:
xennet0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
       enabled=0
       address: 00:16:3e:5d:d8:c4
       inet 87.98.147.107 netmask 0xffffffff broadcast 87.98.147.107
       inet6 fe80::216:3eff:fe5d:d8c4%xennet0 prefixlen 64 scopeid 0x1
* netstat -rn
Destination Gateway Flags Refs Use Mtu Interface default link#1 UCS 2 0 - xennet0 87.98.147.107/32 link#1 UC 0 0 - xennet0 92.252.39.84 link#1 UHLc 0 1 - xennet0 94.23.225.143 fe:ff:ff:ff:ff:ff UHLc 0 13 - xennet0
127/8              127.0.0.1          UGRS        0        0  33184  lo0
127.0.0.1          127.0.0.1          UH          1      522  33184  lo0


Any help appreciated to troubleshoot...

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


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