peth0:RX bytes:4226556 (4.0 MiB) TX bytes:4226556 (4.0 MiB)
如出现了如下的有多余的接口,如:peth0 接口 ,对应的 HWaddr FE:FF:FF:FF:FF:FF 等等,这类接口是在系统中多开了服务。libvirtd ,xend 这些服务是liunx针对网桥的一些服务,如在liunx系统中增加了虚拟机就会导致下面的结果。 root@localhost ~]# ifconfig eth0 Link encap:Ethernet HW
eth0 Link encap:Ethernet HWaddr 00:E0:4C:40:49:79
inet addr:192.168.12.16 Bcast:192.168.12.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe40:4979/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1595 errors:0 dropped:0 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:165962 (162.0 KiB) TX bytes:37643 (36.7 KiB)lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2919 errors:0 dropped:0 overruns:0 frame:0
TX packets:2919 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4226556 (4.0 MiB) TX bytes:4226556 (4.0 MiB)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:2470 errors:0 dropped:0 overruns:0 frame:0
TX packets:342 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:219605 (214.4 KiB) TX bytes:52273 (51.0 KiB)
Interrupt:5 Base address:0x8c00
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:291 errors:0 dropped:0 overruns:0 frame:0
TX packets:1610 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41737 (40.7 KiB) TX bytes:166862 (162.9 KiB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:10160 (9.9 KiB)
这有点不同于正常情况下的 eth0 ,eth1 的内容
解决办法:在liunx中关掉这样的服务。即把libvirtd 和 xend 这两个服务关掉并且禁止系统启动时开启服务。在系统中输入
[root@localhost ~]#/ etc/init.d/libvirtd stop [root@localhost ~]#/etc/init.d/xend stop [root@localhost ~]#chkconfig libvirtd off [root@localhost ~]#chkconfig xend off
停止系统中这两个服务自启动
系统正常启动(建议先重启网卡,如未实现,需要重启系统)之后,通过输入netstat –i统计这两个网卡的数据流量,
更多推荐
所有评论(0)