linux网络管理----Linux网络配置,linux----linux


 

1.1 linux配置IP地址

1️⃣ ifconfig命令临时配置IP地址

能不能自动获取IP地址和DNS地址,要看有没有DHCP服务器

win10上,输入ipconfig /all 会看到是否有DHCP服务器

 

ifconfig命令 对此命令更加详细的解说   传送门 http://xp9802.iteye.com/blog/2120351

 

 

2️⃣ setup工具永久配置IP地址

redhat特有的工具 

 

配置完成以后要重启服务

 

 

 

3️⃣ 使用文件配置IP地址

 

 

 

2.1  2-3 Linux网络配置之虚拟机网络配置 

 

 from https://www.imooc.com/learn/258

相关内容