Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2004 11:04:23 -0600 (CST)
From:      Chris Dillon <cdillon@wolves.k12.mo.us>
To:        Steve Ireland <stevei@black-star.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Networking problem UPDATED
Message-ID:  <20040305104807.N59495@duey.wolves.k12.mo.us>
In-Reply-To: <010b01c40262$26517660$1a01a8c0@blackstar.net>
References:  <03b501c4024b$42288110$fe00a8c0@wskatinka> <010b01c40262$26517660$1a01a8c0@blackstar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Mar 2004, Steve Ireland wrote:

> The two interfaces are on different subnets: 192.168.0.0/24 and
> 192.168.10.0/24. You need to either add a static route between them
> or change their netmasks to at least a /21.

Huh?  They _must_ be on different subnets.  You can't route one subnet
across multiple network interfaces.  Besides, a router always knows
how to route packets between its own directly-attached networks, no
additional routes are necessary.

The problem here is that a route needs to be added for 192.168.10.0/24
-> 192.168.0.100 in the upstream router(s), since the upstream
router(s) do not currently know to send any packets destined for
192.168.10.0/24 to 192.168.0.100 for delivery.  The upstream router is
currently sending these packets to its own default gateway, which is
likely even further upstream.  IP routers aren't mind-readers, you
have to tell them exactly where to send packets, but usually that is
very simple.

Running a routing protocol (such as RIP) on both the FreeBSD box in
question and the upstream router(s) would automatically add the same
route for you, but that is unnecessary in such a simple network
configuration.

-- 
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



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