[CentOS] Simple routing question

James B. Byrne byrnejb at harte-lyne.ca
Tue Sep 4 15:18:55 EDT 2012


On Tue, September 4, 2012 14:34, James B. Byrne 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.
>

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

>> # 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?

There are presently two subnets on the lan, 192.168.209.0 and
192.168.209.0.  I believe that the present netmask is correct in these
circumstances.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the CentOS mailing list