Tag: dhcp

Ruckus & UniFi DHCP Option 43 Tool!

Hey! I’ve made a little tool that makes creation DHCP Option 43 for Ruckus and UniFi Access Points way more easy.
With the tool you can encode an IP address for your RUCKUS SmartZone or ZoneDirector controller and UniFi, or decode an existing Option 43 string to figure out what ip address is behind the string.
And it even give in some examples for setting it up on Cisco IOS, MikroTik, or dnsmasq. Want to try it ? Head over to https://www.d0wn.com/option_43.php and check it out!

Renewing your IP address on Linux with dhclient

Let’s say you need to change you ip address because there was a change on the network and now ip settings changed,
you can at anytime request with the command : ‘dhclient‘ a new address to a dhcp server ,

if you only have a single network adapter, the command is very simple
just launch the command

to release the address currently associated to you
then just launch

and you computer will broadcast a dhcp request
if you have multiple adapter ,
you can do

dhclient wlan0[/code]
to spécify that you want a new ip address for you wlan0 adapter
by default the command dhclient is silent , meaning that you will not get any information about what the dhcp server answered.
to add verbosity to the command , just add a -v parameter