Controllerless Networks

 View Only
  • 1.  campus ap with static ip

    Posted Aug 11, 2020 03:01 PM

    I have a network that has no DHCP on it and I have to get AP's set up with static ip addresses and get them connected to the controller.   The controller has an ip address (and vlan defined) in the network.   I have set the environment variables for the ip address/netmask/gateway but when the ap boots it sits trying to get an ip address.   

     

    Starting watchdog process...
    Getting an IP address...
    [ 9.644376] ADDRCONF(NETDEV_UP): bond0: link is not ready

     

    it sits here for a bit and then reloads again.



  • 2.  RE: campus ap with static ip

    Posted Aug 11, 2020 03:16 PM

    That could be a hardware issue.  I would contact TAC.



  • 3.  RE: campus ap with static ip

    Posted Aug 11, 2020 03:29 PM

    turns out for that piece of it it was not connected to a switch at that time.  I am now seeing the following :

    Getting an IP address...
    [ 9.646480] ADDRCONF(NETDEV_UP): bond0: link is not ready
    [ 15.657872] PHY: bond0 (mdio@ffe24000:00) - Link is Up - 1000/Full
    [ 15.731941] ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready

     

    then it comes back with DHCP timeout

     



  • 4.  RE: campus ap with static ip

    Posted Aug 11, 2020 03:38 PM

    I would type "printenv" at the boot prompt to see if your environment variables are indeed there.



  • 5.  RE: campus ap with static ip

    Posted Aug 11, 2020 03:40 PM

    thanks for the reply,  here is the print env:

     

     

    Hit <Enter> to stop autoboot: 0
    apboot> printenv
    bootdelay=2
    baudrate=9600
    autoload=n
    boardname=Tomatin
    servername=aruba-master
    bootcmd=boot ap
    autostart=yes
    bootfile=e500.ari
    ethaddr=44:48:c1:c3:0f:9c
    ethact=eth0
    ipaddr=157.170.200.39
    gateway=255.255.252.0
    netmask=255.255.252.0
    master=157.170.204.68
    remot_ap=1
    delayboot=4
    stdin=serial
    stdout=serial
    stderr=serial

    Environment size: 317/131068 bytes

     



  • 6.  RE: campus ap with static ip
    Best Answer

    Posted Aug 11, 2020 03:53 PM

    gateway should be gatewayip

     



  • 7.  RE: campus ap with static ip

    Posted Aug 11, 2020 04:03 PM

    That Fixed it thank you so much.