VMware的ip ifconfig变成127.0.0.1
[root@localhost 桌面]# ifconfig
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 1888 bytes 320065 (312.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1888 bytes 320065 (312.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@localhost 桌面]# ifconfig
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 1916 bytes 322134 (314.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1916 bytes 322134 (314.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@localhost 桌面]# dhclient -v
Internet Systems Consortium DHCP Client 4.2.5
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://isc.org/software/dhcp/
Listening on LPF/eno16777736/00:0c:29:10:0a:e3
Sending on LPF/eno16777736/00:0c:29:10:0a:e3
Sending on Socket/fallback
DHCPDISCOVER on eno16777736 to 255.255.255.255 port 67 interval 6 (xid=0x22f4f3fc)
DHCPREQUEST on eno16777736 to 255.255.255.255 port 67 (xid=0x22f4f3fc)
DHCPOFFER from 192.168.136.254
DHCPACK from 192.168.136.254 (xid=0x22f4f3fc)
bound to 192.168.136.133 -- renewal in 674 seconds.
[root@localhost 桌面]# ifconfig
eno16777736: flags=4163 mtu 1500
inet 192.168.136.133 netmask 255.255.255.0 broadcast 192.168.136.255
inet6 fe80::20c:29ff:fe10:ae3 prefixlen 64 scopeid 0x20
ether 00:0c:29:10:0a:e3 txqueuelen 1000 (Ethernet)
RX packets 20 bytes 3883 (3.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 33 bytes 4913 (4.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 2188 bytes 353466 (345.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2188 bytes 353466 (345.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@localhost 桌面]#
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
暂时没有评论,来抢沙发吧~