On Wed, Jun 21, 2000 at 02:24:58PM +0100, kevin lyda came forth with:
> ok, here's a tale of two networks or possibly four or maybe just one;
> two clued geeks; and one disagreement. in the end paul will win because
> for reasons of correctness and aesthetics he's completely correct,
> but i just want to clear something up.
>> let's say we have a public network (192.168.7.0/24) and a private network
> (192.168.7.0/24) (that's not a typo) and a gateway (Moo) between the
> networks with eth0 being on the 192.168.7.0/25 network (connected to
> the public network) and eth1 192.168.7.128/25 network (connected to the
> private network).
>> with me so far? (definitely not aesthetically pleasing)
>> so GoodClient can see Moo since its host address is below 128. BadClient
> cannot since its host address is above 128. And the private network is
> populated with GoodServers with host addresses above 128.
>> and packets can't get across because there's no route between the public
> and private interfaces.
>> i am of the opinion that no packet can come in on the public interface
> and either get received by the private address or go out on the private
> network. paul disagrees.
>> which is it?
have you got forwarding turned on. If forwarding is on, then it will work.
If it's not, then it shouldn't, and if it does, something is wrong
(assuming all the machines think they're on either
192.168.7.0/25 or 192.168.7.128/25)
L.
--
Liam Bedford | Four thousand holes in Blackburn, Lancashire
System Administrator | And though the holes were rather small
WBT Systems, Block 2, | They had to count them all
Harcourt Centre, Harcourt St. | Now they know how many holes it takes to fill
01-4170100 | The Albert Hall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!