Simple configuration of centos 6.5 static website

Source: Internet
Author: User
Tags dns2 domain name server

For detailed configuration parameters, see:

Device = eth0
Hwaddr = 08: 00: 27: F1: 72: C9
Type = Ethernet
UUID = dab98425-fa46-4a5b-8f47-cf846d4acb3d
Onboot = Yes
Nm_controlled = Yes

Bootproto = static
Ipv6init = No
Ipv6_autoconf = No

Ipaddr = 192.168.0.230
Netmask = 255.255.255.0
Gateway = 192.168.0.1
Dns1 = 219.233.241.166
Dns2 = 211.167.97.67

The following details:

# Set the name
Device = "eth0"
# Static Configuration
Bootproto = "static"

Ipv6init = No
Ipv6_autoconf = No
Onboot = Yes

# IP Address
Ipaddr = 192.168.1.230
# Mask
Netmask = 255.255.255.0

# Gateway
Gateway = 192.168.1.1

# Domain Name Server
Dns1 = 202.96.199.132
Dns2 = 8.8.8.8

 

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.