[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Re: Re: network settings
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |