首页 > 系统服务 > 详细

ubuntu网络设置

时间:2016-07-25 09:22:55      阅读:247      评论:0      收藏:0      [点我收藏+]
修改/etc/network/interfaces文件
sudo gedit /etc/network/interfaces

贴出我的eth0设置,自己看情况修改:
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.145(ip地址)
netmask 255.255.255.0(子网掩码)
gateway 192.168.1.1(网关)

ubuntu网络设置

原文:http://www.cnblogs.com/shiningrise/p/5702225.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!