Posts Tagged ‘published’

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.

Task-

we have the network address range 10.0.0.0/24 or 255.255.255.0 (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

Realisation
Read the rest of this entry »

Language
Страницы
Рекомендую