mindong 发表于 2018-6-3 12:33:20

VMware的ip ifconfig变成127.0.0.1

# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>mtu 65536
      inet 127.0.0.1netmask 255.0.0.0
      inet6 ::1prefixlen 128scopeid 0x10<host>
      looptxqueuelen 0(Local Loopback)
      RX packets 1888bytes 320065 (312.5 KiB)
      RX errors 0dropped 0overruns 0frame 0
      TX packets 1888bytes 320065 (312.5 KiB)
      TX errors 0dropped 0 overruns 0carrier 0collisions 0
# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>mtu 65536
      inet 127.0.0.1netmask 255.0.0.0
      inet6 ::1prefixlen 128scopeid 0x10<host>
      looptxqueuelen 0(Local Loopback)
      RX packets 1916bytes 322134 (314.5 KiB)
      RX errors 0dropped 0overruns 0frame 0
      TX packets 1916bytes 322134 (314.5 KiB)
      TX errors 0dropped 0 overruns 0carrier 0collisions 0
# 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.
# ifconfig
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu 1500
      inet 192.168.136.133netmask 255.255.255.0broadcast 192.168.136.255
      inet6 fe80::20c:29ff:fe10:ae3prefixlen 64scopeid 0x20<link>
      ether 00:0c:29:10:0a:e3txqueuelen 1000(Ethernet)
      RX packets 20bytes 3883 (3.7 KiB)
      RX errors 0dropped 0overruns 0frame 0
      TX packets 33bytes 4913 (4.7 KiB)
      TX errors 0dropped 0 overruns 0carrier 0collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>mtu 65536
      inet 127.0.0.1netmask 255.0.0.0
      inet6 ::1prefixlen 128scopeid 0x10<host>
      looptxqueuelen 0(Local Loopback)
      RX packets 2188bytes 353466 (345.1 KiB)
      RX errors 0dropped 0overruns 0frame 0
      TX packets 2188bytes 353466 (345.1 KiB)
      TX errors 0dropped 0 overruns 0carrier 0collisions 0
#  
页: [1]
查看完整版本: VMware的ip ifconfig变成127.0.0.1