01-17-2024 04:00 PM
I bought a Cisco ISR c1111-8p for my company to start the journey to CMMC compliance, and I cannot get this thing configured at all. I am brand new to Cisco and the CLI, but over the last few days I have learned enough. I have been searching Google and adding/removing to my config and I can't get my PC to access to internet. Here is my exact setup...
1.) I have an ethernet chord running from my ISP router/modem into the GigabitEthernet 0/0/0 (WAN) port
2.) I have an ethernet chord running from GigabitEthernet 0/1/0 (LAN) port into my PC
I have been trying for 2 days to get this working, I'm out of options and places to look online. Any help would be GREATLY appreciated. I have restored my config back from an archive, learned my lesson quickly. It's attached here...
Solved! Go to Solution.
01-17-2024 04:43 PM
Try below config and let us know the outcome :
ip dhcp pool WEBUIPool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 4.2.2.2
!
!
Interface GigabitEthernet0/0/0
description ISP-Router
ip address dhcp
ip nat outside
negotiation auto
no shutdown
!
interface Vlan1
no ip address pool WEBUIPool
ip address 192.168.1.1 255.255.255.0
ip nat inside
no autostate
no shutdown
!
access-list 10 permit 192.168.1.0 0.0.0.255
ip nat inside source list 10 interface GigabitEthernet 0/0/0 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet 0/0/0 dhcp (if this is DHCP you can try ip route 0.0.0.0 0.0.0.0 dhcp)
!
Try from Router are you able to ping 8.8.8.8 ?
Connect PC and check you able to get IP from pool 192.168.1.X
ping from PC to 192.168.1.1 and ping 8.8.8.8 - if this works you have internet working as expected
still issue
post latest config
show run
and below output
show IP interface brief
show IP route
show IP arp
show nat translations
01-17-2024 04:43 PM
Try below config and let us know the outcome :
ip dhcp pool WEBUIPool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 4.2.2.2
!
!
Interface GigabitEthernet0/0/0
description ISP-Router
ip address dhcp
ip nat outside
negotiation auto
no shutdown
!
interface Vlan1
no ip address pool WEBUIPool
ip address 192.168.1.1 255.255.255.0
ip nat inside
no autostate
no shutdown
!
access-list 10 permit 192.168.1.0 0.0.0.255
ip nat inside source list 10 interface GigabitEthernet 0/0/0 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet 0/0/0 dhcp (if this is DHCP you can try ip route 0.0.0.0 0.0.0.0 dhcp)
!
Try from Router are you able to ping 8.8.8.8 ?
Connect PC and check you able to get IP from pool 192.168.1.X
ping from PC to 192.168.1.1 and ping 8.8.8.8 - if this works you have internet working as expected
still issue
post latest config
show run
and below output
show IP interface brief
show IP route
show IP arp
show nat translations
01-17-2024 05:05 PM
Thank you so much dude!!! It's working perfectly!!!
02-05-2024 11:54 PM
Dear Sir,
Above config is also working for me with single ISP in single g0/0/0 WAN port.
But now I have to configure additional ISP in g0/0/1 WAN port.
kindly support on below mentioned secnerio.
DEVICE : CISCO 1111-4P
WAN PORTS : 2 no. ( INTERNET FORM 2 SEPRATE ISP'S)
LAN PORTS : 4 (IN SINGLE VLAN)
ISP 1 (POWERGRID) : G0/0/0 ---------------CISCO 1111-4P --------- G0/1/0 : LAN PORT
ISP 2 (RAILTETL) : G0/0/1 ---------------- --------- G0/1/1 : LAN PORT
I UANBLE TO CONFIGURE INTERNETT SHARING IN WAN TO LAN PORTS. I WANT TO MERGE BANDWDITH OF 2 ISP'S AND SHARE IN LAN.
REQUEST TO PROVIDE CLI CONFIGURATION OF MERGING BANDWITH OF 2 ISP AND PROVIDING INTNET IN 2 WAN PORTS AND SHARING IT ON LAN PORTS.
THNAKS IN ADVANCE.
02-07-2024 09:35 AM
i have replied on other thread with more config.
01-17-2024 11:57 PM
Check the Physical Connections:
Make sure that all cables are securely connected to the appropriate ports.
Check that the cable from your ISP router/modem is connected to the WAN port (GigabitEthernet 0/0/0).
Make sure the cable from the LAN port (GigabitEthernet 0/1/0) is connected to your computer.
Check the Interface Status:
To check the status of your interfaces, run the following command in the CLI:
This will show the status and IP addresses for your interfaces. Confirm that your ISP assigned an IP address to your WAN interface.
Check the DHCP configuration:
Make sure that DHCP is configured on the LAN interface to provide an IP address to your PC.
Check the NAT configuration:
Ensure that Network Address Translation (NAT) is configured for your WAN interface. Use the following
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