WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Cannot get network access on domU (NetBSD), other than to th

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Cannot get network access on domU (NetBSD), other than to the dom0
From: Alveox Services <alveox@xxxxxxxxxx>
Date: Thu, 08 Oct 2009 02:57:02 +0200
Delivery-date: Wed, 07 Oct 2009 17:58:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
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

<Prev in Thread] Current Thread [Next in Thread>