12-11-2019 07:32 PM
Hi. I'm trying to setup my home network to use my Cisco 1941 router, but I'm running into some problems with what I'm assuming has to do with NAT overloading.
My network is as follows:
Cable Modem<-->Netgear R6400<-->Cisco 2960-S Switch<-->LAN devices
I'd like to replace the Netgear router with my Cisco router to handle all network routing.
Just to make things simple for now, I'm using the 192.168.1.0/24 network scheme.
The router has 2 Gigabit interfaces that I'm using. GigabitEthernet0/0 is my WAN interface and is what connects to the cable modem. It gets its public IP address from Comcast through DHCP and I have configured it as such.
GigabitEthernet0/1 is my LAN interface and it connects to the 2960-S switch. I gave this interface an IP address of 192.168.1.1 just for simplicity. I have a dedicated DHCP server already setup and all of my internal hosts can get their IP and other network info from it with no problems.
The router can ping both internal and external hosts with no problems at all, so I know that it has Internet connectivity. My LAN devices can ping each other and the router just fine, but they cannot ping outside hosts nor do they have any Internet access. This is the problem that I'm facing and wanting to resolve. I'm using NAT overloading and assume I have set it up correctly. If I issue a show ip nat translation command, I get tons and tons of entries from my LAN devices, so I'm assuming that NAT is at least somewhat working. I'm not sure if I have my ip nat inside and ip nat outside commands are flipped or if I need to configure something else or what. I don't really know what to do now, so I would really appreciate any help.
I've attached my show run config as a text file.
12-11-2019 07:43 PM
12-12-2019 12:06 AM
Hello,
I think you are also missing the default route. So the entire config should look like below (important parts marked in bold):
Home_Router#show run
Building configuration...
Current configuration : 1486 bytes
!
! Last configuration change at 02:14:03 UTC Thu Dec 12 2019
! NVRAM config last updated at 00:02:23 UTC Thu Dec 12 2019
! NVRAM config last updated at 00:02:23 UTC Thu Dec 12 2019
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Home_Router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
!
no ipv6 cef
ip source-route
ip cef
!
multilink bundle-name authenticated
!
crypto pki token default removal timeout 0
!
license udi pid CISCO1941/K9 sn XXXXXXXXXX
!
redundancy
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description WAN
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
description LAN
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
!
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 dhcp
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login
transport input all
!
scheduler allocate 20000 1000
end
12-12-2019 12:18 AM - edited 12-12-2019 12:19 AM
Hello
As long as your clients are receivng valid dns server(s)in their dhcp lease then what you are missing is just a default route-you nat looks okay
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 dhcp
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide