On 09.07.2023 00:37, Marc Chamberlin via openSUSE Users wrote:
Andrei Borzenkov wrote:
On 08.07.2023 00:21, Marc Chamberlin via openSUSE Users wrote:
ipv4 nat PREROUTING 2 -d 111.111.111.112 -i eth0:novaExt -j DNAT --to-destination 192.168.10.210 Interface "eth0:novaExt" does not exist so this rule will never match.
Andrei - You have lost me here, what do you mean "eth0:novaExt" does not exist?
Show output of ip a
I created this interface with YaST2->System->Network Settings->Overview tab->Edit eth0->Address tab->Additional Addresses->Add and filled in the popup dialog fields for "Address label", "IP Address", and "Subnet Mask". Doesn't YaST2 set this up as an additional interface using the "Address label" name I gave it, which in this case was "novaExt"?
No. It adds an additional address to the interface eth0. Kernel does not create new interface in this case.
The derived name for this interface then became "eth0:novaExt". I can certainly ping it and do other network tasks via this interface label. So in many ways, at least, this label for a network interface does feel like it exists!
Which does not make it the true real interface,