zlmzyb 发表于 2008-1-19 14:55:37

MAC地址绑定问题












请问这是怎么回事啊!

[ 本帖最后由 zlmzyb 于 2008-1-22 14:42 编辑 ]

netstorms 发表于 2008-1-19 20:02:46

你写反了。

arp -s hostname ether_addr ]

   -s hostname ether_addr
             Create an ARP entry for the host called hostname with the Ether-
             net address ether_addr.The Ethernet address is given as six hex
             bytes separated by colons.The entry will be permanent unless
             the word temp is given in the command.If the word pub is given,
             the entry will be ``published''; i.e., this system will act as an
             ARP server, responding to requests for hostname even though the
             host address is not its own.In this case the ether_addr can be
             given as auto in which case the interfaces on this host will be
             examined, and if one of them is found to occupy the same subnet,
             its Ethernet address will be used.If the only keyword is also
             specified, this will create a ``published (proxy only)'' entry.
             This type of entry is created automatically if arp detects that a
             routing table entry for hostname already exists.

cwnew01 发表于 2008-1-20 01:50:46

反过来写也不对呀,同样的提示!

zlmzyb 发表于 2008-1-22 14:37:08







我两种格式都 试了!结果都是一样的

[ 本帖最后由 zlmzyb 于 2008-1-22 14:41 编辑 ]

netstorms 发表于 2008-1-22 18:17:03

root@ppmm:/root#arp -s 10.128.0.254 00:d0:f8:32:ba:72
root@ppmm:/root#arp -a
? (10.128.0.1) at 00:18:f3:32:f6:ae on lnc0
? (10.128.0.254) at 00:d0:f8:32:ba:72 on lnc0 permanent
root@ppmm:/root#

怀疑是你的arp有问题。

zlmzyb 发表于 2008-1-22 22:58:58

你的BSD系统是用的2008 Live CD 版做的吗? 我也是在虚拟机里试验的啊,可总是绑定不了!

netstorms 发表于 2008-1-23 09:49:55

我是自己装的freebsd 6.2,vmware 6.x虚拟机里面,不是livecd。

zlmzyb 发表于 2008-1-27 20:20:43

难道是2008 Live CD 版的问题?

netstorms 发表于 2008-1-27 22:33:17

2008 livecd,我之前用的时候就在pc上不能正常启动完毕,你有时间的话,还是装个6.2的freebsd好了。
页: [1]
查看完整版本: MAC地址绑定问题