[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Problem with bridged network
dom0: # ifconfig eth0 Link encap:Ethernet HWaddr 00:24:21:EF:30:68 inet addr:188.40.117.2 Bcast:188.40.117.63 Mask:255.255.255.255 inet6 addr: fe80::224:21ff:feef:3068/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15 errors:0 dropped:0 overruns:0 frame:0 TX packets:37 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1318 (1.2 KiB) TX bytes:7197 (7.0 KiB) 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:0 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:0 (0.0 b) TX bytes:0 (0.0 b) 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:12429 errors:0 dropped:0 overruns:0 frame:0 TX packets:11193 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:914348 (892.9 KiB) TX bytes:1344996 (1.2 MiB) Interrupt:249 Base address:0xc000 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:39 errors:0 dropped:0 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7521 (7.3 KiB) TX bytes:1318 (1.2 KiB) 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:8356 (8.1 KiB) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:24 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:5415 (5.2 KiB) TX bytes:0 (0.0 b) # brctl show bridge name bridge id STP enabled interfaces virbr0 8000.000000000000 yes xenbr0 8000.feffffffffff no peth0 vif0.0 # cat centos bootloader = "/usr/bin/pygrub" memory = 256 name = "centos" vif = [ 'bridge=xenbr0' ] disk = ['file:/srv/vm/centos.5-3.x86-64.img,sda1,w', 'file:/srv/vm/swap512.img,sda2,w'] root = "/dev/sda1" extra = "fastboot" And on domU: # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 #BOOTPROTO=dhcp BOOTPROTO=static ONBOOT=yes TYPE=Ethernet IPADDR=188.40.117.56 NETMASK=255.255.255.255 # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 With best wishes, Andrew Ovcharov (andrew.ovcharov@xxxxxxxxx) On Thu, Oct 1, 2009 at 00:39, Grant McWilliams <grantmasterflash@xxxxxxxxx> wrote: > n Wed, Sep 30, 2009 at 12:57 PM, Andrew Ovcharov <andrew.ovcharov@xxxxxxxxx> > wrote: >> >> Hello! >> >> I've got CentOS 5.3 x64 as dom0 and the same OS for domU. I've installed >> it using the following manual: http://www.howtoforge.com/centos_5.0_xen >> Guest image was taken from stacklet.com >> Unfortunately, I can't make domU working with public static IP. >> When I use bridged networking, the guest don't have network connection at >> all. >> When I use routed networking, the guest does not even start. >> Virtual network works just fine, but I need to use public static IP given >> by ISP. >> Two days of google did not help at all. >> >> With best regards, Andrew >> > > Can you give us some information: > > > Output of ifconfig > Output of brctl show > Contents of the DomU config file > > Thanks > > Grant McWilliams > > Some people, when confronted with a problem, think "I know, I'll use > Windows." > Now they have two problems. > _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |