首页 > 其他 > 详细

debian静态地址网络配置方法

时间:2015-08-16 02:07:08      阅读:190      评论:0      收藏:0      [点我收藏+]

/*************************************************
* Author : Samson
* Date : 08/15/2015
* Test platform:
* Debian 8.0
* GNU bash, 4.3.11(1)-release (x86_64-pc-linux-gnu)
* ***********************************************/

$ vim /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
#allow-hotplug eth0
#iface eth0 inet dhcp

auto eth0
iface eth0 inet static
  address 192.168.0.11
  netmask 255.255.255.0
  gateway 192.168.0.1
 
有关网卡配置的方法可参看:

https://wiki.debian.org/NetworkConfiguration
399

版权声明:本文为博主原创文章,未经博主允许不得转载。

debian静态地址网络配置方法

原文:http://blog.csdn.net/yygydjkthh/article/details/47694467

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