We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You are given the following:
IP Address: A.B.C.D/32 Gateway: E.F.G.1
Now the default gateway is not on the same subnet as the host.
Here is the /etc/systemd/network/10-eth0.network generated by netmgr:
[Match] Name=eth0
[Network] Gateway=62.210.249.1 Address=195.154.58.18/32 DHCP=no
[DHCP] UseDNS=false
This doesn't work as the OS doesn't know how to join the GW.
Here it what should be generated when a /32 subnet is used for the host in /etc/systemd/network/10-eth0.network
[Address] Address=195.154.58.18/32 Peer=62.210.249.1/32
[Network] Gateway=62.210.249.1
The text was updated successfully, but these errors were encountered:
May be use the onlink option
[Match] Name= eth0 [Address] Address=195.154.58.18/32 [Route] Gateway=62.210.249.1 GatewayOnlink=true [DHCP] UseDNS=false
Sorry, something went wrong.
@suezzelur systemd/systemd#10938
No branches or pull requests
You are given the following:
IP Address: A.B.C.D/32
Gateway: E.F.G.1
Now the default gateway is not on the same subnet as the host.
Here is the /etc/systemd/network/10-eth0.network generated by netmgr:
[Match]
Name=eth0
[Network]
Gateway=62.210.249.1
Address=195.154.58.18/32
DHCP=no
[DHCP]
UseDNS=false
This doesn't work as the OS doesn't know how to join the GW.
Here it what should be generated when a /32 subnet is used for the host in /etc/systemd/network/10-eth0.network
[Match]
Name=eth0
[Address]
Address=195.154.58.18/32
Peer=62.210.249.1/32
[Network]
Gateway=62.210.249.1
[DHCP]
UseDNS=false
The text was updated successfully, but these errors were encountered: