ipfw using

Michael L. Hostbaek mich at FreeBSD.org
Thu Oct 9 08:09:23 PDT 2003

traore at afribone.net.gn (traore) writes:
> Pls 
> Let me know how use ipfw with adress MAC bloking syntaxe.

from 'man ipfw' :
{ MAC | mac } dst-mac src-mac

Match packets with a given dst-mac and src-mac addresses,
specified as the any keyword (matching any MAC address), or six
groups of hex digits separated by colons, and optionally followed
by a mask indicating how many bits are significant, as in

                   MAC 10:20:30:40:50:60/33 any

Note that the order of MAC addresses (destination first,
source second) is the same as on the wire, but the opposite of the
one used for IP addresses.


Best Regards,
	Michael L. Hostbaek 
	mich at FreeBSD.org - http://www.FreeBSD.org

	*/ PGP-key available upon request /*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031009/5dc93434/attachment.bin

More information about the freebsd-questions mailing list