会员登录|免费注册|忘记密码|管理入口 返回主站||保存桌面
Linux查询本机的内网IP和外网IP
2024-11-18IP属地 湖北2
Linux系统中,你可以使用ifconfig命令来查询本机内网IP地址。ifconfig是一个命令行工具,可以显示和配置网络接口的信息。通过执行ifconfig命令,你可以获取到包括内网IP地址在内的网络接口的详细信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span>

Linux查询本机的内网IP和外网IP

#### 引用[.reference_title] - *1* [Linux查询本机内网IP外网IP](https://blog.csdn.net/weixin_41287260/article/details/119415417)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [Linux查看公网IP和私网(内网)IP的方法](https://blog.csdn.net/xiao_yi_xiao/article/details/120493210)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]