Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: connecting domU and dom0 by bridging



Hi Christoph,

it seems my question was imprecise. I'm searching for virtual network
devices. At the moment I use something like

  ifconfig create tapX
  ifconfig tapX a.b.c.d netmask e.f.g.h up

  brconfig bridge0 add tapX

Is creating a tapX device o.k.?


Goran



Am Freitag, den 26.06.2009, 14:12 +0200 schrieb Christoph Egger:
> [...]
> 
>     ifconfig bridge0 create
> 
> Then add the physical interface to the bridge:
> 
>    brconfig bridge0 add <if> up
> 
> where <if> is your physical interface.
> 
> In order to have this persistent across reboots, do
> 
>    echo "create" > /etc/ifconfig.bridge0
>    echo "!brconfig $int add <if> up" >> /etc/ifconfig.bridge0
> 
> 
> In the guest config file add
> "bridge=bridge0" in the vif line.
> 
> Christoph



Home | Main Index | Thread Index | Old Index