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

Bug#931130: Document that local configuration for dummy and bonding modules are getting overwritten by systemd



On Vi, 28 iun 19, 14:46:15, Baptiste BEAUPLAT wrote:
> On 6/28/19 2:39 PM, Michael Biebl wrote:
> 
> > Would be good to know how Baptiste is setting up those devices. If he is
> > doing it manually via some scripting of low level tool or uses a higher
> > level network management tool
> > Fwiw, with "ip link add dummy0 type dummy" (or "ip link add bond0 type
> > bond") I was e.g. able to create such a device manually as well.
> > I wonder whether such an approach isn't better then statically setting
> > the number of devices via a kernel module option.
> 
> My original setup was:
> 
> echo "dummy" > /etc/modules
> 
> cat << EOF >> /etc/network/interfaces
> auto dummy0
> iface dummy0 inet static
>     address 192.168.64.1
>     netmask 24
> EOF
> 
> The interface would pop up configured at boot time (by ifup). Then, I
> had services binding on 192.168.64.1.

A (quick) look at interfaces(5) doesn't reveal any specific method to 
create dummy or bond interfaces.

In order to keep things within one configuration file it would make 
sense to use a pre-up with ip commands as suggested above.

Would this work *without* overriding the systemd.conf file?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: