Panabit Support Board!

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 10022|回复: 8

MAC地址绑定问题

[复制链接]
发表于 2008-1-19 14:55:37 | 显示全部楼层 |阅读模式
arp2.jpg







arp.jpg


请问这是怎么回事啊!

[ 本帖最后由 zlmzyb 于 2008-1-22 14:42 编辑 ]
ARP.JPG
发表于 2008-1-19 20:02:46 | 显示全部楼层
你写反了。

arp -s hostname ether_addr [temp] [pub [only]]

     -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.
发表于 2008-1-20 01:50:46 | 显示全部楼层
反过来写也不对呀,同样的提示!
 楼主| 发表于 2008-1-22 14:37:08 | 显示全部楼层
arp.jpg



arp2.jpg

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

[ 本帖最后由 zlmzyb 于 2008-1-22 14:41 编辑 ]
发表于 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 [ethernet]
? (10.128.0.254) at 00:d0:f8:32:ba:72 on lnc0 permanent [ethernet]
root@ppmm:/root#

怀疑是你的arp有问题。
 楼主| 发表于 2008-1-22 22:58:58 | 显示全部楼层
你的BSD系统是用的2008 Live CD 版做的吗? 我也是在虚拟机里试验的啊,可总是绑定不了!
发表于 2008-1-23 09:49:55 | 显示全部楼层
我是自己装的freebsd 6.2,vmware 6.x虚拟机里面,不是livecd。
 楼主| 发表于 2008-1-27 20:20:43 | 显示全部楼层
难道是2008 Live CD 版的问题?
发表于 2008-1-27 22:33:17 | 显示全部楼层
2008 livecd,我之前用的时候就在pc上不能正常启动完毕,你有时间的话,还是装个6.2的freebsd好了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|北京派网软件有限公司 ( ICP备案序号:京ICP备14008283号 )

GMT+8, 2024-5-2 06:51 , Processed in 0.075018 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表