After I start the Wireguard service, VMs from same network are not reachable via local IP

cristian.c at istream.today cristian.c at istream.today
Sun Aug 4 14:16:07 CEST 2019


Hi Guys,

 

    I have a very strange issue,  and I do not understand why is working
like this..

 

   I have 3 ( A,B ) VMs, 2 in the same network and 1( C ) outside of this
network.

 

 

   A:  Just a VM in the same network with B, not able to ping VM B when
Wireguard is UP on B..

 

3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP group default qlen 1000

    link/ether 00:50:56:80:2d:e3 brd ff:ff:ff:ff:ff:ff

    inet 10.100.21.3/16 brd 10.100.21.255 scope global noprefixroute ens192

       valid_lft forever preferred_lft forever

    inet 10.100.20.3/16 brd 10.100.20.255 scope global noprefixroute ens192

       valid_lft forever preferred_lft forever

    inet6 fe80::8700:5c89:fbc7:3473/64 scope link noprefixroute

       valid_lft forever preferred_lft forever

 

 

   B : Where Wireguard is installed and connected to C, reachable from both
side over wireguard interface but not other interface, like : 10.100.21.4/16

 

3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP group default qlen 1000

    link/ether 00:50:56:80:50:e5 brd ff:ff:ff:ff:ff:ff

    inet 10.100.21.4/16 brd 10.100.21.255 scope global noprefixroute ens192

       valid_lft forever preferred_lft forever

    inet 10.100.20.4/16 brd 10.100.20.255 scope global noprefixroute ens192

       valid_lft forever preferred_lft forever

    inet 172.11.0.251/24 brd 172.11.0.255 scope global noprefixroute ens192

       valid_lft forever preferred_lft forever

    inet6 fe80::1003:1bdb:46ee:e16f/64 scope link noprefixroute

       valid_lft forever preferred_lft forever

7: wg1: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN
group default qlen 1000

    link/none

    inet 10.100.20.1/16 scope global wg1

       valid_lft forever preferred_lft forever

    inet6 fe80::d4cf:f1cb:3e3a:dc19/64 scope link flags 800

       valid_lft forever preferred_lft forever

[root at usa-dns ~]#

 

 

C: The VM outside of network where A and B are located, this VM communicate
with B: over wireguard.

 

3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000

    link/ether 00:50:56:80:00:71 brd ff:ff:ff:ff:ff:ff

    inet 172.11.0.3/24 brd 172.11.0.255 scope global noprefixroute ens192

       valid_lft forever preferred_lft forever

    inet 10.100.21.251/16 brd 10.100.21.255 scope global noprefixroute
ens192

       valid_lft forever preferred_lft forever

    inet6 fe80::250:56ff:fe80:71/64 scope link noprefixroute

       valid_lft forever preferred_lft forever

7: wg1: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN
group default qlen 1000

    link/none

    inet 10.100.20.5/16 scope global wg1

       valid_lft forever preferred_lft forever

    inet6 fe80::cdc3:f783:5066:eb5e/64 scope link flags 800

       valid_lft forever preferred_lft forever

[root at canada-dns ~]#

 

 

 

  Question A: Why the VM A and B are not reachable anymore  via local IP
when Wireguard is turned on.?

 

  Question B: Is there a way to make B and C reachable over any other
interface when the wireguard is enabled? I do not want only via Wireguard
interface 10.100.0.0/16

 

 

Thank you.

Cristian

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190804/1a8c615e/attachment.html>


More information about the WireGuard mailing list