Bug#931130: Document that local configuration for dummy and bonding modules are getting overwritten by systemd
andreimpopescu at gmail.com
andreimpopescu at gmail.com
Sat Jun 29 06:44:17 BST 2019
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190629/c5b4e77b/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list