User talk:Vikk

From ArchWiki

Example: Multiple IP addresses on same interface (system-networkd)

Configuring systemd-networkd for one static and one dynamic address.

/etc/systemd/network/10-ethdock0.link
[Match]
MACAddress=00:11:22:33:44:55

[Link]
Description=Ethernet on USB Replicator
Name=ethdock0
/etc/systemd/network/10-ethdock0.network
[Match]
Name=ethdock0

[Network]
IPv6AcceptRA=false
DHCP=ipv4

[DHCP]
Metric=10
RouteMetric=10

[Network]
Address=192.168.50.25/24

Normally would just need the dynamic address but the static address enabled access to another subnet connected on the same router. vikk (talk) 12:03, 31 May 2018 (UTC)Reply[reply]