[root@localhost dahdi-linux-2.2.0.2]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation BCM4401-B0 100Base-TX
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:1B:B9:70:B4:87
IPADDR=192.168.1.115
NETMASK=255.255.255.0
ONBOOT=yes
copy一份ifcfg-eth0为ifcfg-eth1
[root@localhost dahdi-linux-2.2.0.2]# vim /etc/sysconfig/network-scripts/ifcfg-e
th1
# Broadcom Corporation BCM4401-B0 100Base-TX
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:1B:B9:70:B4:87
IPADDR=192.168.10.234
NETMASK=255.255.255.0
GATEWAY=192.168.10.1
DNS1=192.168.10.1
ONBOOT=yes
service network restart
ping baidu OK.inter also OK
over!
最后
以上就是忧虑电灯胆最近收集整理的关于Centos双IP以及DNS配置ping baidu OK.inter also OKover!的全部内容,更多相关Centos双IP以及DNS配置ping内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复