Red Hat Linux 3.2.3-47下给网卡增加多ip,遇到奇怪的问题,希望大家能够给与帮助。 增加相同的ip,掩码不同的情况,如: ifconfig eth0:0 192.168.10.1 255.255.255.0 up ifconfig eth0:1 192.168.10.1 255.255.0.0 up 当其中某一掩码为255.255.255.0 后,继续增加会提示错误, SIOCSIFADDR: File exists SIOCSIFFLAGS: Cannot assign requested address SIOCSIFNETMASK: Cannot assign requested address SIOCSIFFLAGS: Cannot...
by simcity - 网络与硬件 - 2005-12-01 19:58:44 阅读(2012) 回复(1)
Red Hat Linux 3.2.3-47下给网卡增加多ip,遇到奇怪的问题,希望大家能够给与帮助。 增加相同的ip,掩码不同的情况,如: ifconfig eth0:0 192.168.10.1 255.255.255.0 up ifconfig eth0:1 192.168.10.1 255.255.0.0 up 当其中某一掩码为255.255.255.0 后,继续增加会提示错误, SIOCSIFADDR: File exists SIOCSIFFLAGS: Cannot assign requested address SIOCSIFNETMASK: Cannot assign requested address SIOCSIFFLAGS: Cannot...
GG 好! 我配置ip #ifconfig eth0 192.168.0.1 netmask 255.255.255.0 #ifconfig eth0 down #ifconfig eth0 up 我用 ifconfig eth0 查看 确实是192.168.0.1 但是我关机从起以后就恢复到192.168.1.1了(这个ip我是在Red Hat9 下面用GUI配置的)! ifconfig这个网络配置命令是不是个临时命令啊 请问永久配置ip的命令是什么!谢谢! [ 本帖最后由 95968246393 于 2006-3-17 22:10 编辑 ]
GG 好! 我配置ip #ifconfig eth0 192.168.0.1 netmask 255.255.255.0 #ifconfig eth0 down #ifconfig eth0 up 我用 ifconfig eth0 查看 确实是192.168.0.1 但是我关机从起以后就恢复到192.168.1.1了(这个ip我是在Red Hat9 下面用GUI配置的)! ifconfig这个网络配置命令是不是个临时命令啊 请问永久配置ip的命令是什么!谢谢! [ 本帖最后由 95968246393 于 2006-3-17 22:10 编辑 ]
今天下午调试一下午程序,最后才发现系统的ip命令捣鬼,先把测试结果贴出来,哪位能解惑,请客咯(@bj):
1. 第一种情况:
# ifconfig eth1 1.1.2.2 netmask 255.255.255.0
# ip addr ls dev eth1
12: eth1:
今天下午调试一下午程序,最后才发现系统的ip命令捣鬼,先把测试结果贴出来,哪位能解惑,请客咯(@bj):
1. 第一种情况:
# ifconfig eth1 1.1.2.2 netmask 255.255.255.0
# ip addr ls dev eth1
12: eth1:
:oops: 我的系统是Tru 64 4.oE,以前能正常使用,但不知为何会自己重启,回到控制台状态下,我把机子启动后,在进入xwindow前,输入用户和密码之后,出现以下出错信息: the DT messaging system could not be started to correct the problem: 1 Choose [ok] to return to the login screen. 2.select Failsafe Session from the login screen's option menu and login. 3. Check to see that your hostname exitsts corre...