01-02-2025 01:00 AM - edited 01-02-2025 01:07 AM
Hello I have very simple configuration on cisco 892 k9 router to run dhcp configuration, but sadly its not working i did trying restart the service but didn't worked. please check the configurations.
Router#sh run
Building configuration...
Current configuration : 1601 bytes
!
! Last configuration change at 03:49:05 UTC Thu Feb 7 2036
!
version 15.7
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
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 192.168.0.1
!
ip dhcp pool skak
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
license udi pid CISCO892-K9 sn FCZ174993FU
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
!
interface FastEthernet5
no ip address
!
interface FastEthernet6
no ip address
!
interface FastEthernet7
no ip address
!
interface FastEthernet8
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.0.1 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
ipv6 ioam timestamp
!
!
!
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
line aux 0
line vty 0 4
login
transport input none
!
!
end
Router#
Router#
Router#
Router#
Router#
Router#
Router#sh ip dhcp bin
Router#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
Router#
Router#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
01-02-2025 02:13 AM
Hello @cigalahgroup ,
from the info provided, it seems that you are using interface Ethernet 7 to connect to your switched network, but this interface seems to be a Layer 3 interface.
Try adding the following commands on interface Ethernet 7:
switchport
switchport access vlan 1
Hope this helps.
01-02-2025 02:14 AM
i did doesn't works
01-02-2025 02:21 AM
What is the configuration of the switch interface the router is connecting to?
01-02-2025 02:31 AM - edited 01-02-2025 02:32 AM
There is no switch i am directly connected to the laptop. if i give manual ip to the router its working perfectly and pinging the router.
01-02-2025 02:22 AM
If you configure a static IP address on the PC, can you ping 193.168.0.1 ?
01-02-2025 02:36 AM - edited 01-02-2025 02:37 AM
i did static ip on the laptop interface and tried pinging the router vlan1 192.168.10.1 and its pinging.
01-02-2025 02:49 AM
Good. Communication is Fine.
Try to follow this guide exactly. Let see If you succeed
01-02-2025 03:23 AM
Followed the complete guide and same issue
Router#sh run
Building configuration...
Current configuration : 1614 bytes
!
! Last configuration change at 06:02:19 UTC Thu Feb 7 2036
version 15.2
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
!
!
ip cef
!
!
!
!
!
ip dhcp excluded-address 192.168.10.2
!
ip dhcp pool skak
import all
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.10.2
!
!
!
ip domain name cisco.com
ip name-server 192.168.10.2
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
license udi pid CISCO892-K9 sn FCZ174993FU
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface FastEthernet0
switchport access vlan 2
no ip address
!
interface FastEthernet1
switchport access vlan 2
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
!
interface FastEthernet5
no ip address
!
interface FastEthernet6
no ip address
!
interface FastEthernet7
no ip address
!
interface FastEthernet8
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
no ip address
!
interface Vlan2
ip address 192.168.10.1 255.255.255.0
!
interface Vlan3
no ip address
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
mgcp profile default
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
transport input all
!
!
end
01-02-2025 03:38 AM
Your interface Ethernet 7 still has the no ip address command on it, which indicates that it's a Layer 3 interface.
Once you configure the switchport command on it, you will be able to leverage the Vlan 1 interface configured on the router and your config will work.
01-02-2025 04:06 AM
Can I see the "show license" command output?
01-02-2025 03:40 AM
my bad i have changed the port to check if I have issues over the port. Hence the new port is on fastethernet 0
01-02-2025 06:16 AM
Still the problem presist no change at all.
01-02-2025 06:33 AM
The configuration is fine. The only thing I can think of is license. Can you share the show license command please?
01-02-2025 06:45 AM
Router>
Router>
Router>
Router>en
Router#show license
Router#show license
Index 1 Feature: advipservices
Period left: Life time
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
Index 2 Feature: ios-ips-update
Period left: Not Activated
Period Used: 0 minute 0 second
License Type: EvalRightToUse
License State: Not in Use, EULA not accepted
License Count: Non-Counted
License Priority: None
Index 3 Feature: SSL_VPN
Period left: Not Activated
Period Used: 0 minute 0 second
License Type: EvalRightToUse
License State: Not in Use, EULA not accepted
License Count: 0/0 (In-use/Violation)
License Priority: None
Index 4 Feature: WAAS_Express
Period left: Not Activated
Period Used: 0 minute 0 second
License Type: EvalRightToUse
License State: Not in Use, EULA not accepted
License Count: Non-Counted
License Priority: None
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