[CentOS] Help with routing question.

Les Mikesell lesmikesell at gmail.com
Thu Feb 19 17:33:57 UTC 2015


On Thu, Feb 19, 2015 at 9:48 AM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:
>
>> I added these directives to the route-eth0:192 file:
>>
>> ADDRESS0=192.168.6.9
>> NETMASK0=255.255.255.0
>> GATEWAY0=192.168.6.1
>>
>
> Which should have been:
>
> ADDRESS0=192.168.6.0
>
> NETMASK0=255.255.255.0
> GATEWAY0=192.168.6.1
>

But it still doesn't matter.  Your netmask in the ifcfg- file already
covers that range and you don't need another route/GATEWAY for it.
You don't need the route- file at all.
-- 
   Les Mikesell
     lesmikesell at gmail.com



More information about the CentOS mailing list