[Bug 731] New: Allow duplicate IPs with different MACs in bitmap:ip.mac

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Thu Jul 28 13:42:14 CEST 2011


           Summary: Allow duplicate IPs with different MACs in bitmap:ip.mac
           Product: ipset
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: default
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: paszczus at gmail.com
   Estimated Hours: 0.0

Is there any chance for support duplicate IPs with different MACs  in ipset?

In my network, there are some users that have few computers but use only one of
them at the same time, so i gave them only one IP address.

In iptables everything is OK, i have 2 rules like:

iptables -A FORWARD -m mac --mac-source 00:0F:EA:65:43:FD -s -j
iptables -A FORWARD -m mac --mac-source 00:0F:EA:65:56:AC -s -j

and it works fine with one computer at connected to the network at the same

Now i`m switching to ipset and this is a problem, cause i cannot do the same
with ipset:

[root at lan ~]# ipset create test bitmap:ip,mac --network    
[root at lan ~]# ipset add test,00:0F:EA:65:43:FD           
[root at lan ~]# ipset add test,00:0F:EA:65:56:AC
ipset v6.8: Element cannot be added to the set: it's already added
[root at lan ~]# ipset list test
Name: test
Type: bitmap:ip,mac
Header: range 
Size in memory: 4208
References: 0

Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

More information about the netfilter-buglog mailing list