Answer the question
In order to leave comments, you need to log in
How to properly configure network interfaces (Internet and LAN)?
Good time of the day.
There is a server with CentOS 6.5 and two network interface cards.
eth0 - accessible from outside (108.0.0.100 )
EVICE=eth0
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=yes
PREFIX=25
IPV6INIT=no
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME="System eth0 - Internet"
IPADDR=108.0.0.100
GATEWAY=108.0.0.10
NETMASK=255.255.255.128
DOMAIN="108.0.0.1 108.0.0.2"
EVICE=eth1
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=yes
PREFIX=24
IPV6INIT=no
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME="System eth1 - Local"
IPADDR=192.168.0.123
GATEWAY=192.168.0.10
NETMASK=255.255.255.128
DOMAIN="192.168.0.1 192.168.0.2"
;; connection timed out; trying next origin
;; connection timed out; trying next origin
;; connection timed out; trying next origin
;; connection timed out; trying next origin
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question