Some configuration file writing methods for the Debian Linux release-Linux Enterprise Application-Linux server application information. The following is a detailed description. Nic configuration file
/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 10.2.1.216
Netmask 255.255.0.0
Network 10.2.0.0
Broadcast 10.2.0000255
Gateway 10.2.1.218
# Dns-* options are implemented by the resolvconf package, if installed
Dns-nameservers 211.93.80.129 211.94.65.97 211.98.4.1
Auto eth1
Iface eth1 inet static
Address 10.4.1.216
Netmask 255.255.0.0
Network 10.4.0.0
Broadcast 10.4.0000255
Gateway 10.4.1.10
Dns-nameservers 211.93.80.129 211.94.65.97
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service