Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2000 13:43:02 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Steve Hovey <shovey@buffnet.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Limiting bandwidth
Message-ID:  <20000204134302.B18195@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.05.10002040840340.2455-100000@buffnet11.buffnet.net>; from "Steve Hovey" on Fri Feb  4 08:44:36 GMT 2000
References:  <20000203153519.A32993@dan.emsphone.com> <Pine.BSF.4.05.10002040840340.2455-100000@buffnet11.buffnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 04), Steve Hovey said:
> 
> One last question then on a point that isnt clear in my head.
> 
> The traffic I want to limit is gatewayed  ed0 <--> fxp0
> 
> Do the statements/setup below only apply to packets destined for that
> interface (to be gated or for it specifically), ignoring all other
> packets on that ethernet? (I think all adapters see all packets, but
> only accept, deal with those corresponding to their IP or to be
> routed no?)

If you're asking whether machine B can arbitrarily block packets going
from machine A to machine C if they are all on the same hub, the answer
is no.  By the time B sees the packets, it's already "too late", as C
sees them at the same time.  You can only filter packets that pass
_through_ B (this includes packets routed back out the same interface
they came in).

> Just seems like I should be saying something line in fxp0 out ed0 to
> designate the packet path. (but then I could just be needin more
> coffee today)

Depends on what you want limited.  If your customer is on fxp0, then
put both your rules in fxp0.  If other customer data goes through ed0,
you will end up filtering their traffic also.  If you identify
customers by IP/network instead of interface, you can filter on that
instead.

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20000204134302.B18195>