- 7
- 0
- 约5.26千字
- 约 7页
- 2016-12-21 发布于贵州
- 举报
一、网络设定:
VMware IP地址自动获取:
VM--Settings-Network Adapter 默认使用NAT(share hosts IP)修改成Bridged(connect direct to physical network)
A、以DHCP方式配置网卡
编辑文件/etc/network/interfaces:
sudo gedit /etc/network/interfaces
并用下面的行来替换有关eth0的行:
# The primary network interface - use DHCP to find our address
auto eth0
iface eth0 inet dhcp
用下面的命令使网络设置生效:
sudo /etc/init.d/networking restart
也可以在命令行下直接输入下面的命令来获取地址
sudo dhclient eth0
B、如果修改成为网卡配置静态IP地址
编辑文件/etc/network/interfaces:
sudo vi /etc/network/interfaces
并用下面的行来替换有关eth0的行:# The primary network interface
auto eth0
iface eth0 inet static
ad
您可能关注的文档
最近下载
- 幼儿园大班语言《是谁嗯嗯在我的头上》课件.pptx
- 高考生物必背85个知识点分析.doc VIP
- 高考生物必背85个知识点总结.doc VIP
- 高考必背的85个重要生物知识点总结.docx VIP
- 2025届高考生物必背的85个重要知识点总结.docx VIP
- 中国文化概况A-Glimpse-of-Chinese-Culture(修订版)Chapter-8.ppt VIP
- 2026年高考生物必背85个重要知识点总结汇编.pdf VIP
- 预防高处坠落事故专项施工方案.docx VIP
- AutoCAD2022实用教程全套完整教学课件.pptx
- Soundcraft声艺Signature 22MTK Outline Dimensions file)说明书用户手册.pdf
原创力文档

文档评论(0)