* [LARTC] Filtering with MAC Address
@ 2002-08-01 19:01 Marcio Fraisleben Dias
2002-08-01 19:07 ` Adam B. Fineberg
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Marcio Fraisleben Dias @ 2002-08-01 19:01 UTC (permalink / raw)
To: lartc
Can someone help me to do 'tc filter' by MAC Address? I use HTB in my setup
and it works wonderfully for IP, but I need to shape NAT connections, and I
can't do it using IP addresses. Any suggestions welcome!
Marcio Fraisleben Dias
NetUnião Ltda.
Internet Banda Larga - Soluções em Networking
(55) 42 523 4100
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Filtering with MAC Address
2002-08-01 19:01 [LARTC] Filtering with MAC Address Marcio Fraisleben Dias
@ 2002-08-01 19:07 ` Adam B. Fineberg
2002-08-01 19:38 ` Stef Coene
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Adam B. Fineberg @ 2002-08-01 19:07 UTC (permalink / raw)
To: lartc
Marcio Fraisleben Dias wrote:
>Can someone help me to do 'tc filter' by MAC Address? I use HTB in my setup
>and it works wonderfully for IP, but I need to shape NAT connections, and I
>can't do it using IP addresses. Any suggestions welcome!
>
I was never able to figure it out either so if someone can help with
this I'd appreciate it.
Best regards,
Adam Fineberg
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Filtering with MAC Address
2002-08-01 19:01 [LARTC] Filtering with MAC Address Marcio Fraisleben Dias
2002-08-01 19:07 ` Adam B. Fineberg
@ 2002-08-01 19:38 ` Stef Coene
2002-08-01 21:15 ` Adam B. Fineberg
2002-08-02 8:07 ` M.F. PSIkappa
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2002-08-01 19:38 UTC (permalink / raw)
To: lartc
On Thursday 01 August 2002 21:07, Adam B. Fineberg wrote:
> Marcio Fraisleben Dias wrote:
> >Can someone help me to do 'tc filter' by MAC Address? I use HTB in my
> > setup and it works wonderfully for IP, but I need to shape NAT
> > connections, and I can't do it using IP addresses. Any suggestions
> > welcome!
>
> I was never able to figure it out either so if someone can help with
> this I'd appreciate it.
You can filtering on source mac address with iptables : -m mac --mac-source
xx:xx:xx:xx:xx:xx. That you wat you can mark the packets with -j MARK
--set-mark 123 and use the fw filter.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Filtering with MAC Address
2002-08-01 19:01 [LARTC] Filtering with MAC Address Marcio Fraisleben Dias
2002-08-01 19:07 ` Adam B. Fineberg
2002-08-01 19:38 ` Stef Coene
@ 2002-08-01 21:15 ` Adam B. Fineberg
2002-08-02 8:07 ` M.F. PSIkappa
3 siblings, 0 replies; 5+ messages in thread
From: Adam B. Fineberg @ 2002-08-01 21:15 UTC (permalink / raw)
To: lartc
> You can filtering on source mac address with iptables : -m
mac --mac-source
> xx:xx:xx:xx:xx:xx. That you wat you can mark the packets with -j MARK
> --set-mark 123 and use the fw filter.
My problem was I need to filter on the destination mac address and I
couldn't figure a way to do that. Is there a --mac-destination?
Adam
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Filtering with MAC Address
2002-08-01 19:01 [LARTC] Filtering with MAC Address Marcio Fraisleben Dias
` (2 preceding siblings ...)
2002-08-01 21:15 ` Adam B. Fineberg
@ 2002-08-02 8:07 ` M.F. PSIkappa
3 siblings, 0 replies; 5+ messages in thread
From: M.F. PSIkappa @ 2002-08-02 8:07 UTC (permalink / raw)
To: lartc
Maybe you can use ebtables
http://users.pandora.be/bart.de.schuymer/ebtables/
ebtables are iptables which understand ethernet protocol.
On Thu, 1 Aug 2002, Adam B. Fineberg wrote:
> > You can filtering on source mac address with iptables : -m
> mac --mac-source
> > xx:xx:xx:xx:xx:xx. That you wat you can mark the packets with -j MARK
> > --set-mark 123 and use the fw filter.
>
> My problem was I need to filter on the destination mac address and I
> couldn't figure a way to do that. Is there a --mac-destination?
>
> Adam
--
`)_|_(' PSIkappa
I k psi _at_ atlantis.sk
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-08-02 8:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-01 19:01 [LARTC] Filtering with MAC Address Marcio Fraisleben Dias
2002-08-01 19:07 ` Adam B. Fineberg
2002-08-01 19:38 ` Stef Coene
2002-08-01 21:15 ` Adam B. Fineberg
2002-08-02 8:07 ` M.F. PSIkappa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.