Accidental routing loop

  • I'm on a network with one gateway and one windows pc on the lan.  I wanted to test OpenVPN so I VPNed to the gateway, using default server.conf.  This works fine.

    Then I configured server.conf to push the LAN subnet to the client.  After vpning in a second time I couldn't ping either the VPN subnet or LAN subnet.  Routing loop.

    (LAN)        (VPN)    (loopback)    (LAN) -> -> ->

    What I don't understand is how the loopback interface, points to the LAN interface.

    I know the loopback gets to the LAN interface somehow because the first time I connected and pointed to my gateway was receiving pings.

    windows route print:

    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
        1       10       30       10
         1       10
         10       1       1
    Default Gateway:

    To fix the routing loop I can just push a separate subnet.

Log in to reply