Skip to contentSkip to conversation

2nic network bridge fails

DISCUSSION Michael Stoehrel 5 participants 6 messages Feb 25, 2005 – Feb 27, 2005

lore
Share & tools
lore
#0 lore raw

If I have 2 active and connected nics, the bridge fails. "ifconfig -a" on dom0 shows 1 bridge.

If I start a vm the connected eth0 is dead.
After a reboot and disconnecting eth1.
The vm gets connection.
xen 2.04 sources installed.

Any Ideas?

Michael

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw
Quoted 9 lines · Michael Stoehrel

If I have 2 active and connected nics, the bridge fails. "ifconfig -a" on dom0 shows 1 bridge.

If I start a vm the connected eth0 is dead.
After a reboot and disconnecting eth1.
The vm gets connection.
xen 2.04 sources installed.

Any Ideas?

In file /etc/xen/scripts/network, replace the line

netdev=${netdev:-eth0}

with

netdev=${netdev:-eth1}

This will mount the bridge over eth1 and will leave eth0 alone.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw

Thanks for the idea

But, helps nothing:
after starting xend all network traffic is dead
and after starting vm:
from dom0 and vm to extern
and internal between the 2 domains

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#3 lore raw
Quoted 7 lines · Michael Stoehrel

Thanks for the idea

But, helps nothing:
after starting xend all network traffic is dead
and after starting vm:
from dom0 and vm to extern
and internal between the 2 domains

Hello Michael,

I'm trying to reproduce this - could you show us your scripts, please, and ifconfig output before and after?

thanks,
Nivedita

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#4 lore raw
In reply to Michael Stoehrel

Do you have anti-spoofing enabled? (/etc/xen/xend-config.sxp).

B.

Quoted 12 lines · Michael Stoehrel

Thanks for the idea

But, helps nothing:
after starting xend all network traffic is dead
and after starting vm:
from dom0 and vm to extern
and internal between the 2 domains

Quoted 10 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#5 lore raw
In reply to Felipe Alfaro Solana
Quoted 14 lines · On Sat, 26 Feb 2005 10:12:45 +0100 Felipe Alfaro Solana…
Quoted 9 lines · Michael Stoehrel

If I have 2 active and connected nics, the bridge fails. "ifconfig -a" on dom0 shows 1 bridge.

If I start a vm the connected eth0 is dead.
After a reboot and disconnecting eth1.
The vm gets connection.
xen 2.04 sources installed.

Any Ideas?

In file /etc/xen/scripts/network, replace the line

Quoted 7 lines

netdev=${netdev:-eth0}

with

netdev=${netdev:-eth1}

This will mount the bridge over eth1 and will leave eth0 alone.

If i have well understood he wants to have two bridge.
For this you need to clone line in order to declare xen-br0 and xen-br1 in /etc/xen/scripts/network.
I had to achieved the same before ... here is my network file

Quoted 13 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel