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

Re: Hubless network?



Someone may have a better idea, but how about using ipchains to set up 
forwarding? Seems like you need your router box to forward stuff 
destined for eth1 from eth2 to eth1, and visa versa.

Don't take this as gospel . . . I'm fighting ipchains right now 
so, "when all you have is a hammer, all problems look like a nail."


Rod

>   I am trying to avoid using a hub (hub goes *poof* neither machine 
can
> talk to the Net) to connect 2 internal machines to the net through a
> Linux box configured as a router. The box has three NIC cards as
> follows:
> 
> eth0 - 192.168.1.6 connection to my Internet gateway (192.168.1.1)
> eth1 - 192.168.2.1 connection to box 1 (192.168.2.2)
> eth2 - 192.168.2.4 connection to box 2 (192.168.2.3)
> 
> My route is set up as follows:
> 
> Destination	Gateway 	Genmask 	Iface
> 192.168.2.3	192.168.2.4	255.255.255.255	eth2
> 192.168.2.2	192.168.2.1	255.255.255.255	eth1
> 192.168.1.0	0.0.0.0		255.255.255.0	eth0
> 0.0.0.0		192.168.1.1	0.0.0.0		eth0
> 
> My problem is the box 1 can't talk to box 2. Either can talk to the
> router, to the outside world, to the 192.168.1.1 gateway, etc. They 
both
> can even talk to both eth1 and eth2, just not the other box. What am I
> missing?
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
listmaster@lists.debian.org
> 
> 
> 

R. W. Rodolico
Daily Data, Inc.
POB 140465
Dallas  TX  75214-0465
214.827.2170

It appears I could be pursuing an untamed ornithoid to no purpose.
            --Brent Spiner as Data, Star Trek: The Next Generation



Reply to: