Skip to contentSkip to conversation

Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

DISCUSSION Mr. Teo En Ming (Zhang Enming) 2 participants 10 messages Aug 23, 2009 – Aug 24, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

My Intel DQ45CB motherboard BIOS has VT-d enabled. I am using Xen 3.4.1 and Jeremy Fitzhardinge's paravirt ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6.

When Xen boots up, it says that I/O virtualisation is enabled (VT-d working).

I have Windows XP Home 32-bit installed as a HVM guest. I am not trying direct access to physical NIC yet.

I am still using virtual NIC in Win XP Home.

When I configured IP address in Win XP HVM guest, I can ping the IP in Dom 0. In Dom 0, I can also ping the IP of my Win XP domU.

However, other network devices/computers in the same LAN cannot see the IP of Win XP domU. Only Dom 0 can see. Similary, Win XP dom U can only talk to Dom 0 and cannot talk to other computers in the network.

Why is this so?

Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
#1 lore raw

Hello Teo,
What type of network device do you have? Virtual network or shared physical device? If you have virtual network, I suspect your domU and dom0 are in their own sub-network and the domU is not visible to anyone other than dom0. If you have shared physical device, root cause is something else. -caz

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mr. Teo En Ming (Zhang Enming)
Sent: Sunday, August 23, 2009 9:09 AM
To: [email protected]
Subject: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

Hi,

My Intel DQ45CB motherboard BIOS has VT-d enabled. I am using Xen 3.4.1 and Jeremy Fitzhardinge's paravirt ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6.

When Xen boots up, it says that I/O virtualisation is enabled (VT-d working).

I have Windows XP Home 32-bit installed as a HVM guest. I am not trying direct access to physical NIC yet.

I am still using virtual NIC in Win XP Home.

When I configured IP address in Win XP HVM guest, I can ping the IP in Dom 0. In Dom 0, I can also ping the IP of my Win XP domU.

However, other network devices/computers in the same LAN cannot see the IP of Win XP domU. Only Dom 0 can see. Similary, Win XP dom U can only talk to Dom 0 and cannot talk to other computers in the network.

Why is this so?

Signature · 18 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)
BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore



_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
#9 lore raw
In reply to Mr. Teo En Ming (Zhang Enming)

Just to add, the ethernet bridge on Dom 0 is eth0 and not xenbr0, virbr0, or anything else.

Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 16 lines · Mr. Teo En Ming (Zhang Enming)

Hi,

My Intel DQ45CB motherboard BIOS has VT-d enabled. I am using Xen 3.4.1 and Jeremy Fitzhardinge's paravirt ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6.

When Xen boots up, it says that I/O virtualisation is enabled (VT-d working).

I have Windows XP Home 32-bit installed as a HVM guest. I am not trying direct access to physical NIC yet.

I am still using virtual NIC in Win XP Home.

When I configured IP address in Win XP HVM guest, I can ping the IP in Dom 0. In Dom 0, I can also ping the IP of my Win XP domU.

However, other network devices/computers in the same LAN cannot see the IP of Win XP domU. Only Dom 0 can see. Similary, Win XP dom U can only talk to Dom 0 and cannot talk to other computers in the network.

Why is this so?

#2 lore raw
In reply to Caz Yokoyama

Dear Caz,

I have the Intel Corporation 82567LM-3 Gigabit Network Connection on my Intel DQ45CB Desktop Board.

There is only one network interface on my computer and it is eth0.

When I start xend, it creates ethernet bridge eth0. My Dom 0 and Win XP Dom U share the same ethernet bridge.

On Dom 0, IP address is configured on the bridge eth0. In my Win XP dom U configuration, I specified vif = [ 'bridge=eth0' ]

So my Dom 0 and Dom U are sharing the same bridge, and hence the same physical network card.

Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 40 lines · Caz Yokoyama

Hello Teo,
What type of network device do you have? Virtual network or shared physical device? If you have virtual network, I suspect your domU and dom0 are in their own sub-network and the domU is not visible to anyone other than dom0. If you have shared physical device, root cause is something else. -caz

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mr. Teo En Ming (Zhang Enming)
Sent: Sunday, August 23, 2009 9:09 AM
To: [email protected]
Subject: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

Hi,

My Intel DQ45CB motherboard BIOS has VT-d enabled. I am using Xen 3.4.1 and Jeremy Fitzhardinge's paravirt ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6.

When Xen boots up, it says that I/O virtualisation is enabled (VT-d working).

I have Windows XP Home 32-bit installed as a HVM guest. I am not trying direct access to physical NIC yet.

I am still using virtual NIC in Win XP Home.

When I configured IP address in Win XP HVM guest, I can ping the IP in Dom 0. In Dom 0, I can also ping the IP of my Win XP domU.

However, other network devices/computers in the same LAN cannot see the IP of Win XP domU. Only Dom 0 can see. Similary, Win XP dom U can only talk to Dom 0 and cannot talk to other computers in the network.

Why is this so?

#3 lore raw

Hello Teo,
I am not clear what you say. Could you tell me the IP address of domU? -caz

-----Original Message-----
From: Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Sunday, August 23, 2009 9:48 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

Dear Caz,

I have the Intel Corporation 82567LM-3 Gigabit Network Connection on my Intel DQ45CB Desktop Board.

There is only one network interface on my computer and it is eth0.

When I start xend, it creates ethernet bridge eth0. My Dom 0 and Win XP Dom U share the same ethernet bridge.

On Dom 0, IP address is configured on the bridge eth0. In my Win XP dom U configuration, I specified vif = [ 'bridge=eth0' ]

So my Dom 0 and Dom U are sharing the same bridge, and hence the same physical network card.

Signature · 11 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)
BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 2 lines · Caz Yokoyama

Hello Teo,
What type of network device do you have? Virtual network or shared

physical

Quoted 2 lines

device? If you have virtual network, I suspect your domU and dom0 are in their own sub-network and the domU is not visible to anyone other than

dom0.

Quoted 6 lines

If you have shared physical device, root cause is something else. -caz

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mr. Teo En

Ming

Quoted 4 lines

(Zhang Enming)
Sent: Sunday, August 23, 2009 9:09 AM
To: [email protected]
Subject: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in

Windows

Quoted 26 lines

XP Home 32-bit HVM Guest

Hi,

My Intel DQ45CB motherboard BIOS has VT-d enabled. I am using Xen 3.4.1 and Jeremy Fitzhardinge's paravirt ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6.

When Xen boots up, it says that I/O virtualisation is enabled (VT-d working).

I have Windows XP Home 32-bit installed as a HVM guest. I am not trying direct access to physical NIC yet.

I am still using virtual NIC in Win XP Home.

When I configured IP address in Win XP HVM guest, I can ping the IP in Dom 0. In Dom 0, I can also ping the IP of my Win XP domU.

However, other network devices/computers in the same LAN cannot see the IP of Win XP domU. Only Dom 0 can see. Similary, Win XP dom U can only talk to Dom 0 and cannot talk to other computers in the network.

Why is this so?

#8 lore raw
In reply to Mr. Teo En Ming (Zhang Enming)

I had wanted my Win XP Home dom U to contact my wireless router to get an IP from the DHCP server inside the router. But it couldn't see the wireless router at all (via wired connection).

Similarly other devices on the same network could not see my Win XP dom U.

I was able to get networking up for Windows Dom Us using OpenSUSE 11.1 Xen paravirt ops dom 0 host. But apparently I can't do it in Fedora 11 host. Puzzled.

Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 12 lines · Mr. Teo En Ming (Zhang Enming)

Dear Caz,

I have the Intel Corporation 82567LM-3 Gigabit Network Connection on my Intel DQ45CB Desktop Board.

There is only one network interface on my computer and it is eth0.

When I start xend, it creates ethernet bridge eth0. My Dom 0 and Win XP Dom U share the same ethernet bridge.

On Dom 0, IP address is configured on the bridge eth0. In my Win XP dom U configuration, I specified vif = [ 'bridge=eth0' ]

So my Dom 0 and Dom U are sharing the same bridge, and hence the same physical network card.

#4 lore raw
In reply to Caz Yokoyama

Dear Caz,

For e.g. my Dom 0 is 10.0.0.5, and my Win XP home dom U is 10.0.0.6. They are in the same subnet and sharing the same ethernet bridge eth0 in dom 0. And of course sharing the same physical network card.

Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 29 lines · Caz Yokoyama

Hello Teo,
I am not clear what you say. Could you tell me the IP address of domU? -caz

-----Original Message-----
From: Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Sunday, August 23, 2009 9:48 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

Dear Caz,

I have the Intel Corporation 82567LM-3 Gigabit Network Connection on my Intel DQ45CB Desktop Board.

There is only one network interface on my computer and it is eth0.

When I start xend, it creates ethernet bridge eth0. My Dom 0 and Win XP Dom U share the same ethernet bridge.

On Dom 0, IP address is configured on the bridge eth0. In my Win XP dom U configuration, I specified vif = [ 'bridge=eth0' ]

So my Dom 0 and Dom U are sharing the same bridge, and hence the same physical network card.

#5 lore raw

How domU gets its IP address? Automatically? Or you assign the IP address? -caz

-----Original Message-----
From: Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Sunday, August 23, 2009 9:56 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

Dear Caz,

For e.g. my Dom 0 is 10.0.0.5, and my Win XP home dom U is 10.0.0.6. They are in the same subnet and sharing the same ethernet bridge eth0 in dom 0. And of course sharing the same physical network card.

Signature · 11 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)
BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 29 lines · Caz Yokoyama

Hello Teo,
I am not clear what you say. Could you tell me the IP address of domU? -caz

-----Original Message-----
From: Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Sunday, August 23, 2009 9:48 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

Dear Caz,

I have the Intel Corporation 82567LM-3 Gigabit Network Connection on my Intel DQ45CB Desktop Board.

There is only one network interface on my computer and it is eth0.

When I start xend, it creates ethernet bridge eth0. My Dom 0 and Win XP Dom U share the same ethernet bridge.

On Dom 0, IP address is configured on the bridge eth0. In my Win XP dom U configuration, I specified vif = [ 'bridge=eth0' ]

So my Dom 0 and Dom U are sharing the same bridge, and hence the same physical network card.

#6 lore raw

Hi Caz,

I found out why my Win XP Home HVM dom U couldn't access the outside world. It's because of the firewall rules on my Dom 0. When I flushed all my firewall rules, Dom U could obtain IP address from my wireless router and surf the internet.

So I have to think of adding appropriate firewall rules so that my Dom U could access the outside world when the firewall is enabled.

Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 18 lines · Caz Yokoyama

How domU gets its IP address? Automatically? Or you assign the IP address? -caz

-----Original Message-----
From: Mr. Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Sunday, August 23, 2009 9:56 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Xen-devel] Bridged Networking in Dom 0 and Virtual NIC in Windows XP Home 32-bit HVM Guest

Dear Caz,

For e.g. my Dom 0 is 10.0.0.5, and my Win XP home dom U is 10.0.0.6. They are in the same subnet and sharing the same ethernet bridge eth0 in dom 0. And of course sharing the same physical network card.

#7 lore raw

Hi Caz,

I did a tcpdump on my ethernet bridge eth0.

When the firewall on Dom 0 is up, I see DHCP request packets but NO DHCP reply packets.

When I flushed all the firewall rules on Dom 0, I see both DHCP request and reply packets going to my Win XP Home Dom U.

Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 6 lines · Mr. Teo En Ming (Zhang Enming)

Hi Caz,

I found out why my Win XP Home HVM dom U couldn't access the outside world. It's because of the firewall rules on my Dom 0. When I flushed all my firewall rules, Dom U could obtain IP address from my wireless router and surf the internet.

So I have to think of adding appropriate firewall rules so that my Dom U could access the outside world when the firewall is enabled.