Add ARP entry in Voxel Firmware

7 posts / 0 new
Last post
hkjosephng
hkjosephng's picture
Add ARP entry in Voxel Firmware

When I tried to use the command "arp -i br0 -s 192.168.1.2 AB:CD:EF:12:34:56" to set the ARP entry, it only gave me the list of ARP entry.

IP address       HW type     Flags       HW address            Mask     Device
192.168.1.131    0x1         0x2         12:34:56:78:07:24     *        br0
123.123.213.1    0x1         0x2         12:23:34:55:9c:e1     *        brwan
192.168.1.10     0x1         0x2         12:23:34:44:62:ba     *        br0
192.168.1.107    0x1         0x2         12:23:34:44:00:7d     *        br0
192.168.1.104    0x1         0x2         12:12:12:ff:f2:c2     *        br0
 

Any idea about how to set the Perm entry to ARP?

 

Thanks!

kamoj
kamoj's picture
ARP entries are not permanent

ARP entries are not permanent.

If you want to always keep IP connected to MAC, do it through Address Reservation at:
Netgear GUI, Advanced, Setup, LAN Setup

 

hkjosephng
hkjosephng's picture
I want to add an APR Entry

I want to add an APR Entry for Wake on WAN.

kamoj
kamoj's picture
ip neigh add 192.168.1.2 dev
ip neigh add 192.168.1.2 dev br0 lladdr AB:CD:EF:12:34:56 nud permanent
ip neigh change 192.168.1.2 dev br0 lladdr AB:CD:EF:12:34:56 nud permanent
 
kamoj
kamoj's picture
Or even better, works at all
Or even better, works at all times without need to test if existing or not:
ip neigh replace 192.168.1.2 dev br0 lladdr AB:CD:EF:12:34:56 nud permanent
 
Ok?
 
hkjosephng
hkjosephng's picture
It works!  Thanks a lot! 

It works!  Thanks a lot! smiley

kamoj
kamoj's picture
Thank you for reporting back!

smiley Thank you for reporting back!