On Di, 10.05.22 17:46, Kamil Jońca (kjonca@xxxxx) wrote: > Lennart Poettering <lennart@xxxxxxxxxxxxxx> writes: > > > On Di, 10.05.22 12:00, Kamil Jońca (kjonca@xxxxx) 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