Chinaunix首页 | 论坛 | 博客
  • 博客访问: 11123
  • 博文数量: 6
  • 博客积分: 353
  • 博客等级: 二等列兵
  • 技术积分: 70
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-04 14:16
文章分类

全部博文(6)

文章存档

2011年(5)

2010年(1)

最近访客

分类: 系统运维

2011-11-23 09:12:19

打开文件 /etc/network/interfaces 按下面模板写


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.153
netmask 255.255.255.0
gateway 192.168.2.115
dns-nameservers 202.103.24.68
broadcast 192.168.2.255
阅读(221) | 评论(0) | 转发(0) |
0

上一篇:在Ubuntu环境下搭建Lua安装环境

下一篇:没有了

给主人留下些什么吧!~~