Re: Ipfw rules ?

From: Joseph Koshy <joseph.koshy_at_gmail.com>
Date: Thu, 14 Oct 2004 02:58:27 +0000
> 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
Received on Thu Oct 14 2004 - 00:58:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:17 UTC