[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] how virbr0-nic is created



On 08.03.2013 08:40, yue wrote:
> libvirt has a default NAT network,  it create a bridge based on virbr0-nic, 
> how virbr0-nic is created?
> 
> thanks
> 

It's created in networkStartNetworkVirtual and subsequent functions
which all boils down to:

fd = open("/dev/net/tun", O_RDWR));

in virNetDevTapCreate.

Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]