How To Configure Static IP On CentOS 6.4
来源:互联网 发布:世界七大奇观知乎 编辑:程序博客网 时间:2024/06/06 09:53
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.44
NETMASK=255.255.255.0
## Configure Default Gateway
#
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=centos64
GATEWAY=192.168.1.1
## Restart Network Interface
#
/etc/init.d/network restart
## Configure DNS Server
#
# vi /etc/resolv.conf
nameserver 8.8.8.8 # Replace with your nameserver ip
nameserver 192.168.1.1 # Replace with your nameserver ip
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.44
NETMASK=255.255.255.0
## Configure Default Gateway
#
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=centos64
GATEWAY=192.168.1.1
## Restart Network Interface
#
/etc/init.d/network restart
## Configure DNS Server
#
# vi /etc/resolv.conf
nameserver 8.8.8.8 # Replace with your nameserver ip
nameserver 192.168.1.1 # Replace with your nameserver ip
0 0
- How To Configure Static IP On CentOS 6.4
- How to configure vnc servers on CentOS 6.3
- How To Install / Configure VNC Server On CentOS 7.
- How to install and configure NGINX on CentOS 7
- How To Configure a Redis Cluster on CentOS 7
- How to change CentOS IP address on a cloned VM
- How to configure rsh on redhat Linux
- How to configure JMX on Apache Tomcat
- How to configure NFS on Linux
- How to configure spacemacs on windows?
- Quick Tip: Configure Static IP in Centos 6.5
- How to access PCI configure space on OpenSolaris
- How to Configure and Run PostgreSQL on Solaris 10
- How to Configure Hard Disk Drives on a CEPC
- How To: Configure Secure FTP Server (VSFTPD) (on FC16)
- How to configure LAMP server on Ubuntu System
- How to Configure, Install and Use libnefilter_queue on Linux
- How to Configure, Install and Use libnefilter_queue on Linux
- storm trident一些总结
- 1111111111111111111111
- dp小结
- LeetCode-String to Integer (atoi)
- 扩展spring 的 xml schema,实现自己的标签
- How To Configure Static IP On CentOS 6.4
- 云帮一周问答集锦(12.19-12.25)
- FastDFS配置说明
- 安卓6.0运行时权限解析
- ios jons解析问题
- Unity之事件机制
- RTSP/HTTP/RTMP网络协议对比
- javascript中new Date()的浏览器兼容性问题IE8Nan
- XYBadge(一句代码集成红色角标消息提示)