> addresses: [ 95.216.96.148/26 ]
> gateway4: 95.216.96.129
here you are configuring your default gateway as 95.216.96.129; all
traffic outside your "subnet" will be routed to it.
> - to: 95.216.96.128/26
> via: 95.216.96.129
> on-link: true
now, you're trying to say
heres btw the netplan config im using:
network:
version: 2
renderer: networkd
ethernets:
enp0s31f6:
addresses: [ 95.216.96.148/26 ]
gateway4: 95.216.96.129
nameservers:
addresses:
- "8.8.8.8"
- "1.1.1.1"
routes:
-
** Changed in: netplan
Status: Invalid => New
** Changed in: systemd (Ubuntu)
Status: Incomplete => Opinion
** Changed in: systemd (Ubuntu)
Status: Opinion => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Hello,
Sorry for the late response and please reopen it.
The issue happens in a DMZ.
We have two servers in 95.216.96.128/26 with ip 95.216.96.149 and
95.216.96.150, normally we are able to reach those servers directly
(cause they are in the same subnet).
Sadly our hosting provider forbids
The route looks invalid to me, please clarify
** Changed in: systemd (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826459
Title:
systemd-networkd not
>From what I can tell, the routing is exactly how it should be:
[from the bug description]
root@search-3 /run/systemd/network # ip route
default via 95.216.96.129 dev enp0s31f6 proto static
10.0.0.0/24 dev tun0 proto kernel scope link src 10.0.0.13
10.0.2.0/24 dev vlan4000 proto kernel scope
Closing as Invalid for netplan: the config generated is exactly as it
should for the netplan YAML that was provided. This isn't a bug in
netplan.
** Changed in: netplan
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
enp0s31f6: Could not set route: Invalid argument
enp0s31f6: Routes set
addresses:
- 95.216.96.148/26
gateway4: 95.216.96.129
routes:
- on-link: true
to: 95.216.96.148/26
via: 95.216.96.129
I do not quite understand what above is supposed to mean.
heres also the netplan file for it:
root@search-3 /run/systemd/network # netplan --debug apply
** (generate:22984): DEBUG: 21:03:47.073: Processing input file
/etc/netplan/01-netcfg.yaml..
** (generate:22984): DEBUG: 21:03:47.073: starting new processing pass
** (generate:22984): DEBUG: