[CentOS] Can't reach Internet

reynierpm at gmail.com reynierpm at gmail.com
Sun Aug 31 21:35:31 UTC 2014


On Sun, Aug 31, 2014 at 5:03 PM, John R Pierce <pierce at hogranch.com> wrote:

> grep 192.168.3.1 /etc/sysconfig/network-scripts/*
>
>
# grep 192.168.3.1 /etc/sysconfig/network-scripts/*
/etc/sysconfig/network-scripts/ifcfg-local:IPADDR=192.168.3.131
/etc/sysconfig/network-scripts/ifcfg-local:GATEWAY=192.168.3.1


> alternately, is the 192.168.3.x interface being configured by DHCP?
> perhaps its DHCP server is handing out that gateway.
>

No, it's handled static:

TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.3.131
GATEWAY=192.168.3.1
NETMASK=255.255.255.0
NAME="Local Eth1"
UUID=0a79e5fc-ee8a-41eb-93dd-a76e3cb8c7c1
HWADDR=00:50:56:3F:86:30



More information about the CentOS mailing list