Check this out -
http://www.novell.com/communities/node/5071/sles-10-sp2-networking-under-xen-troubleshooting-and-recommendations
I use OpenSuSE 11 on a server with multiple network interfaces and I use
the above approach. Works great.
Best regards, Danilo
Tommy Huang pravi:
> Hi,
>
> Creating a new domain is a lot easier in opensuse 11. I follow the
> instruction on the website and build a virtual machine which uses opensuse 11
> as well (I installed it from iso image). Everything works fine except the
> network. I cannot access the Internet from DomU. Here is some information.
> P.S. the DomU id is 1.
>
> "brctl show" in Dom 0:
> bridge name bridge id STP enabled interfaces
> eth0 8000.001d609d5af4 no peth0
>
> vif1.0
>
> "ip address" in Dom0:
>
> 1: lo: mtu 16436 qdisc noqueue
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
> inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
> 2: peth0: mtu 1500 qdisc pfifo_fast qlen 100
> link/ether 00:1d:60:9d:5a:f4 brd ff:ff:ff:ff:ff:ff
> 3: wmaster0: mtu 1500 qdisc ieee80211 qlen 1000
> link/ieee802.11 00:1c:df:4f:64:df brd ff:ff:ff:ff:ff:ff
> 4: wlan0: mtu 1500 qdisc noop qlen 1000
> link/ether 00:1c:df:4f:64:df brd ff:ff:ff:ff:ff:ff
> 5: eth0: mtu 1500 qdisc noqueue
> link/ether 00:1d:60:9d:5a:f4 brd ff:ff:ff:ff:ff:ff
> inet 128.61.82.213/24 brd 128.61.82.255 scope global eth0
> 6: vif1.0: mtu 1500 qdisc pfifo_fast qlen 32
> link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
>
> "dmesg" in Dom0 (extracted):
>
> NET: Registered protocol family 17
> 0000:00:19.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: None
> 0000:00:19.0: eth0: 10/100 speed: disabling TSO
> BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
> ip6_tables: (C) 2000-2006 Netfilter Core Team
> ip_tables: (C) 2000-2006 Netfilter Core Team
> Bridge firewalling registered
> tmpbridge: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
> eth0 renamed to peth0
> tmpbridge renamed to eth0
> 0000:00:19.0: peth0: Link is Up 100 Mbps Full Duplex, Flow Control: None
> 0000:00:19.0: peth0: 10/100 speed: disabling TSO
> device peth0 entered promiscuous mode
> eth0: port 1(peth0) entering learning state
> eth0: topology change detected, propagating
> eth0: port 1(peth0) entering forwarding state
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> device vif1.0 entered promiscuous mode
> eth0: port 2(vif1.0) entering learning state
> eth0: topology change detected, propagating
> eth0: port 2(vif1.0) entering forwarding state
> (cdrom_add_media_watch() file=drivers/xen/blkback/cdrom.c, line=108)
> nodename:backend/vbd/1/51712
> (cdrom_is_type() file=drivers/xen/blkback/cdrom.c, line=95) type:0
> (cdrom_add_media_watch() file=drivers/xen/blkback/cdrom.c, line=108)
> nodename:backend/vbd/1/51728
> (cdrom_is_type() file=drivers/xen/blkback/cdrom.c, line=95) type:1
> (cdrom_add_media_watch() file=drivers/xen/blkback/cdrom.c, line=110) is a
> cdrom
> (cdrom_add_media_watch() file=drivers/xen/blkback/cdrom.c, line=112) xenstore
> wrote OK
> (cdrom_is_type() file=drivers/xen/blkback/cdrom.c, line=95) type:1
> blkback: ring-ref 770, event-channel 9, protocol 1 (x86_32-abi)
> blkback: ring-ref 771, event-channel 10, protocol 1 (x86_32-abi)
>
> "ip address" in DomU:
> lo and eth0 are present. eth0 doesn't have an ip.
>
>
> Any information is appreciated. Thanks in advance.
>
> Regards,
> - Tommy
>
> _________________________________________________________________
> Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
> http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
--
Danilo Godec, sistemska podpora
Predlog! Obiscite prenovljeno spletno stran http://www.agenda.si
ODPRTA KODA IN LINUX
STORITVE : POSLOVNE RESITVE : UPRAVLJANJE IT : INFRASTRUKTURA IT :
IZOBRAZEVANJE : PROGRAMSKA OPREMA
Visit our updated web page at http://www.agenda.si
OPEN SOURCE AND LINUX
SERVICES : BUSINESS SOLUTIONS : IT MANAGEMENT : IT INFRASTRUCTURE : TRAINING :
SOFTWARE
danilo_godec.vcf
Description: Vcard
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|