首页 > 系统服务 > 详细

ubuntu12.04 网络配置

时间:2015-04-09 13:25:57      阅读:235      评论:0      收藏:0      [点我收藏+]

1. 静态ip

编辑/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0  
iface eth0 inet static
address 192.168.1.20
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

2. DHCP

auto lo
iface lo inet loopback

auto eth0  
iface eth0 inet dhcp

3. 设置桥

 

ubuntu12.04 网络配置

原文:http://www.cnblogs.com/kramer/p/4409280.html

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