先建立/etc/ethers.文件, 其中包含正确的IP/MAC对应关.系.--- 印刷
格式如 192.168.1.200 00:0C.:F.1:8F:3B:C6虚拟主机
添.加完成后我们给ethers文件设置属性.,运行chmod +777 ethers.
最后在/.etc/rc.d/rc..local的最后添加:--- 印刷
arp -f
ifconfig eth1. -arp . 下次路由启动就自己绑定了.完成 汽车
可以用命令.arp -a查看下结果: 鲜花
[root@router ~]# ar.p -a[成人用品]
? (192.168..1.200) a.t 00:0C:F1:8F:3B:C6 [ether] PERM on eth1电脑
? (192.168.0.24 at 00:11:5B:58:C7:83 [ether] on eth0http://upload.bbs.csuboy.com/Mon_1004/126_6989_31ffde71d54d97a.gif[/img] 杀毒
? (192.168.0.254) at 00:0A:EBB:04:1C [ether] on eth0http://upload.bbs.csuboy.com/Mon_1004/126_6989_3b01f95722f71e9.gif[/img]( 游戏 )
[ 本帖最后由 .sxq5858 于 2007-1-2.9 05:09 编辑 ]投资