Centos7.6系统如何通过curlifconfig.me命令查看实际上网地址

发布时间:2026-02-04 21:00:15 浏览次数:1

Centos7.6系统如何通过curlifconfig.me命令查看实际上网地址

1.登陆centos7.6服务器后,pppoe-start进行拨号,ping www.baidu.com测试能否上网

2.查看内网地址:

ifconfig -a

3.查看外网地址:

curl ifconfig.me

需要做网站?需要网络推广?欢迎咨询客户经理 13272073477