[CentOS] Simple routing question

Les Mikesell lesmikesell at gmail.com
Tue Sep 4 15:01:18 EDT 2012


On Tue, Sep 4, 2012 at 1:34 PM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:
> We use a dual homed CentOS-6.3 host for our Internet gateway router.
> Its internal nic (eth1) is configured such that the address
> 192.168.0.1 is one of its aliases.
>
> # cat /etc/sysconfig/network-scripts/ifcfg-eth1:192BOOTPROTO=none
>> DEVICE=eth1:192
> IPADDR=192.168.0.1
> NETMASK=255.255.0.0
>
> Internal packets routed to 192.168.209.41 are passing through this
> router out onto the network.  I am afraid that the reason is not
> evident to me and I have been unable to locate an answer.

That netmask says the interface handles the range from
192.168.0.0-192.168.255.255.   Maybe you meant 255.255.255.0?

-- 
  Les Mikesell
    lesmikesell at gmail.com


More information about the CentOS mailing list