Posts Tagged ‘pub’

mac-address binding in FreeBSD

One time it became necessary to bind mac-addresses of clients’ PCs and other devices on the Gateway with FreeBSD.
It is not very difficult, but it is very inconvenient to do it manually. Let’s automate this process with Shell.


we have the network address range or (as an example)

we need to put automatically the static records into the file and to add them into the arp-table,  when a customer refers to the gateway, type 11:11:11:11:11:11 pub

pub makes the machine to be an ARP server,
even if PC, IP and mac of which are binded, is switched off
hacker can’t work in a network.

Scan the network and add all the responding addresses to the static arp-table

change this records “on the go” from file

Read the rest of this entry »