Skip to contentSkip to conversation

Trivial fix for vif-bridge

DISCUSSION Grahame Bowland 2 participants 2 messages Feb 17, 2005

lore
Share & tools
lore
#0 lore raw

Hi guys

I have no idea if this was the right solution to the problem, but I've got a Debian/testing (latest packages) machine that I just ugpraded to Xen 2.0.4 from Xen 2.0.1.

I had the problem that the vif interfaces weren't up, so nothing was happening on the network. I've modified vif-bridge to contain the following line at the end:
ifconfig "$vif" up

The change fixed things, so I was just wondering if perhaps some change in bridge-tools means this is necessary. Anyone else having this problem?

A sample domain config affected is:
kernel = "/boot/vmlinuz-2.6.9-xenU"
memory = 256
name = "billy"

nics = 1
ip = "130.95.3.69"
netmask = "255.255.255.224"
gateway = "130.95.3.65"
hostname = "billy.angrygoats.net"

disk = ['file:/servers/a/billy/rootfs,sda1,w', 'file:/servers/a/billy/swapfs,sda 2,w' ]
root = "/dev/sda1 ro"

Signature · 12 lines
Grahame Bowland                       Email: [email protected]
University Communications Services    Phone: +61 8 6488 1175
The University of Western Australia     Fax: +61 8 6488 1109
                                     CRICOS: 00126G



-------------------------------------------------------
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

2.0.4 already contains that line in the setup script. However, the install process does not overwrite existing installed scripts (assumign that you may have customised them and do not want to lose your edits) so you ended up carrying on using the old script. This is something worth keeping in mind when upgrading!

-- Keir

Quoted 26 lines

Hi guys

I have no idea if this was the right solution to the problem, but I've got a Debian/testing (latest packages) machine that I just ugpraded to Xen 2.0.4 from Xen 2.0.1.

I had the problem that the vif interfaces weren't up, so nothing was happening on the network. I've modified vif-bridge to contain the following line at the end:
ifconfig "$vif" up

The change fixed things, so I was just wondering if perhaps some change in bridge-tools means this is necessary. Anyone else having this problem?

A sample domain config affected is:
kernel = "/boot/vmlinuz-2.6.9-xenU"
memory = 256
name = "billy"

nics = 1
ip = "130.95.3.69"
netmask = "255.255.255.224"
gateway = "130.95.3.65"
hostname = "billy.angrygoats.net"

Quoted 23 lines

disk = ['file:/servers/a/billy/rootfs,sda1,w',
'file:/servers/a/billy/swapfs,sda
2,w' ]
root = "/dev/sda1 ro"

Signature · 16 lines
Grahame Bowland                       Email: [email protected]
University Communications Services    Phone: +61 8 6488 1175
The University of Western Australia     Fax: +61 8 6488 1109
                                      CRICOS: 00126G



-------------------------------------------------------
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