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] Re: Re: network settings

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Re: network settings
From: Marco Mandl <marco.mandl@xxxxxx>
Date: Fri, 20 Apr 2007 17:30:48 +0200
Delivery-date: Fri, 20 Apr 2007 08:29:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <pan.2007.04.19.22.36.19.795479@xxxxxx> <1177040915.14452.6.camel@xxxxxxxxxxxxxxxxxxxxx> <pan.2007.04.20.08.47.03.534925@xxxxxx> <1177063126.14451.21.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))
On Fri, 20 Apr 2007 17:58:46 +0800, Tim Post wrote:

> Opposite. In the dom-u, you replace xen-br0 with eth0. 

Which IP adresse this eth0 should have - the one of the physical eth0 of
dom0?
> 
> On dom-0, you ensure that xen-br0 has the IP of whatever network
> interface normally talks to the Internet, typically eth0.
> 
> If your install is typical, xend will run
> /etc/xen/scripts/network-bridge targeting eth0 to make it xen-br0 when
> it starts on boot. Likewise, if you stop xend, network-bridge should
> restore eth0 to an un-bridged (not enslaved) state, putting it back the
> way it was. You should not need to worry about dom-0.

The start of xend does not create an interface. I am not aware of having
changed anything except in xend-config:
(network-script 'network-bridge netdev=eth0')
(vif-script vif-bridge)

# /etc/init.d/xend restart
Restarting XEN control daemon: xend.

# ifconfig -s
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0   1500 0     19065      0      0      0    13558      0      0      0 BMRU
lo    16436 0         0      0      0      0        0      0      0      0 LRU

# xm create domu-sarge -c
Using config file "/etc/xen/domu-sarge".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

# ifconfig -a
eth0      Protokoll:Ethernet  Hardware Adresse 00:0E:7F:FD:8D:37  
          inet Adresse:192.168.17.10  Bcast:192.168.17.255  Maske:255.255.255.0
          inet6 Adresse: fe80::20e:7fff:fefd:8d37/64 
Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13607 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:4343478 (4.1 MiB)  TX bytes:3498739 (3.3 MiB)
          Interrupt:19 

lo        Protokoll:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sit0      Protokoll:IPv6-nach-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth0     Protokoll:Ethernet  Hardware Adresse 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth1     Protokoll:Ethernet  Hardware Adresse 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth2     Protokoll:Ethernet  Hardware Adresse 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth3     Protokoll:Ethernet  Hardware Adresse 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.0    Protokoll:Ethernet  Hardware Adresse FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.1    Protokoll:Ethernet  Hardware Adresse FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.2    Protokoll:Ethernet  Hardware Adresse FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.3    Protokoll:Ethernet  Hardware Adresse FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

/m



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