11-22-2010 09:18 AM - edited 03-06-2019 02:09 PM
Hi Guys,
I'm testing a 2801 VoIP. I'm using the router on a stick concept to obtained previousl vlans (20 and 21) as well as I defined vlan 22 on the router. I wish to use the 4 switch ports on the router, so I configured a dhcp pool and assigned the interfaces to the vlan which the pool should server. However, I'm not getting any addresses on vlan 22. When I do a show dhcp server I have all 0s. Please see my configs below. All help appreciated
----- show dhcp server
DHCP server: ANY (255.255.255.255)
Leases: 0
Offers: 0 Requests: 0 Acks : 0 Naks: 0
Declines: 0 Releases: 0 Query: 0 Bad: 0
------- Show Running-Config (Extract)
ip dhcp pool IT-VOICE
network 192.168.22.0 255.255.255.0
subnet prefix-length 8
default-router 192.168.22.6
domain-name maxxam.lab
dns-server 192.168.2.8
option 150 ip 192.168.22.253
!
!
interface FastEthernet0/0
description ***** CONNECTED TO LAN ******
no ip address
duplex auto
speed auto
auto qos voip trust
service-policy output AutoQoS-Policy-Trust
!
interface FastEthernet0/0.20
description **** CORP VLAN SUB INTERFACE *****
encapsulation dot1Q 20
ip address 192.168.20.253 255.255.255.0
!
interface FastEthernet0/0.21
description **** CORP-IT VLAN SUB INTERFACE *****
encapsulation dot1Q 21
ip address 192.168.21.253 255.255.255.0
!
interface FastEthernet0/0.22
description **** CORP-IT VOICE-VLAN SUB INTERFACE *****
encapsulation dot1Q 22
ip address 192.168.22.253 255.255.255.0
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1/0
!
interface FastEthernet0/1/1
switchport access vlan 22
!
interface FastEthernet0/1/2
switchport access vlan 22
switchport voice vlan 22
!
interface FastEthernet0/1/3
switchport access vlan 22
switchport voice vlan 22
!
interface Vlan1
no ip address
!
interface Vlan22
no ip address
!
------ show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1/0
10 VLAN0010 active
20 VLAN0020 active
22 VLAN0022 active Fa0/1/1, Fa0/1/2, Fa0/1/3
100 VLAN0100 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Does anyone see what may be wrong here.
Thanks
Solved! Go to Solution.