Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224607

Re: systemd-nspawn networking inside VirtualBox VM

From Didar Hossain <didar@purlo.in>
Newsgroups linux.debian.user
Subject Re: systemd-nspawn networking inside VirtualBox VM
Date 2020-07-08 18:40 +0200
Message-ID <AqlgZ-dW-3@gated-at.bofh.it> (permalink)
References <ApVZf-1HS-3@gated-at.bofh.it> <ApYDL-3mL-1@gated-at.bofh.it> <AqaYi-2xz-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 08, 2020 at 07:20:18AM +0200, Alexandre Rossi wrote:
> Hi,
> 
> > > since I am not well educated about macvlan, ipvlan, I could not get the
> > > networking working at all. I would like to avoid using
> > > "systemd-networkd/systemd-resolvd" especially on the Buster host - using those
> > > it seems should make everything work automagically.
> > 
> > If you realy want to do the networking yourself, you will need to create
> > the bridge based on the examples found in '/lib/systemd/network'.
> 
> I've had success declaring a bridge in /etc/network/interfaces:
> 
>     iface br0 inet dhcp
>         bridge_ports eth0 # this is your VM Ethernet
> 
> and launching my containers with:
> 
>     $ cat /etc/systemd/nspawn/container.nspawn
>     [Exec]
>     Boot=yes
> 
>     [Network]
>     Bridge=br0
>     $ sudo machinectl start container

I tried this as well. Looks like some specific problem for my setup.


> 
> Alex
> 

I have decided not to pursue this anymore, I need to get things done so will put
this off till I have proper resources and time.

Thanks for all the help to everyone.

Kind regards,
Didar

-- 
Put your brain in gear before starting your mouth in motion.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

systemd-nspawn networking inside VirtualBox VM Didar Hossain <didar@purlo.in> - 2020-07-07 15:40 +0200
  Re: systemd-nspawn networking inside VirtualBox VM john doe <johndoe65534@mail.com> - 2020-07-07 18:30 +0200
    Re: systemd-nspawn networking inside VirtualBox VM Alexandre Rossi <niol@zincube.net> - 2020-07-08 07:40 +0200
      Re: systemd-nspawn networking inside VirtualBox VM Didar Hossain <didar@purlo.in> - 2020-07-08 18:40 +0200
    Re: systemd-nspawn networking inside VirtualBox VM Didar Hossain <didar@purlo.in> - 2020-07-08 18:10 +0200

csiph-web