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

Re: your mail



Hi, Ira!

On Wed, Aug 02, 2000 at 11:12:38AM +0300, you wrote the following:

> > what's wrong with configurating the linux machine as a router, define it
> > as the default route for all machines on the LAN, and define the network
> > router as the default router of the linux machine? then, define on the
> > router that the route to that class-C subnect is the linux machine?
> > 
> > this doesn't look harder to configure then configuring (and maintaining)
> > the network without the linux box in the middle...
> 
> because you have the ONE class C to handle, the linux has to have
> addresses from the same class C on both NICs but the net route and the
> default route go to different interfaces, then the router needs a
> special config for all the addresses it thinks are broadcastable on the
> LAN are actually all routable through only one address in that subnet,
> which is hard to do unless you know the router well (and not all routers
> are as flexible as Cisco, and not all sysadmmins know how to cinfig the 
> cisco, and not all ISPs give you the password to the router, and not
> all ISPs know HOW to config the router for non standard topologies)

Why? Just use RFC1918 addresses for the LAN between the linux box and
the router. E.g.: the outer interface of the router is 111.222.33.44,
the inner is 192.168.1.1, the outer interface of the linux box is
192.168.1.2, and the inner is 123.123.123.1 if the class C that you've
been assigned is 123.123.123.0/24.

Or you can take advantage of CIDR and further subnet the class C, thus
creating two networks, one would be the internal network, and the
other would consist of the outer interface of the Linux box and the
inner interface of the router. Although I see no reason to waste
addresses like that.


-- 
Alex Shnitman                            | http://www.debian.org
alexsh@hectic.net, alexsh@linux.org.il   +-----------------------
http://alexsh.hectic.net    UIN 188956    PGP key on web page
       E1 F2 7B 6C A0 31 80 28  63 B8 02 BA 65 C7 8B BA

/real/ programmers 
    dd if=/dev/dsp of=a.out 
and whistle. 
	-- Gaal Yahas

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il