[Fedora-xen] Two nics on HVM

John Summerfield debian at herakles.homelinux.org
Thu Jan 24 14:15:44 UTC 2008


Jens Ahrens wrote:
> Hello everybody,
> 
> I'm using FC7 and my server (IntelXeonQuad 64bit) provides 2 NICs. With 
> virsh-install I installed a (32bit RHEL3) HVM.
> Until here everything runs fine.
> When installing FC7, NIC1(eth0) got a public IP and NIC2(eth1) got a 
> private one.
> When installing the HVM (RHEL3) only one NIC(eth0) exists, which got a 
> public IP.
> The problem is that I also want the HVM to have a second NIC connected 
> to my private network (as in Dom0).

My first thought, Does swapping the wires fix this? Crude maybe, but it 
should work.

Then I thought "oh, you might need to attack ifcfg-eth0 and ifcfg-eth1 
to delete the MAC addresses."

Now, I'm thinking that running system-config-network to swap the 
definitions so that eth1 is the gateway to the world and the other's 
private.

That should work, and continue to work over time.


> 
> By default only one bridge (virbr0) is created.
> brctl show gives:
> eth0            8000.003048322dea       no              vif3.0
>                                                        tap0
>                                                        peth0
> virbr0          8000.000000000000       no
> 
> How can I create a second one for (p)eth1 ?
> By the way where does tap0 come from and what is it good for?
> 
> Thanks for any help.
> Jens
I had  half-hearted fiddle with opensuse 10.2 on my laptop (wireless and 
wire, i want the guest on the wireless) and didn't get anywhere.




-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)




More information about the Fedora-xen mailing list