04-05-2017 12:16 PM - edited 03-08-2019 10:04 AM
so I picked up a 2851 router to start dipping into ios test the waters a little. I think I configured it properly but clearly I must be missing something because even though all my lan devices are pulling dhcp ip addresses and can ping the dhcp interface, they can not seem to make the connection over to the wan interface and reach the outside world. here is my config and I feel like I'm missing something that should be right in front of my face but I'm just not seeing it..
Building configuration...
Current configuration : 1155 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname skynet
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$z/Eq$UurPEJx3u1NGwzuHuSBQU0
enable password (removed)
!
no aaa new-model
!
resource policy
!
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1 192.168.1.35
!
ip dhcp pool insideDHCP
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
!
!
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
description Facing the ISP (the WAN)
ip address dhcp
ip nat outside
duplex auto
speed auto
!
interface GigabitEthernet0/1
description Facing my LAN
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
!
interface Serial0/1/0
no ip address
shutdown
!
interface Serial0/2/0
no ip address
shutdown
!
!
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password (removed)
login
!
scheduler allocate 20000 1000
!
end
Solved! Go to Solution.
04-05-2017 12:21 PM
access-list 101 permit ip 192.168.1.0 0.0.0.255 any
ip nat inside source list 101 interface gi0/0 overload
Jon
04-05-2017 12:21 PM
access-list 101 permit ip 192.168.1.0 0.0.0.255 any
ip nat inside source list 101 interface gi0/0 overload
Jon
04-05-2017 01:13 PM
thank you for your time
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