LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 11-30-2012, 10:34 AM   #1
NetEng1
LQ Newbie
 
Registered: Aug 2011
Distribution: fedora redhat
Posts: 28

Rep: Reputation: Disabled
Network issue with a Windows 2003 guest on an openSuSE host


I installed Xen 4.1.3 on an openSuSE 12.2 system. I was able to get Windows 2003 server running as a guest on that system. I configured a static IP address for the guest. I am not able to ping anything outside of the host. I can ping the host, but can not ping even the default router. Pinging the default router from the host works fine. If I do a tcpdump on the the bridge (br0), I can see the ping requests and responses when going from guest to host. When I ping from the guest to the default router, I do not even see the requests go out. Any ideas?

Here is the output of ifconfig:

test-web2:/etc/sysconfig/network # ifconfig
br0 Link encap:Ethernet HWaddr 00:10:5A:1E6:92
inet addr:172.16.0.122 Bcast:172.16.0.255 Mask:255.255.255.0
inet6 addr: fe80::210:5aff:fe1e:d692/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100539 errors:0 dropped:0 overruns:0 frame:0
TX packets:27561 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:21807781 (20.7 Mb) TX bytes:3071594 (2.9 Mb)

eth0 Link encap:Ethernet HWaddr 00:10:5A:1E6:92
inet6 addr: fe80::210:5aff:fe1e:d692/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100481 errors:0 dropped:0 overruns:0 frame:0
TX packets:27890 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23197584 (22.1 Mb) TX bytes:3131416 (2.9 Mb)
Interrupt:17 Base address:0x8000

eth1 Link encap:Ethernet HWaddr 54:04:A6:B4:E8:0F
UP 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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

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:38241 errors:0 dropped:0 overruns:0 frame:0
TX packets:38241 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35730211 (34.0 Mb) TX bytes:35730211 (34.0 Mb)

tap5.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89 errors:0 dropped:0 overruns:0 frame:0
TX packets:27325 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:11797 (11.5 Kb) TX bytes:3311001 (3.1 Mb)

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 MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:27321 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Output of brctl show:

test-web2:/etc/sysconfig/network # brctl show
bridge name bridge id STP enabled interfaces
br0 8000.00105a1ed692 no eth0
eth1
tap5.0
vif5.0

The xml configuration file for the guest:

test-web2:/etc/xen/vm # cat windowsxpx64-1.xml
<domain type='xen'>
<name>windowsxpx64-1</name>
<description>None</description>
<uuid>74c2b8d4-c252-b390-2b16-ee07c3845afd</uuid>
<memory>524288</memory>
<currentMemory>524288</currentMemory>
<vcpu>2</vcpu>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<clock sync='localtime'/>
<keymap>en-us</keymap>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<features>
<apic/>
<acpi/>
<pae/>
</features>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='file' device='disk'>
<driver name='file'/>
<source file='/var/lib/xen/images/windowsxpx64/disk0.raw'/>
<target dev='hda'/>
</disk>
<interface type='bridge' model='rtl8139'>
<source bridge='br0'/>
<mac address='00:16:3e:26:84:ea'/>
<script path='/etc/xen/scripts/vif-bridge'/>
</interface>

<graphics type='vnc'/>

</devices>
</domain>

Any ideas?
Thanks
 
Old 12-03-2012, 10:50 AM   #2
NetEng1
LQ Newbie
 
Registered: Aug 2011
Distribution: fedora redhat
Posts: 28

Original Poster
Rep: Reputation: Disabled
Ok, so here is the strangest thing. As you can see from my configuration I presented earlier, I have two Ethernet ports associated with br0. Althought the host could get out to the network fine, the guest would not. I changed the Ethernet port to the other one that is part of the group and believe it or not the guest now sees the external network. Why the host woudl be fine, but the guest was not, is beyond me, but just switching did the trick. I guess I just can't use the other ethernet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect Windows host with guest ubuntu via network pawan613 Linux - General 4 11-27-2011 04:06 PM
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 12:51 PM
QEMU: tap networking issue Host: windows 2003 server, guest: Ubuntu 9.04 ccc123 Linux - Networking 1 10-28-2010 09:26 AM
windows server 2003 as a host system for LINUX guest system VPS h@foorsa.biz Linux - General 2 09-22-2008 06:17 AM
Windows XP Host with Ubuntu 7.10 Guest - USB device issue Irene Chan Linux - Newbie 3 02-25-2008 10:29 AM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration