[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Interface Order
Wolfgang Hennerbichler wrote: Use pre-defined MAC addresses, and most Linux environments have a way of associating specific MAC addresses with specific network ports. Under RedHat and its ilk, it's in /etc/sysconfig/ntework-scripts/ifcfg-eth0 and is the HWADDR setting.Hi Xen folks,I have a question where I couldn't find the answer on google or in the archives... I have a statically compiled xenU kernel, and I want a XEN guest with 2 network interfaces. My config looks like this:name = "myname" kernel = "/boot/vmlinuz-2.6-xenU" memory = 256 vif = [ 'bridge=br701', 'bridge=br9' ] disk = [ 'phy:vg0/myname,hda1,w','phy:vg0/myname_swap,hda2,w' ] ip="1.2.3.4" netmask="255.255.255.0" root = "/dev/hda1 ro" extra = "2"Unfortunately the interface order in the (Linux)-Guest seems to be random. This means after booting the guest the IP 1.2.3.4 is assigned to either br701 or br9, but it's always random (both interfaces work in the guest though). If I define mac-addressses for the interfaces there is no difference. Can I somehow "lock" those interfaces? I don't know how. I'd appreciate your help!wogri _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |