[strongSwan] Kernel routing table missing entry

Code Wiget codewiget95 at gmail.com
Mon Nov 19 16:20:46 CET 2018


Hi all,

I’ve created a tunnel between two hosts using strongswan on RHEL 7.5. I can ping from both ends, but there is no new route in my routing table:

$ sudo systemctl stop strongswan
$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 0.0.0.0         172.31.16.1     0.0.0.0         UG    100    0        0 eth0
> 172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
> 172.31.16.0     0.0.0.0         255.255.240.0   U     100    0        0 eth0
> 172.31.16.50    172.31.16.9     255.255.255.255 UGH   0      0        0 eth0
> 192.168.1.0     172.31.16.9     255.255.255.0   UG    0      0        0 eth0
$ sudo systemctl start strongswan
$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 0.0.0.0         172.31.16.1     0.0.0.0         UG    100    0        0 eth0
> 172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
> 172.31.16.0     0.0.0.0         255.255.240.0   U     100    0        0 eth0
> 172.31.16.50    172.31.16.9     255.255.255.255 UGH   0      0        0 eth0
> 192.168.1.0     172.31.16.9     255.255.255.0   UG    0      0        0 eth0

I dont understand how this is possible. Is there another lower-level routing table?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20181119/0f8e7260/attachment.html>


More information about the Users mailing list