Two gateways in my home LAN

  • Thread starter Børge Nygaard Austvold
  • Start date
B

Børge Nygaard Austvold

Hi,

I've have setup a LAN home using a DSL Router and it works fine using
192.168.1.1 as default gateway. In this LAN I've added a machine and
installed a VPN client to connect to my office. The idea was that this
machine should work as a second gateway for traffice to work but the VPN
software modifies the routing table and forces the default gateway to the
VPN gateway.

This is the routing table after I connect

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 02 a5 c2 b2 34 ...... Intel(R) PRO/100 VM Network Connection -
Packet Scheduler Miniport
0x3 ...00 c0 45 00 00 02 ...... VPN Client Virtual Adapter #2 - Packet
Scheduler Miniport
0x4 ...00 c0 45 00 00 01 ...... VPN Client Virtual Adapter - Packet
Scheduler Miniport
0x40006 ...00 08 02 f6 40 f1 ...... Compaq WLAN MultiPort W200 - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.19.144.53 172.19.144.53 1
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 31
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.19.144.0 255.255.255.0 172.19.144.53 172.19.144.53 1
172.19.144.53 255.255.255.255 127.0.0.1 127.0.0.1 30
172.19.255.255 255.255.255.255 172.19.144.53 172.19.144.53 30
192.168.1.0 255.255.255.0 172.19.144.53 172.19.144.53 1
192.168.1.103 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.1.255 255.255.255.255 192.168.1.103 192.168.1.103 30
224.0.0.0 240.0.0.0 172.19.144.53 172.19.144.53 1
224.0.0.0 240.0.0.0 192.168.1.103 192.168.1.103 31
255.255.255.255 255.255.255.255 172.19.144.53 172.19.144.53 1
255.255.255.255 255.255.255.255 192.168.1.103 2 1
255.255.255.255 255.255.255.255 192.168.1.103 4 1
255.255.255.255 255.255.255.255 192.168.1.103 192.168.1.103 1
Default Gateway: 172.19.144.53
===========================================================================
Persistent Routes:
None

....and this is before I connect

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 02 a5 c2 b2 34 ...... Intel(R) PRO/100 VM Network Connection -
Packet Scheduler Miniport
0x3 ...00 c0 45 00 00 02 ...... VPN Client Virtual Adapter #2 - Packet
Scheduler Miniport
0x4 ...00 c0 45 00 00 01 ...... VPN Client Virtual Adapter - Packet
Scheduler Miniport
0x40006 ...00 08 02 f6 40 f1 ...... Compaq WLAN MultiPort W200 - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.103 192.168.1.103 30
192.168.1.103 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.1.255 255.255.255.255 192.168.1.103 192.168.1.103 30
224.0.0.0 240.0.0.0 192.168.1.103 192.168.1.103 30
255.255.255.255 255.255.255.255 192.168.1.103 2 1
255.255.255.255 255.255.255.255 192.168.1.103 3 1
255.255.255.255 255.255.255.255 192.168.1.103 4 1
255.255.255.255 255.255.255.255 192.168.1.103 192.168.1.103 1
Default Gateway: 192.168.1.1
===========================================================================
Persistent Routes:
None

What I wan't is a windows box in my network (192.168.1.103) that had a VPN
connection to my office and work as a second gateway for all traffic to
172.19.XX.

I have a couple of questions.

1. Can I run a post connect script to alter the routing table (the VPN
software keeps chaning it)
2. Do I need two network cards in the VPN gateway machine?
3 How do I route traffice from for instance 192.168.1.103 to 172.19.143.53
on the VPN machine ? Changing the routing table, bridging ?

Any help here would be great ?

Thanks,

Børge Nygaard Austvold
 
B

bryce

If this is the microsoft VPN client all you need to to is open the
Properties of the VPN connection. Next Click on the Networking Tab.
Open the TCP/IP Properties. Click on Advanced. On the general Tap
uncheck the box "Use default gateway on remote computer. Save your
settings.
 
B

Børge Nygaard Austvold

No this is a Shiva VPN client. I've been investigating this further and it
seems like the VPN client overwrites any changes to the routing table if I
manually edit it. I guess this is a dead end then...

-=Børge
 
B

bryce

no experience with the Shiva client, but have been able to accomplish
what you are looking for with Aventail, Microsoft, and Cisco so I
wouldn't give up.

Good Luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top