Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2004 02:58:27 +0000
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        Putinas Piliponis <putinas.piliponis@hansa.lt>
Cc:        current@freebsd.org
Subject:   Re: Ipfw rules ?
Message-ID:  <84dead720410131958562f67eb@mail.gmail.com>
In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50757DC3@honda.int.hansa.lt>
References:  <217202CB5FF8AE439E263CE3D48ECB50757DC3@honda.int.hansa.lt>

next in thread | previous in thread | raw e-mail | index | archive | help
> I have a ipfw rule:
> add 40000 count ip from 10.127.0.2 to any MAC any 00:50:56:e4:79:6c in
> via lnc0
> But ipfw shows it like:
> 40000   0     0 count ip from 10.127.0.2 MAC any 00:50:56:e4:79:6c any
> in via lnc0
> 
> Is ipfw really correctly showing the rule ?

Moving the 'MAC' predicate to after the 'in' predicate seems to make
the rule print as entered:

# ipfw add 4000 count ip from 10.127.0.2 to any in mac any \
  00:50:56:e4:79:6c via rl0 
04000 count ip from 10.127.0.2 to any in MAC any 00:50:56:e4:79:6c via
rl0



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