Re: Simple routing question

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



On Tue, Sep 4, 2012 at 3:25 PM, James B. Byrne <byrnejb@xxxxxxxxxxxxx> wrote:
>
> On 09/04/12 12:18 PM, James B. Byrne wrote:
>> 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.
>
> um, those are both the same?   I assume you meant one of them to be
> different?
>
>
> You are correct. I mistyped.
>
> I have host A with eth0[aaa.bbb.ccc.A] and eth1[192.168.216.A]
>
> I have host B with eth0[aaa.bbb.ccc.B] and eth1[192.168.209.B]
>
> and I have host C as the gateway with eth0 being the WAN and eth1
> being the LAN.  Eth1 on C has the address [aaa.bbb.ccc.1] assigned to
> it and has the alias [192.168.0.1] as well.
>
> I want traffic from 192.168.216.A addressed to 192.168.209.B to go to
> eth1 on B.

That should happen directly without C's involvement if the netmask is
255.255.0.0 on A and B's eth1 interfaces.

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

-- 
   Les Mikesell
     lesmikesell@xxxxxxxxx
_______________________________________________
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