cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
436
Views
0
Helpful
5
Replies

DHCP configuration on Cisco Router

kkonuru123
Level 1
Level 1

 

Hi All,

I have a cisco router and access point and two PC's.  Access Point is connected to the router. ISP is connected to the Router. 

I have tried the configuration in packet tracer but systems are not getting IP address from access point. Something is wrong, could you help me.

Connected as Router Fa(0/0/0) to AP (Port0) to PC. Below is the configuration.  

 

hostname Router
!
ip dhcp pool pool1
 network 10.10.1.0 255.255.255.0
 default-router 10.10.1.1
 dns-server 4.2.2.2

!

spanning-tree mode pvst
!
interface GigabitEthernet0/0
 ip address 13.12.11.10 255.255.255.240
 duplex auto
 speed auto
!
interface FastEthernet0/0/0
 switchport mode trunk

 switchport trunk allowed vlan3
!

 

 

interface Vlan3
 ip address 10.10.1.0 255.255.255.0
!

 

 

5 Replies 5

rizwanr74
Level 7
Level 7

Hello there,

Please change this IP 10.10.1.0 to this: 10.10.1.1 on SVI for vlan3

 

interface Vlan3
 ip address 10.10.1.1 255.255.255.0

 

Let me know, if this helps.

 

Thanks

Rizwan Rafeek

 

 

 

Hi Rizwan....I tried it but didn't work.

 

 

 

The DHCP configuration is not working for wireless but when I have connected the router to switch and switch to computer, I am getting dhcp ip on computer. But it is not working via access point to system.

 

 

 

Hi Krishna,

 

It is a configuration problem with wireless device itself but at least your DHCP is working fine.

Your wireless device is a Cisco Access Point or a SOHO router with wifi capability?

 

 

Hi Krishna,

you have problem with config on router. It does't work because you make port trunk on router but your access point does't support trunking. when you connect through switch it works becasue you make trunk on swithch and switch supports trunking. Please modify it on router.

interface FastEthernet0/0/0
 switchport access vlan 3
 switchport mode access

HTH

Kazim

Review Cisco Networking products for a $25 gift card