Controllerless Networks

last person joined: 2 days ago 

Instant Mode - the controllerless Wi-Fi solution that's easy to set up, is loaded with security and smarts, and won't break your budget
Expand all | Collapse all

Problem with IAP dhcp relay

This thread has been viewed 11 times
  • 1.  Problem with IAP dhcp relay

    Posted Mar 14, 2016 05:19 AM

    Hi all,

     

    I have 3 vlans :

    - Vlan AP mgmt

    - Vlan users

    - Vlans user internet

     

    2 SSID :

    - One for users, getting IP from vlan users

    - One with internet access, getting IP from vlan internet

     

    Vlans are trunk on both side (IAP wired and Switch), pvid (native vlan) to vlan mgmt.

    I am trying to configure centralized L3 dhcp, so clients connecting to ssid get IP from DHCP server.

    DHCP is external and on another vlan/network, i need to do dhcp relay on IAP.

     

    I have configure following instructions of User Guide :

    (Instant AP)(config)# ip dhcp <profile-name>

    (Instant AP)(DHCP Profile <profile-name>)# server-type <centralized>

    (Instant AP)(DHCP Profile <profile-name>)# server-vlan <vlan-ID>

    (Instant AP)(DHCP Profile <profile-name>)# dhcp-relay

    (Instant AP)(DHCP Profile <profile-name>)# dhcp-server <DHCP-relay-server>

    (Instant AP)(DHCP Profile <profile-name>)# vlan-ip <DHCP IP address> mask <VLAN mask>

    (Instant AP)(DHCP Profile <profile-name>)# end

    (Instant AP)# commit apply

     

    My problem here is that clients  don't get IP from DHCP, when i configure DHCP from WUI i have no problems. But when i configure from CLI, i have this message when i commit apply :

    "Error here. no dhcp-relay configured yet"

     

    I can reach DHCP from IAP.

     

    Any ideas ?

     

    Thanks

     

    ps : IAP version : 6.4.2.6-4.1.1.11

    Network on ssid is virtual controller managed and client VLAN assignement is custom on VLAN corresponding

     



  • 2.  RE: Problem with IAP dhcp relay

    EMPLOYEE
    Posted Mar 14, 2016 06:57 AM

    Since you are using an external router, you should relay the DHCP as a "helper address" on the ip interfaces of your external router.  The DHCP commands you are using, strangely enough, are not to be used when you have an external router for your clients.



  • 3.  RE: Problem with IAP dhcp relay

    Posted Mar 14, 2016 09:07 AM

    Is there any other solution to do dhcp relay on iap ? I don't want to bring theses VLANS on the router



  • 4.  RE: Problem with IAP dhcp relay

    EMPLOYEE
    Posted Mar 14, 2016 09:23 AM

    If you are trunking VLANs to the router, you are already doing that...



  • 5.  RE: Problem with IAP dhcp relay

    Posted Mar 14, 2016 09:41 AM

    I am trunking vlans (users and internet) on switchs. These vlans aren't present on any routers. And I don't want to. That's why i am looking for another solution.

    I can make a simple scheme of the infrastructure if needed. It will be clearer.

     



  • 6.  RE: Problem with IAP dhcp relay

    EMPLOYEE
    Posted Mar 14, 2016 09:48 AM

    So what should be the default gateway of your clients?  Did this replace a wireless system?  How did you have it configured?

     



  • 7.  RE: Problem with IAP dhcp relay

    Posted Mar 14, 2016 10:10 AM

    The default gateway is the gateway on the mgmt vlan. It's a firewall.

    This don't replace a wireless system, i am just testing this solution to be the closest of production.

    In production, I have cisco APs + WLC. WLC have vlans interface configured and doing dhcp relay. 

    Traffic through Client AP and WLC is sent via a tunnel capwap.

     

    That's why i want to configure dhcp relay on IAP, would be the easiest for me



  • 8.  RE: Problem with IAP dhcp relay

    Posted Mar 15, 2016 03:56 AM

    Any others has an idea ?



  • 9.  RE: Problem with IAP dhcp relay

    Posted Mar 15, 2016 06:12 PM

    Hi,

     

    CL3 DHCP server is meant to be used with VPN server/controller. I think you have not defined that.

     

    Can you attach, show tech from the VC?

     

    Regards.



  • 10.  RE: Problem with IAP dhcp relay

    Posted Mar 16, 2016 10:49 AM

    Yes, i haven't.

     

    Is there any others ways to do dhcp relay on IAP instead of the router ?



  • 11.  RE: Problem with IAP dhcp relay
    Best Answer

    Posted Mar 16, 2016 02:20 PM

    unfortunately no. 

     

    The DHCP scopes, distributed/local/centralized, are to be used with VPN server/controller.

     

    apart from them, i dont see a way to define DHCP helper on the IAP, and one will have to do it on the gateway. IAP would just bridge the traffic on the switch. 



  • 12.  RE: Problem with IAP dhcp relay

    Posted Mar 17, 2016 06:39 AM

    Ok thanks for the answers.



  • 13.  RE: Problem with IAP dhcp relay

    Posted Mar 17, 2016 02:08 PM

    we have filed internal enhancement to have this in future.