cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
365
Views
0
Helpful
1
Replies

Internet routing via 2501 Router

IRMAN SETIAWAN
Level 1
Level 1

I have a few 2501 router that I used for my CCNA lab. Now I am trying to explore possiblities with it. I use 1 catalyst switch to create 2 vlan. 1 router ethernet interface are connected to each vlan, and router to router connection are via frame relay. Lets say I have a nat device (linksys cable router) at vlan one with ip 192.168.1.2 and to connect to internet via this nat device I have to use the IP address as a gateway.

But all host on Vlan 2 which have a network of 192.168.2.0 cannot use this IP because the gateway ip address will be the ethernet interface of my other 2501 which is 192.168.2.1

Is there a way to where I can create a routing scheme where all internet connection will be forwarded via 192.168.1.2 gateway ? I use a local win2k dns server with forwarder to my ISP DNS with ip 192.168.1.100

Is this anyway possible ?

Thanks

1 Reply 1

bacarpenter
Level 1
Level 1

Yes and very easily. For the hosts on VLAN2 leave their default gateway as 192.168.2.1. In the router with this interface and a default route / Gateway of last resort, whihc in your case would be

ip route 0.0.0.0 0.0.0.0 192.168.1.2

So say a host on VLAN2 wants to access the www site at 208.248.112.130. Because the default gateway does not have a route to this network or host, the gateway will forward the packet to the linksys cable router.

Review Cisco Networking for a $25 gift card