> Have a problem with static MAC-IP mappings. I need to create the static
ARP
> table, load it into the kernel and work only with static mappings. I'm
able
> to create the table (/etc/ethers), load it to the kernel (arp -f
> /etc/ethers) and everythingworks fine but linux continues to add dynamic
> entries to ARP table. If I switching off arp frp eth0 interface (ifconfig
> eth0 -arp), IP stops works even if static arp table still exists
(arp -n -a
> prints out the table).
>
> Any advices how to do that? Kernel version is 2.4.9.

I haven't had need to try this, but I think all you need to do is modify the
command that brings up the link.  See the iproute2 command documentation,
but the "ip link set" command will take "arp off" and "dynamic off" as
options, along with several other link parameters...this (maybe combined
with a kernel /proc option or two) will probably do what you want.

# ip link help
Usage: ip link set DEVICE { up | down | arp { on | off } |
                             dynamic { on | off } |
                             multicast { on | off } | txqueuelen PACKETS |
                             name NEWNAME |
                             address LLADDR | broadcast LLADDR |
                             mtu MTU }
       ip link show [ DEVICE ]

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)




_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to