Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2008 20:52:13 +0100
From:      "Jay L. T. Cornwall" <jay@jcornwall.me.uk>
To:        "H.fazaeli" <fazaeli@sepehrs.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: if_bridge with two subnets
Message-ID:  <48274E6D.9060704@jcornwall.me.uk>
In-Reply-To: <4826EB42.104@sepehrs.com>
References:  <4825EF8D.1050304@jcornwall.me.uk> <4826EB42.104@sepehrs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
H.fazaeli wrote:

> The bridge works as it should: It receives packets from
> XX.XX.XXX.YYY on the interface connected to the switch, and
> forwards them on the interface connected to the gateway.
> 
> The problem is that forwarding between subnets is the responsibility
> of your switch. The switch does its job, but since the two clients are
> not on the same IP subnet, they can not reach each other w/o the help of
> an intermediate router.

Perhaps I am mixing up two separate networking concepts.

On a machine configured to act as a gateway, I would expect a single 
interface with more than one subnet to route packets correctly across 
those subnets. That may not be how it works in practice.

If it does not work, I would question why not. If it does work then I 
would expect the same behaviour on each of a bridge's constituent 
interfaces?

-- 
Jay L. T. Cornwall
http://www.jcornwall.me.uk/



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