Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Feb 2001 21:40:43 -0800
From:      Rob <europax@home.com>
To:        Tony Landells <ahl@austclear.com.au>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: direct routing help needed
Message-ID:  <3A7E3CDB.C55565CD@home.com>
References:  <200102050523.QAA16754@tungsten.austclear.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Tony.  I now understand why the direct route won't work.  The
good news is that I read a lot of man pages and the O'Reilly TCP/IP book
in the process :)  Maybe the sanest solution is to use NAT on my OpenBSD
box.  Rob. 


Tony Landells wrote:
> 
> Hi Rob,
> 
> In a nutshell, you can't route (directly) to something you're not
> connected to.  As soon as the IP address falls outside your subnet,
> you need a gateway ON YOUR NETWORK to send it to.
> 
> If I'm reading your email correctly, both of these computers are
> on the same switch, and then there's a single cable modem carrying
> two different subnets:
> 
>                               -----
>         Host A -----          | s |
>         FreeBSD    |          | w |
>                    -----------| i |       cable
>                               | t |-------modem-------Internet
>                    -----------| c |
>         Host B     |          | h |
>         OpenBSD-----          |   |
>                               -----
> 
> To avoid buying a router, you basically have to have both computers
> on the same (IP) network.
> 
> The best way (IMHO) would be to throw another NIC in each computer,
> connect them directly with a crossover cable, and configure them to
> be on a common network (preferably from the RFC1918 selection).
> 
> If you don't want to spend any money, you may be able to do it by
> configuring alias addresses on each existing interface which happen
> to be in the same network.  Again, you would want to pick from
> RFC1918 addresses, and your service provider may get upset if your
> boxes generate, for example, broadcast traffic for RFC1918 addresses
> that get sent out through the cable modem.
> 
> Good luck,
> Tony
> --
> Tony Landells                                   <ahl@austclear.com.au>
> Senior Network Engineer                         Ph:  +61 3 9677 9319
> Australian Clearing Services Pty Ltd            Fax: +61 3 9677 9355
> Level 4, Rialto North Tower
> 525 Collins Street
> Melbourne VIC 3000
> Australia


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A7E3CDB.C55565CD>