Övrigt

Build DHCP static lease configuration for Halon Security Router (SR, VSR)

Purpose: Build configuration for Halon Security Router (SR, VSR)
More specific convert static ip adresses to DHCP adresses with static assignment.

Usage: ./dhcpconf.sh 192.168.0.1 192.168.0.254
Scans 192.168.0.1 to 192.168.0.254
First checks for ping reply, so the client ask for arp
Then checks arp for any reply and provides the mac adress in a format you can paste into SR configuration part.

Example usage

./dhcpconf.sh 192.168.0.1 192.168.0.254

Example output:

host {
	ll-address 0:61:e0:5e:91:7f
	address 192.168.0.1
}
host {
	ll-address 00:45:e0:5e:91:7f
	address 192.168.0.2
}