在LINUX安装分布式缓存时,发现了一个奇怪的IP:192.168.122.1,这个IP并无手动配置,怎么会出现呢?输入命令
ifconfig,发现多了个网卡:
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:116713 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:15780234 (15.0 MiB)
经查这是虚拟网卡,于是除之
yum erase libvirt
重启,搞定。