cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1393
Views
0
Helpful
3
Replies

NAT configuration with ISP modem (DHCP)

mekkid
Level 1
Level 1

Hi,

i have a cisco r892fsp router, i want to configure it with a videoton modem (ISP), here is my current configuration on my router.

i dont have acces to internet.

Thanks

1 Accepted Solution

Accepted Solutions

eveything look good except route.

 

ip route 0.0.0.0 0.0.0.0 GigabitEthernet9 dhcp

 

 

ip dhcp pool LocalDHCP
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8 8.8.4.4   - suggest to use Google DNS

 

if still not working

 

post show ip interface brief and you able to get IP address from ISP and working ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

3 Replies 3

mekkid
Level 1
Level 1

Router#sh running-config
Building configuration...

Current configuration : 2307 bytes
!
! Last configuration change at 16:58:40 UTC Tue Feb 9 2021
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$cW.E$31y5zTBLNIn1D8BjGV.l1.
enable password %101Cmei
!
no aaa new-model
!
!
!
!
!
!
!
ip dhcp excluded-address 192.168.10.50 192.168.10.99
ip dhcp excluded-address 192.168.10.1 192.168.10.99
!
ip dhcp pool LocalDHCP
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.10.1
!
ip dhcp pool vlan 2
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
cts logging verbose
license udi pid C892FSP-K9 sn FJC2027L16W
license accept end user agreement
license boot module c800 level advsecurity
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0
switchport access vlan 2
no ip address
spanning-tree portfast
!
interface GigabitEthernet1
switchport access vlan 2
no ip address
!
interface GigabitEthernet2
switchport access vlan 2
no ip address
!
interface GigabitEthernet3
switchport access vlan 2
no ip address
!
interface GigabitEthernet4
switchport access vlan 2
no ip address
!
interface GigabitEthernet5
switchport access vlan 2
no ip address
!
interface GigabitEthernet6
switchport access vlan 20
no ip address
!
interface GigabitEthernet7
switchport access vlan 20
no ip address
!
interface GigabitEthernet8
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet9
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet9 overload
!
!
snmp-server community public RO
access-list 1 permit 192.168.10.0 0.0.0.255
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
!
vstack
!
line con 0
no modem enable
line aux 0
line vty 0 4
password %101Cmei
login
transport input none
!
scheduler allocate 20000 1000
!
!
!
end

eveything look good except route.

 

ip route 0.0.0.0 0.0.0.0 GigabitEthernet9 dhcp

 

 

ip dhcp pool LocalDHCP
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8 8.8.4.4   - suggest to use Google DNS

 

if still not working

 

post show ip interface brief and you able to get IP address from ISP and working ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks,