开发者社区> 问答> 正文

我在aliyun上外网能登陆,但是在控制台上看不到对应公网连接的IP,比如使用ifconfig -a

我在aliyun上外网能登陆,但是在控制台上看不到对应公网连接的IP,比如使用 ifconfig -a You have new mail. Last login: Thu Sep 19 19:12:19 2019 from 180.157.81.211 root@iZ25l7l0up9Z:~# root@iZ25l7l0up9Z:~# ifconfig -a docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.18.0.1 netmask 255.255.0.0 broadcast 0.0.0.0 ether 02:42:44:a7:fd:48 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.17.7.125 netmask 255.255.240.0 broadcast 172.17.15.255 inet6 fe80::216:3eff:fe0a:66a4 prefixlen 64 scopeid 0x20 ether 00:16:3e:0a:66:a4 txqueuelen 1000 (Ethernet) RX packets 602749819 bytes 191265937698 (191.2 GB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 501292476 bytes 44193568989 (44.1 GB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 161713 bytes 11487713 (11.4 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 161713 bytes 11487713 (11.4 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

展开
收起
1115344794335975 2019-09-20 10:00:10 461 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
DTS控制台一本通 立即下载
探索连接的最后十秒钟“落时”的网关 立即下载
探索连接的最后十秒”落时”的网关 立即下载