[plug] vpn breaks home network

Matt Kemner zombie at penguincare.com.au
Tue Dec 11 20:43:40 WST 2007


Hi Rob

On Tue, 11 Dec 2007, quoth Rob Dunne:

> before starting the VPN it says
> plastic: route -n
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
>
> 0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
>
> after starting the VPN it says
> route -n
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
>
> 150.229.98.10   192.168.1.254   255.255.255.255 UGH   0      0        0 eth0
>
> 130.155.80.0    0.0.0.0         255.255.255.0   U     0      0        0
> cipsec0
>
> 0.0.0.0         130.155.80.17   0.0.0.0         UG    0      0        0
> cipsec0

The cisco VPN is deleting your local network route, which is why you can
no longer access any of your local machines (192.168.1.0/24)

Try this:

route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0


Kind Regards,

 - Matt Kemner           Perth:     Tel 08 9322 3444 Fax 08 9221 3444
  Penguin Care           Adelaide:  Tel 08 8311 1144 Fax 08 8311 1177
  Specialising in        Melbourne: Tel 03 8648 6644 Fax 03 8648 6677
  Linux & Business VoIP  Sydney:    Tel 02 8580 4488 Fax 02 8580 4477
  Mobile: 04 2022 3444   Brisbane:  Tel 07 3337 9988 Fax 07 3337 9977




More information about the plug mailing list