cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
349
Views
5
Helpful
3
Replies

Guest VLAN not getting dhcp

royellis1
Level 1
Level 1

I have a 3560 Switch, a 2901 Router, and an ASA 5520

 

on the switch

Gi0/1 to the router

Trunk with vlan 10,12,14

That is working

 

I also have the guest 

as ASA 0/2.16

confnected to port 0/4 on the switch.

 

 

10,12,and 14 get the dhcp from the router.

but the ASA and the switch doesn't seem to try to pass any packets to get the dhcp from the asa.

 

 

SW:

interface GigabitEthernet0/1

description TO Router Inside
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport mode trunk
switchport voice vlan 12
spanning-tree portfast
!
interface GigabitEthernet0/2

description TO ASA 0/3
switchport access vlan 10
switchport voice vlan 12
spanning-tree portfast
!
interface GigabitEthernet0/3

description TO Wireless AP
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport mode trunk
switchport voice vlan 12
spanning-tree portfast
!
interface GigabitEthernet0/4

description TO ASA 0/2
switchport access vlan 16
switchport mode access
switchport voice vlan 12
spanning-tree portfast

!

interface GigabitEthernet0/34

description TEST PORT
switchport access vlan 16
switchport mode access
switchport voice vlan 12
spanning-tree portfast

 

 

ASA

 

interface GigabitEthernet0/2
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/2.16
description TO ASA 0/4
vlan 16
nameif guest
security-level 50
ip address 10.240.16.1 255.255.255.0

 

dhcpd dns 208.67.222.222 208.67.220.220
!
dhcpd address 10.240.16.2-10.240.16.250 guest
dhcpd enable guest

 

 

 

Anything I could be wrong about? 

 

 

3 Replies 3

Hi

The ASA configuration looks fine but are you passing the VLAN 16 on the switch? 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

I have the vlan on and it's set to no ip address.

 

I have spent days on this and it suddenly works now. I had reconfigured the Switchport as Trunk instead of access again for the 50th time, and then it worked. Even though there is only one VLAN present on the port. It was odd. I have tried it and every combination of settings it finally worked about 10 minutes after I posted this. 

oh ok, Happy to know it is working.

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking for a $25 gift card