|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] CentOS 5.0 Xen | Bridging eth0?
On Jan 15, 2008 7:02 PM, aeternaleto < flippedootninja@xxxxxxxxx> wrote:
I was wondering if anyone can point me to any specific documentation on how to setup xen with dhcp. For instance I have a server with Xen installed on my network. The internal IP address is
172.27.170.110, is there a way to assign my vps's with similar IP's?
The guests will by default use a bridge connection and dhcp by default assuming they are configured as such.
If that is not happening, make sure are using the network-bridge script in your xend-config.sxp, you can also explicitly tell the guest to use dhcp in the config file by setting the dhcp parameter to dhcp (dhcp="dhcp") explicitly.
Regards, Todd
ifconfig eth0 Link encap:Ethernet HWaddr 00:17:A4:3F:D3:C1
inet addr:172.27.170.110 Bcast:172.27.170.255 Mask:255.255.255.0
inet6 addr: fe80::217:a4ff:fe3f:d3c1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:365244 errors:0 dropped:0 overruns:0 frame:0 TX packets:316781 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:469166499 (447.4 MiB) TX bytes:33608828 (32.0 MiB)
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:525734 errors:0 dropped:0 overruns:0 frame:0
TX packets:525734 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4469333039 (4.1 GiB) TX bytes:4469333039 (4.1 GiB)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:365243 errors:0 dropped:0 overruns:0 frame:0 TX packets:317695 errors:5 dropped:0 overruns:0 carrier:0
collisions:126707 txqueuelen:1000 RX bytes:470627365 (448.8 MiB) TX bytes:34809794 (33.1 MiB) Interrupt:19
peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST NOARP 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 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0
b) Interrupt:20
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:316818 errors:0 dropped:0 overruns:0 frame:0 TX packets:365264 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:33614814 (32.0 MiB) TX bytes:469167717 (
447.4 MiB)
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8656 (8.4 KiB) TX bytes:0 (0.0 b)
vif5.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP 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
collisions:0 txqueuelen:32 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:
192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:285052 errors:0 dropped:0 overruns:0 frame:0 TX packets:330964 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:15440386 (14.7 MiB) TX bytes:488051061 (465.4 MiB)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:2739 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:321474 (313.9 KiB) TX bytes:0 (
0.0 b)
xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8082 (7.8 KiB) TX bytes:0 (0.0 b)
-- View this message in context:
http://www.nabble.com/CentOS-5.0-Xen-%7C-Bridging-eth0--tp14854409p14854409.html Sent from the Xen - User mailing list archive at Nabble.com.
_______________________________________________
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
|
|
|
|
|