[systemd-devel] [SPAM] Re: Custom options and passing options via command line.

Lennart Poettering lennart at poettering.net
Tue May 10 15:58:38 UTC 2022


On Di, 10.05.22 17:46, Kamil Jońca (kjonca at op.pl) wrote:

> Lennart Poettering <lennart at poettering.net> writes:
>
> > On Di, 10.05.22 12:00, Kamil Jońca (kjonca at op.pl) wrote:
> >
> >> > The engine is decided at build time, i.e. can be either iptables or
> >> > nftables.
> >>
> >> But there are two kind of "nat' in *tables suites: 1.masquerade or 2.snat.
> >
> > It uses DNAT or MASQUERADE.
> >
> >> Especially what wyould be equivalent of:
> >>
> >> --8<---------------cut here---------------start------------->8---
> >> iface qemu inet static
> >>         address 192.168.11.1
> >>         netmask 255.255.255.0
> >>         bridge_ports none
> >> --8<---------------cut here---------------end--------------->8---
> >> This creates "bridge" with assigned IP, without any ports (and with
> >> scripts it can create/drop some nftables rules ...)
> >
> > A .netdev file with Kind=bridge to create the bridge + a .network file
> > that assigns an IP address to it?
>
> No. Does not work. interface is in "no-carrier" "configuring" state.

ConfigureWithoutCarrier=

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list