当前位置: 技术问答>linux和unix
red hat 9下ip跳变的问题
来源: 互联网 发布时间:2016-03-14
本文导语: 我的ip配置如下: [root@yfx default]# ifconfig eth0 Link encap:Ethernet HWaddr 00:13:D3:90:8C:59 inet addr:10.10.1.112 Bcast:10.10.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:...
我的ip配置如下:
[root@yfx default]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:D3:90:8C:59
inet addr:10.10.1.112 Bcast:10.10.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:291221 errors:0 dropped:0 overruns:0 frame:0
TX packets:105487 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:150089114 (143.1 Mb) TX bytes:13002458 (12.4 Mb)
Interrupt:11 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4675 errors:0 dropped:0 overruns:0 frame:0
TX packets:4675 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:277276 (270.7 Kb) TX bytes:277276 (270.7 Kb)
但是用ssh访问,过一段时间后,ssh会断开,在主机上查询,ip变为其他值了,通过service network restart 后,ip又变为我正常设置的值了.为什么了.
[root@yfx default]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:D3:90:8C:59
inet addr:10.10.1.112 Bcast:10.10.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:291221 errors:0 dropped:0 overruns:0 frame:0
TX packets:105487 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:150089114 (143.1 Mb) TX bytes:13002458 (12.4 Mb)
Interrupt:11 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4675 errors:0 dropped:0 overruns:0 frame:0
TX packets:4675 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:277276 (270.7 Kb) TX bytes:277276 (270.7 Kb)
但是用ssh访问,过一段时间后,ssh会断开,在主机上查询,ip变为其他值了,通过service network restart 后,ip又变为我正常设置的值了.为什么了.
|
不明LZ在说什么