Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Internet routing via 2501 Router

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
New Member

Re: Internet routing via 2501 Router

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.

137
Views
0
Helpful
1
Replies
CreatePlease login to create content