/*************************************************
* 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
For information on how to configure your network adapter, see:
Https://wiki.debian.org/NetworkConfiguration399
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Debian static Address network configuration method