Re: tap device

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



On Wednesday 12 Mar 2014 14:06:30 Mauro Santos wrote:
> No netctl here :)
> 
> I systemd-networkd enabled on boot and 3 files in /etc/systemd/network
> 
> > cat brkvm.netdev
> 
> [NetDev]
> Name=brkvm
> Kind=bridge
> 
> > cat brkvm.network
> 
> [Match]
> Name=brkvm
> 
> [Network]
> Description=Bride for use with virtual machines and containers
> Address=192.168.56.1/24
> 
> > cat vb-veth.network
> 
> [Match]
> Name=vb-*
> 
> This last one is sort of a hack to bring the network up as it shows up,
> I suppose systemd-nspawn should do it by itself, this might be a bug,
> unless there is a good reason not to bring the network up automatically.
> 
> Inside the container I do manual setup of the network address since I'm
> not actually booting it.
> 
> Mind you that you may have to do systemctl daemon-reload (not really
> sure if this one is needed) and restart systemd-networkd for any changes
> to make effect.

Can I ask you both why you chose this route of creating a private network? As far as I can 
tell, by default systemd-spawn will allow the container to use the host's interface. I would 
have thought that would be adequate for most usecases?

Paul


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux