04-02-2018 02:37 PM - edited 03-05-2019 10:12 AM
I have a cisco 800 series router and its connected to a subnet (10.2.1.XXX local network address) and is connected to the Internet.How can I configure the LAN interfaces(FE0 to FE3) to be able to connect to the internet?Now I'm able to assign a 192.168.X.X address to internal devices connected to router but it isn't connected to Internet!
.Here is the summary of the configurations I did,
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip dhcp excluded-address 192.168.1.1 192.168.1.30
ip dhcp pool mypool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
interface FastEthernet4
ip address dhcp
p nat outside
no shutdown
The router is picking the address 10.2.1.74(connected to internet) and a host device is having address 192.168.1.31 but it isn't connected to Internet.
Also I tried adding this,
ip nat inside source list 1 fastethernet4 overload
Please provide with a suggestion as I'm new to this!
Naveen
Solved! Go to Solution.
04-04-2018 08:23 AM
Hello,
FastEthernet4 is the WAN interface. What is connected to this interface, another modem/router ?
04-04-2018 09:08 AM
Hi,
Please find beneath my suggestion of your router configuration. I took your original configuration as the starting point and all changes/additions are marked as bold:
version 15.5
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$vj0L$Vr9N06SezranvjdQ/gLK/1
!
no aaa new-model
ethernet lmi ce
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 192.168.1.1 192.168.1.30
!
ip dhcp pool my pool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C881-K9 sn FJC2210L07Y
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
ip nat inside source list 1 interface FastEthernet4 overload
ip route 0.0.0.0 0.0.0.0 10.2.1.1
!
!
!
control-plane
!
!
!
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
!
!
!
!
!
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
Best regards,
Antonin
04-04-2018 03:05 PM
Hello the following configuration worked for me.Thanks for the support you guys.
Router#sh run
Building configuration...
Current configuration : 1557 bytes
!
! Last configuration change at 15:10:48 UTC Wed Apr 4 2018
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
ethernet lmi ce
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 10.2.2.1 10.2.2.30
!
ip dhcp pool mypool
network 10.2.2.0 255.255.255.0
default-router 10.2.2.1
dns-server 8.8.8.8 8.8.4.4 10.2.1.44
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C881-K9 sn FJC2210L07Y
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
ip address 10.2.2.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 FastEthernet4 overload
ip route 0.0.0.0 0.0.0.0 FastEthernet4 dhcp
!
!
access-list 1 permit 10.2.2.0 0.0.0.255
!
control-plane
!
!
!
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
!
!
!
!
!
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
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