problem removing certain rules

David P Olshefski <olshef-r/[email protected]> Tue, 10 Jun 2008 14:50:08 -0400
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <OFCE7A5338.B379F07F-ON85257464.0067021F-85257464.006778DA@us.ibm.com>
This is a multipart message in MIME format.
--===============1108278882==
Content-Type: multipart/alternative;
	boundary="=_alternative 006778D985257464_="

This is a multipart message in MIME format.
--=_alternative 006778D985257464_=
Content-Type: text/plain; charset="US-ASCII"

I can't seem to remove certain rules, unless I specifiy the rule number.

For example, I create a rule:

# ebtables -t nat -A PREROUTING  --protocol ARP -i vif1.0 -s ! 
00:16:3e:18:94:83 -j DROP

which works ok...but when I attempt to delete it:

# ebtables -t nat -D PREROUTING  --protocol ARP -i vif1.0 -s ! 
00:16:3e:18:94:83 -j DROP
Sorry, rule does not exist.

yet the rule prints out when I do a "ebtables -t nat -L"

I am using ebtables v2.0.6-77, on SUSE running in Xen dom0.


Dave O.
--=_alternative 006778D985257464_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I can't seem to remove certain rules,
unless I specifiy the rule number.</font>
<br>
<br><font size=2 face="sans-serif">For example, I create a rule:</font>
<br>
<br><font size=2 face="sans-serif"># ebtables -t nat -A PREROUTING &nbsp;--protocol
ARP -i vif1.0 -s ! 00:16:3e:18:94:83 -j DROP</font>
<br>
<br><font size=2 face="sans-serif">which works ok...but when I attempt
to delete it:</font>
<br>
<br><font size=2 face="sans-serif"># ebtables -t nat -D PREROUTING &nbsp;--protocol
ARP -i vif1.0 -s ! 00:16:3e:18:94:83 -j DROP</font>
<br><font size=2 face="sans-serif">Sorry, rule does not exist.</font>
<br>
<br><font size=2 face="sans-serif">yet the rule prints out when I do a
&quot;ebtables -t nat -L&quot;</font>
<br>
<br><font size=2 face="sans-serif">I am using ebtables v2.0.6-77, on SUSE
running in Xen dom0.</font>
<br>
<br><font size=2 face="sans-serif"><br>
Dave O.</font>
--=_alternative 006778D985257464_=--


--===============1108278882==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
--===============1108278882==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ebtables-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebtables-devel

--===============1108278882==--