[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://www.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 桌面]#
本文题目:VMware的ipifconfig变成127.0.0.1
转载来源:
http://kswsj.cn/article/pggjgd.html