Re: Dual Ethernet Gateway

Glynn Clements (glynn@sensei.co.uk)
Tue, 4 Aug 1998 06:38:44 +0100 (BST)


nelie operator wrote:

> My main question is if the cisco router, which is broadcasting to the
> 198.30.16.xxx network, with a gateway of 198.30.16.2 is interfearing with
> my want to be routing.

It depends upon what you mean by `interfering'.

> I was hoping someone can provide me with a little insight, here is my
> layout.
>
>
> I am running Linux kernel 2.0.32
>
> I have two networks: 198.30.4.xxx
> 198.30.16.xxx
>
>
> 198.30.4.2
> /---------------\ /--------------\ VIRTUAL GATEWAY /-----------\
> | INTERNET |-------| CISCO ROUTER |===================|198.30.16.2|
> \--------------/ \-------------/ \----------/
> | |
> | |
> |/----198.30.4.4 |
> /--------------\ 198.30.16.5 -
> | LINUX BOX | 198.30.16.254
> \--------------/ NETWORK
> |\----198.30.16.1
> |
> HUBS
> |
> /--------------\
> | SERVER |
> | |
> | 198.30.16.3 |
> \-------------/
>
>
> I have the folloing for the routing table.
>
> 198.30.4.0 netmask 255.255.255.0 eth0
> 198.30.16.0 netmask 255.255.255.0 eth1
> gateway 198.30.4.2 eth0

For which routing table? The Linux box's? If so, it will think that
packets for 198.30.16.5 - .254 should go out of eth1.

> I have IP enabled, and this is what I get. The server can ping
> 198.30.16.1 and 198.30.4.4, but can not ping 198.30.4.2 (the router).

What does the Cisco's routing table look like?

> The network can not ping 198.30.16.1 (the second NIC).

Can it ping 198.30.16.3?

> The linux box can only ping 198.30.16.1 and 198.30.16.3, the
> internet and the 198.30.4.xxx range, but no other mahine on the
> 198.30.16.xxx network.

Not really surprising, as you've told it to use eth1 for the
198.30.16.xxx network.

-- 
Glynn Clements <glynn@sensei.co.uk>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu