怎样将ip地址和mac地址绑定???

由 wxgcz1975 在 04-22-2003 08:03 发表:

怎样将ip地址和mac地址绑定???

各位老大,俺是个新手,能不能绑俺解决一下将ip地址和mac地址绑定的问题,最好详细点,多谢了!!!!!!!!!!!


由 Snoopy 在 04-22-2003 09:02 发表:


在/etc/下新建个文本,写上这样先ip再mac地址

192.168.113.88 88:88:88:88:88:88

在/etc/rc.local里加上arp -f

就好了!!!


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 wxgcz1975 在 05-12-2003 13:32 发表:


不行,冒用的还是可以上网!!!!!!!!!!!!!


由 Snoopy 在 05-12-2003 14:16 发表:


不知道,我现在的ip不论怎么设,别人都可以用我的,,,,

找了很多文章还是找不到答案


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 seacon 在 05-12-2003 15:01 发表:


touch /etc/ethers

然后编辑ethers!格式如下

192.168.1.1 00:00:00:00:00:00

一行只能写一个ip和对应的硬件地址

然后/etc/arp -f ethers

然后用arp -a 看一下是不是有看到对应的ip地址和硬件地址!


由 wxgcz1975 在 05-12-2003 15:22 发表:


ok,搞腚了!!!!!!!!!!!多谢


由 Snoopy 在 05-12-2003 16:08 发表:


[root@Snoopy root]# arp -a

? (192.168.113.254) at 00:05:5D:11:6C:2C [ether] on eth0

[root@Snoopy root]# arp -a 192.168.113.88

arp: in 1 entries no match found.

[root@Snoopy root]# arp -a 88:88:88:88:88:88

88:88:88:88:88:88: 未知的主机

[root@Snoopy root]#

我不是服务器,怎么查看,


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 wxgcz1975

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus