09-19-2022 11:03 PM
Hello mates,
From few days I'm fighting with Cisco C921-4P configuration.
I just want connect ISP via WAN port , setup my Network (also wireless one) and connect rest devices (Access points, switches etc) to the rest Gigabit Ethernet LAN ports.
I connected to the Router via console port I can set ip address to specific interface (but If I set ip address to the wan port I can not set to lan porst). But just this gives me nothing. I take the instructions from documentation "basic Router configuration" (https://www.cisco.com/c/en/us/td/docs/routers/access/900/software/configuration/guide/900SCG/routconf.html) but all this won't help me either.
Please someone can hold my hand and guide me like I were a child I mean commend after commend?
Solved! Go to Solution.
09-20-2022 08:43 AM
Hello,
with the changes marked in bold, you should get connectivity. Make sure your LAN hosts are connected on port 0 - 3, as I think ports 4 and 5 are the WAN ports:
Current configuration : 993 bytes
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname movitech
!
boot-start-marker
boot-end-marker
!
no aaa new-model
memory-size iomem 25
!
ip domain name sshcisco.net
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
license udi pid C921-4P sn PSZ25461HC2
!
redundancy
!
--> ip dhcp excluded-address 192.168.100.1
!
--> ip dhcp pool LAN
--> network 192.168.100.0 255.255.255.0
--> default-router 192.168.100.1
--> dns-server 8.8.8.8
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
no ip address
duplex auto
speed auto
!
interface GigabitEthernet5
--> description WAN Interface
--> ip address dhcp
--> ip nat outside
!
duplex auto
speed auto
!
interface Vlan1
--> description LAN interface
--> ip address 192.168.100.1 255.255.255.0
--> ip nat inside
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip ssh version 2
!
--> ip nat inside source list 1 interface GigabitEthernet5 overload
!
--> access-list 1 permit 192.168.100.0 0.0.0.255
!
--> ip route 0.0.0.0 0.0.0.0 GigabitEthernet5 dhcp
!
control-plane
!
line con 0
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end
09-19-2022 11:20 PM
Hello,
can you post the configuration you currently have (the output of 'show run') ?
09-19-2022 11:29 PM
I reset router to the factory setting so right now it looks like this:
Building configuration...
Current configuration : 905 bytes
!
version 15.8
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
!
!
!
!
!
!
!
--More--
09-20-2022 01:23 AM
and what do you think?
09-20-2022 05:29 AM
I noticed that I didn't upload whole information.
Current configuration : 993 bytes
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname movitech
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
memory-size iomem 25
!
!
!
!
!
!
movitech(config)#do show running-config
Building configuration...
Current configuration : 993 bytes
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname movitech
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
memory-size iomem 25
!
!
!
!
!
!
!
!
!
!
!
ip domain name sshcisco.net
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
license udi pid C921-4P sn PSZ25461HC2
!
!
!
redundancy
!
!
!
!
!
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
ip address 192.168.100.2 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet5
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
no ip address
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip ssh version 2
!
!
!
!
control-plane
!
!
line con 0
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end
09-20-2022 08:43 AM
Hello,
with the changes marked in bold, you should get connectivity. Make sure your LAN hosts are connected on port 0 - 3, as I think ports 4 and 5 are the WAN ports:
Current configuration : 993 bytes
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname movitech
!
boot-start-marker
boot-end-marker
!
no aaa new-model
memory-size iomem 25
!
ip domain name sshcisco.net
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
license udi pid C921-4P sn PSZ25461HC2
!
redundancy
!
--> ip dhcp excluded-address 192.168.100.1
!
--> ip dhcp pool LAN
--> network 192.168.100.0 255.255.255.0
--> default-router 192.168.100.1
--> dns-server 8.8.8.8
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
no ip address
duplex auto
speed auto
!
interface GigabitEthernet5
--> description WAN Interface
--> ip address dhcp
--> ip nat outside
!
duplex auto
speed auto
!
interface Vlan1
--> description LAN interface
--> ip address 192.168.100.1 255.255.255.0
--> ip nat inside
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip ssh version 2
!
--> ip nat inside source list 1 interface GigabitEthernet5 overload
!
--> access-list 1 permit 192.168.100.0 0.0.0.255
!
--> ip route 0.0.0.0 0.0.0.0 GigabitEthernet5 dhcp
!
control-plane
!
line con 0
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end
09-21-2022 02:20 AM
after this lines "show run" looks like below. Now it gives me some random network name "Network 91" when I connect laptop to the lan port (like you said LAN 0-3, WAN 4-5) but still there is no internet, even when I connect isp rj45 cable to the wan port it's not even blinking.
Current configuration : 1455 bytes
!
! Last configuration change at 09:10:44 UTC Wed Sep 21 2022
!
version 15.8
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
memory-size iomem 25
!
!
!
!
!
!
!
!
ip dhcp excluded-address 192.168.100.1
!
ip dhcp pool LAN
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
dns-server 8.8.8.8
!
!
!
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
license udi pid C921-4P sn PSZ25461HC2
!
!
!
redundancy
!
!
!
!
!
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet5
description WAN Interface
ip address dhcp
ip nat outside
ip virtual-reassembly in
shutdown
duplex auto
speed auto
!
interface Vlan1
description LAN interface
ip address 192.168.100.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 GigabitEthernet5 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet5 dhcp
!
!
!
access-list 1 permit 192.168.100.0 0.0.0.255
!
control-plane
!
!
line con 0
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
09-21-2022 04:24 AM
Ok I find a problem (there was no "no shutdown" at gig 5 port). Thanks for answer and help. I have also 3 more questions:
1) There is an option to enable webUI for this router?
2) There is an option to change network name (from random "Network 91" to whatever I want)?
3) There is an option to setup WIFI?
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