send_arp命令 - Linux man page

Name

send_arp - tool to notify network of a new IP address / MAC address mapping

Synopsis

send_arp takes the supplied data and sends it out as an arp broadcast on the specified network device. This tool is mostly used by software (such aspiranha) that manipulates virtual IP addresses and needs to notify the network that the device servicing an IP address has changed.

send_arp [-i ARG"] old-ip-addr old-mac-addr new-ip-addr new-mac-addr"

Description

send_arp sends out an arp broadcast on the specified network device (defaults to eth0), reporting an old and new IP address mapping to a MAC address.This is most useful in situations involving virtual IP addresses, where the network device servicing that address has changed, and other network arp cachesneed to be notified about it. All the data is specified in the command line and is simply passed along in an arp message frame. Since the old and new dataspecified can contain the same information, this tool can also be used to refresh arp caches or send periodic broadcasts.

send_arp simply takes the specified arguments and places them in an ethernet arp broadcast.is a daemon used by pulse to monitor the runningstatus of the specified services on clustered servers. This tool has NO error checking and should not be run without the direct supervision ofpulse!

Options

-i ARG

Optional. Indicates the network device to send the arp broadcast on. If omitted, the program defaults to eth0.

old-ip-addr
The original IP address (specified in nnn.nnn.nnn.nnn format) that the MAC address specified in "old-mac-addr" had mapped to it.
old-mac-addr
The MAC address that was servicing the IP address specified in "old-ip-addr". The MAC address is specified in hex, and can be formatted with or withoutcolon (":") separators.
new-ip-addr
The new IP address (specified in nnn.nnn.nnn.nnn format) that the MAC address specified in "new-mac-addr" now has mapped to it.
new-mac-addr
The MAC address that is now servicing the IP address specified in "new-ip-addr". The MAC address is specified in hex, and can be formatted with or withoutcolon (":") separators.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值