Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Static NAT cisco/cablemodem examples

Status
Not open for further replies.

labgrl76

IS-IT--Management
Dec 2, 2005
40
US
Hi all, I know this may be a "tired" topic however, I must be missing something when I try and configure a 2514 to do NAT on both interfaces using static ip addresses. Basically what I have set up is my outside port E0 will be 192.168.1.50 while the inside port E1 will be set at 10.0.100.X I've tried many examples but just can't seem to get through to the internet using this router. I've succeeded at configuring with a DHCP setup previously but would really like to have both sides staticly configured. Also, as long as I've plugged in my ISP's DNS settings in the pc's of the internal network (10.0.100.x) would I need to add any more DNS settings to the router's config? Appreciate any help in advance. :)
 
Is this connecting through an ISP proved router first?
 
192.168.1.50 is not an Public ip. E0 is support to have the ip assign by your isp.

Please post your running configs with the passwords removed.
 
Yes, I'm actually just wanting to do NAT but E0 (outside) is connecting into a linksys router. Here is the config I have thus far. Don't laugh :)


no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
interface Ethernet0
description DMZ
ip address 192.168.1.50 255.255.255.0
ip nat outside
no cdp enable
!
interface Ethernet1
description INTERNAL
ip address 10.0.100.1 255.255.255.0
ip nat inside
no cdp enable
!
interface Serial0
no ip address
shutdown
no fair-queue
!
interface Serial1
no ip address
shutdown
no fair-queue
!
router rip
network 10.0.0.0
!
ip nat inside source list 1 interface Ethernet0 overload
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
 
router rip
version 2
network 10.0.0.0
network 192.168.1.0
passive interface ethernet0

Dont really need rip though with static routing

access-list 1 permit ip 10.0.100.0 0.0.0.255 any
 
Think you just need that access list to tell router what needs to be natted.
 
put a static route on the linksys router under the advance routing page for 10.0.100.0 network with a mask of 0.255.255.255 via 192.168.1.50. you have to tell the Linksys router where to send the packets when they come back from the internet.

 
I use to have the same setup at home with a Linksys router connected to the cable modem and two NAT cisco routers coming of that. before i replaced the Linksys with a cisco 1720. yesterday and it work fine for me as the linksys being the router connected to the modem. but now im runing 3 Cisco routers and the linksys is in the trash.
 
Good place for linksys......cannot beleive Cisco bought them....hope they don't migrate that junk into Cisco gear.
 
As for the linksys, well, for one it's inexpesive and mainly used for wifi in a household. Believe me, we use enterprise access points at any of our sites that require wifi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top