我的RH9上两块内网网卡,地址分别为192.168.1.254,192.168.2.254
但奇怪的是,从ifcfg-eth0文件中看到的ip和ifconfig中看到的是相反的,如下所示,怎么回事?急待支持!
[root@istiy-gateway network-scripts]# more ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.2.255
IPADDR=192.168.2.254
NETMASK=255.255.255.0
NETWORK=192.168.2.0
ONBOOT=yes
[root@istiy-gateway network-scripts]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:10:5A:5E:DB:1E
inet addr:192.168.1.254 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:69558 errors:0 dropped:0 overruns:0 frame:0
TX packets:57402 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:55377961 (52.8 Mb) TX bytes:20156257 (19.2 Mb)
Interrupt:5 Base address:0xe400
[root@istiy-gateway network-scripts]# more ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.254
NETMASK=255.255.255.0
NETWORK=192.168.1.0
[root@istiy-gateway network-scripts]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:01:02:97:9D:DF
inet addr:192.168.2.254 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19894562 errors:0 dropped:0 overruns:1 frame:0
TX packets:14696530 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1019248855 (972.0 Mb) TX bytes:2917495727 (2782.3 Mb)
Interrupt:5 Base address:0xe800
急盼!谢谢!
用户遇到在RH9系统中两块内网网卡配置显示异常的问题,配置文件显示的IP地址与实际运行时显示的IP地址不一致,寻求解决办法。
1231

被折叠的 条评论
为什么被折叠?



