rh9中,绑定mac地址,无法上网了。

由 flavor 在 04-11-2003 22:02 发表:

rh9中,绑定mac地址,无法上网了。

环境:rh9.0、局域网内固定IP。

我是照坛子里得办法,在/etc/rc.d/rc.local中加入

ifconfig eth0 down

ifconfig eth0 hw ether 123456789ac

ifconfig eth0 up

重启后,上不了网。把以上内容删除掉,又能上网。


P4-M-1.8G 256M 40G GF2/GO 16M 联想昭阳V71


由 dsj 在 04-12-2003 12:03 发表:


试试这个办法:

1.建立/etc/ether文件,其中包含正确的IP/MAC对应关系,格式如下:

192.168.2.32 08:00:4E:B0:24:47

然后在/etc/rc.d/rc.local最后添加:

arp -f

2.或者在/etc/rc.d/rc.local最后添加:

arp -i eth0 -s xxx.xxx.xxx.xxx(IP) xx.xx.xx.xx.xx(MAC)


闲聊空间:

http://www.wonyen.net/bbs/mboard.asp


由 Snoopy 在 04-12-2003 16:43 发表:


123456789ac?

windows才是那样,, 中间用:分开,,


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

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