Using both dial-up and local network

  • Thread starter Thread starter Cliff
  • Start date Start date
C

Cliff

I'm running w2kPro with local network access to the
internet. Because of perfomance issues, I'd like to add a
modem to my system to dial into an ISP and route ONLY ssh
traffic over that modem. Is this possible and where can I
look for documentation on doing this?

Cliff
 
you may need to change the routing tale. quoted form
http://www.chicagotech.net
Network Routing Analysis

In our Lab, we have a network small network connecting to our main network
through 3COM wireless router and the main network has another Cisco router
connecting to the Internet. The computers in the Lab can ping main network
computers and the Internet. But computers in the main network can't ping the
lab computers. Here are settings:

LAB IP: 192.168.2.0 mask 255.255.255.0, GW (default gateway): 192.168.2.1
connecting to 3com router and then to 10.0.0.100 as GW in main network that
10.0.0.0 and 255.255.0.0. Main network has Cisco router GW is 10.0.0.2.

Analysis 1: before changing the route table, any computers in 192.168.2.0
can access the resources on 10.0.0.0 network and the Internet because all
traffic goes to 192.168.2.1 GW to 10.0.0.0 network and then through 10.0.0.2
GW to the Internet. However, computers on network 10.0.0.0 can't access the
192.168.2.0 network because all traffic will go to 10.0.0.2 GW.

Resolutions: all 10.0.0.X clients need to know how to get back to the
192.168.2.0 network. This can be accomplished in several ways:

1) Add a GW to each client pointing to 10.0.0.100 by using add 192.168.2.0
mask 255.255.0.0 10.0.0.100. Here is the route table after adding the route.

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000003 ...00 01 03 28 89 cf ...... 3Com EtherLink PCI
0x1000004 ...00 90 27 55 44 07 ...... Intel(R) PRO Adapter
===========================================================================

===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Mretric
0.0.0.0 0.0.0.0 10.0.0.2 10.0.0.11 1
10.0.0.0 255.255.0.0 10.0.0.11 10.0.0.11 1
10.0.0.11 255.255.255.255 127.0.0.1 127.0.0.1 1
10.0.0.20 255.255.255.255 10.0.0.11 10.0.0.11 1
10.255.255.255 255.255.255.255 10.0.0.11 10.0.0.11 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.2.0 255.255.255.0 10.0.0.100 10.0.0.11 1
224.0.0.0 224.0.0.0 10.0.0.11 10.0.0.11 1
255.255.255.255 255.255.255.255 10.0.0.11 10.0.0.11 1
Default Gateway: 10.0.0.2
===========================================================================
Persistent Routes:
None

2) Add route on the Cisco pointing 192.168.2.0 mask 255.255.255.0
10.0.0.100. The client then would send the 192.168.2 traffic to
10.0.0.2 which should then forward the packet to 10.0.0.2 and send the
client an ICMP Redirect to use 10.0.0.2 when talking to
192.168.2.x.
3) Also rather than adding static routes, you could configure the 2 routers
to dynamically learn each others routes via a routing protocol like RIP or
OSPF.


--
For more and other information, go to http://www.chicagotech.net

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Robert Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on
http://www.chicagotech.net
This posting is provided "AS IS" with no warranties.
 
Back
Top