Re: Simple routing question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Sep 5, 2012 at 9:00 AM, James B. Byrne <byrnejb@xxxxxxxxxxxxx> wrote:
>
> On Tue, September 4, 2012 16:51, Les Mikesell wrote:
>>
>> That should happen directly without C's involvement if the netmask is
>> 255.255.0.0 on A and B's eth1 interfaces.
>
> It is not.  The netmask on those interfaces is 255.255.255.0.
>
>>
>>> Instead it goes to Eth0 on C where it dies as one would
>>> expect.
>>
>> Why does C have both internet and LAN addresses on the same
>> interfaces?
>>
>
> I am experimenting to see if this arrangement is workable.  I want to
> know if it is possible to have two separate 192.168.x subnets on the
> same network.  Why?  I do not have a purpose in mind.  I am just
> checking out whether it can work or not.
>
> If it is impossible then then I will discover why that is so, which I
> think will be useful in itself.
>
IMO you need to configure the two subnets separately and set the
netmask to 255.255.255.0. Then route traffic between the LANs via
either the firewall or another routing device on the shared network.

I've done similar in the past to migrate from one IP range to another.

Having both networks connect to the firewall router is risky in case
of a misconfiguration.

Cheers,

Cliff
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux