Hello Nasir.
If you look at the DHCPD debug it mentions a different VRF.
Dec 6 13:42:16.829 CET: DHCPD: table id 1 = vrf VRF_Guest
It mentions vrf VRF_Guest as opposed to vrf Guests which would be the expeted one.
Do you have a vrf namned VRF_Guest or know where that might come from?
Gustav Uhlander
Communication & Infrastructure Engineer
Steria AB
Kungsbron 13
Box 169
SE-101 23 Stockholm
Sweden
Tel: +46 8 622 42 15
Fax: +46 8 622 42 23
Mobile: +46 70 962 71 03
[email protected]
www.steria.se
[email protected] skrev: -----
Till: <[email protected]>
Från: "Nasir Shaikh"
Sänt av: [email protected]
Datum: 2012-12-06 16:48
Ärende: [c-nsp] WLC with DHCP relay not working on in VRF
Hi,
I encountered a problem whereby I have a Guest-LAN placed in the VRF and a
guest tries to connect via a WLC which is configured as a dhcp-relay. The
guest does not get any IP address assigned by DHCP.
Apparently the DHCP server functionality does not work properly in the VRF
when a DHCP-relay is used, see below debug.
First I thought it might be a bug in 12.4(20)T3 on the 2851 and 3845 on
which I encountered the issue but had the same result on a 3945E running
15.1 so it seems on all IOS's
Problem does not occur when using autonomous APs.
WITH THE VRF we see the following debug info:
Dec 6 13:42:16.829 CET: DHCPD: Sending notification of DISCOVER:
Dec 6 13:42:16.829 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 13:42:16.829 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 13:42:16.829 CET: DHCPD: circuit id 00000000
Dec 6 13:42:16.829 CET: DHCPD: table id 1 = vrf VRF_Guest
Dec 6 13:42:16.829 CET: DHCPD: DHCPDISCOVER received from client
f87b.7a04.db2d through relay 192.168.9.193.
Dec 6 13:42:16.829 CET: DHCPD: Seeing if there is an internally specified
pool class:
Dec 6 13:42:16.829 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 13:42:16.829 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 13:42:16.829 CET: DHCPD: circuit id 00000000
Dec 6 13:42:16.829 CET: DHCPD: table id 1 = vrf VRF_Guest
Dec 6 13:42:16.829 CET: DHCPD: there is no address pool for 192.168.9.193.
WITHOUT THE VRF we see the following debug info:
Dec 6 14:46:05.413 CET: DHCPD: Sending notification of DISCOVER:
Dec 6 14:46:05.417 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 14:46:05.417 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 14:46:05.417 CET: DHCPD: circuit id 00000000
Dec 6 14:46:05.417 CET: DHCPD: DHCPDISCOVER received from client
f87b.7a04.db2d through relay 192.168.9.193.
Dec 6 14:46:05.417 CET: DHCPD: Seeing if there is an internally specified
pool class:
Dec 6 14:46:05.417 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 14:46:05.417 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 14:46:05.417 CET: DHCPD: circuit id 00000000
Dec 6 14:46:05.417 CET: DHCPD: Allocate an address without class
information (192.168.8.0)
Dec 6 14:46:07.417 CET: DHCPD: Adding binding to radix tree (192.168.8.3)
Dec 6 14:46:07.417 CET: DHCPD: Adding binding to hash tree
Dec 6 14:46:07.417 CET: DHCPD: assigned IP address 192.168.8.3 to client
f87b.7a04.db2d.
Dec 6 14:46:07.417 CET: DHCPD: Sending DHCPOFFER to client f87b.7a04.db2d
(192.168.8.3).
Config is straightforward.
ip dhcp pool Guests
vrf Guests
import all
network 192.168.8.0 255.255.252.0
default-router 192.168.10.1
dns-server 8.8.8.8 8.8.4.4
lease 0 4
!
interface Vlan192
description Guest access Internet (ISP Speed = 120M)
ip forwarding vrf Guests
ip address 192.168.10.2 255.255.252.0
ip access-group 192 in
Any ideas?
Regards
Nasir
_______________________________________________
cisco-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Från: "Nasir Shaikh"
Sänt av: [email protected]
Datum: 2012-12-06 16:48
Ärende: [c-nsp] WLC with DHCP relay not working on in VRF
Hi,
I encountered a problem whereby I have a Guest-LAN placed in the VRF and a
guest tries to connect via a WLC which is configured as a dhcp-relay. The
guest does not get any IP address assigned by DHCP.
Apparently the DHCP server functionality does not work properly in the VRF
when a DHCP-relay is used, see below debug.
First I thought it might be a bug in 12.4(20)T3 on the 2851 and 3845 on
which I encountered the issue but had the same result on a 3945E running
15.1 so it seems on all IOS's
Problem does not occur when using autonomous APs.
WITH THE VRF we see the following debug info:
Dec 6 13:42:16.829 CET: DHCPD: Sending notification of DISCOVER:
Dec 6 13:42:16.829 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 13:42:16.829 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 13:42:16.829 CET: DHCPD: circuit id 00000000
Dec 6 13:42:16.829 CET: DHCPD: table id 1 = vrf VRF_Guest
Dec 6 13:42:16.829 CET: DHCPD: DHCPDISCOVER received from client
f87b.7a04.db2d through relay 192.168.9.193.
Dec 6 13:42:16.829 CET: DHCPD: Seeing if there is an internally specified
pool class:
Dec 6 13:42:16.829 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 13:42:16.829 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 13:42:16.829 CET: DHCPD: circuit id 00000000
Dec 6 13:42:16.829 CET: DHCPD: table id 1 = vrf VRF_Guest
Dec 6 13:42:16.829 CET: DHCPD: there is no address pool for 192.168.9.193.
WITHOUT THE VRF we see the following debug info:
Dec 6 14:46:05.413 CET: DHCPD: Sending notification of DISCOVER:
Dec 6 14:46:05.417 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 14:46:05.417 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 14:46:05.417 CET: DHCPD: circuit id 00000000
Dec 6 14:46:05.417 CET: DHCPD: DHCPDISCOVER received from client
f87b.7a04.db2d through relay 192.168.9.193.
Dec 6 14:46:05.417 CET: DHCPD: Seeing if there is an internally specified
pool class:
Dec 6 14:46:05.417 CET: DHCPD: htype 1 chaddr f87b.7a04.db2d
Dec 6 14:46:05.417 CET: DHCPD: remote id 020a0000c0a80a02000300c0
Dec 6 14:46:05.417 CET: DHCPD: circuit id 00000000
Dec 6 14:46:05.417 CET: DHCPD: Allocate an address without class
information (192.168.8.0)
Dec 6 14:46:07.417 CET: DHCPD: Adding binding to radix tree (192.168.8.3)
Dec 6 14:46:07.417 CET: DHCPD: Adding binding to hash tree
Dec 6 14:46:07.417 CET: DHCPD: assigned IP address 192.168.8.3 to client
f87b.7a04.db2d.
Dec 6 14:46:07.417 CET: DHCPD: Sending DHCPOFFER to client f87b.7a04.db2d
(192.168.8.3).
Config is straightforward.
ip dhcp pool Guests
vrf Guests
import all
network 192.168.8.0 255.255.252.0
default-router 192.168.10.1
dns-server 8.8.8.8 8.8.4.4
lease 0 4
!
interface Vlan192
description Guest access Internet (ISP Speed = 120M)
ip forwarding vrf Guests
ip address 192.168.10.2 255.255.252.0
ip access-group 192 in
Any ideas?
Regards
Nasir
_______________________________________________
cisco-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
