I want to establish a low-latency, wired, local-area network (LAN). I have a handful of ubuntu linux machines (en route), but I only have command line access to one of them, call it box-a
.
As part of the low-latency effort, the DHCP server dhcpd
and DHCP client dhclient
have been disabled on box-a
. There does not exist a DHCP server on the other boxes. I know the MAC addresses of every box in the network. box-a
has a static IPv4 address assigned on interface eth1
, 192.168.100.1
.
How can I get traffic to flow without DHCP?
I'm trying to manually add the neighbors on box-a
?
For example:
# Show the current neighbor table (ARP cache)
ip neighbor show
# Manually add each client device, associating an arbitrary, but
# unique IPv4 address to its unique MAC address
ip neighbor add 192.168.100.2 lladdr aa:bb:cc:dd:ee:02 dev eth1 nud permanent
ip neighbor add 192.168.100.3 lladdr aa:bb:cc:dd:ee:03 dev eth1 nud permanent
ip neighbor add 192.168.100.4 lladdr aa:bb:cc:dd:ee:04 dev eth1 nud permanent
# Show the updated neighbor table (ARP cache)
ip neighbor show
ip neighbor
or MAC address resolution. It doesn't do that, ARP does.box-a
.