Port-xen archive

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

Re: xennet0 not connected



On Wed, 22 Sep 2010 10:42:36 +0200, Jean-Yves Migeon
<jeanyves.migeon%free.fr@localhost> wrote:
> Yup; the xentools that come with are likely 4.0 too, and I don't know
the
> rules for the vif creation within the dom0.

they look pretty much like the xen3 tools (on linux), bridge becomes
'eth0' unless specified otherwise and the physical NIC becomes peth0.  the
vif behaviour is probably the same too.

I tryed with {network,vif}-route instead of bridge and I got the same
problem, netbsd domU doesn't ping the dom0, while rhel 2.6.18 domU does.

Note. for the -route config to work, I had to force the IP within the
guest config,
    vif = [ 'ip=192.168.0.11, vifname=veth1' ]

Note. in a -route configuration, the vifs here do have the same IP as the
dom0 (?!?), although the guests really have their IP respectively (netbsd:
192.168.0.12, rhel: 192.168.0.11)

eth0      Link encap:Ethernet  HWaddr 90:e6:ba:a6:51:c7
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::92e6:baff:fea6:51c7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3193 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2847 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:281952 (275.3 KiB)  TX bytes:550167 (537.2 KiB)
          Interrupt:239

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2384 (2.3 KiB)  TX bytes:2384 (2.3 KiB)

veth1     Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff
          inet addr:192.168.0.10  Bcast:192.168.0.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:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:6 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:5220 (5.0 KiB)  TX bytes:280 (280.0 B)

veth2     Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff
          inet addr:192.168.0.10  Bcast:192.168.0.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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


//Pierre-Philipp


Home | Main Index | Thread Index | Old Index