[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


http://bugzilla.netfilter.org/show_bug.cgi?id=731

           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


Hello,
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 10.0.0.105 -j
ACCEPT
iptables -A FORWARD -m mac --mac-source 00:0F:EA:65:56:AC -s 10.0.0.105 -j
ACCEPT

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

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 10.0.0.0/24    
[root at lan ~]# ipset add test 10.0.0.105,00:0F:EA:65:43:FD           
[root at lan ~]# ipset add test 10.0.0.105,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 10.0.0.0-10.0.0.255 
Size in memory: 4208
References: 0
Members:
10.0.0.105,00:0F:EA:65:43:FD


-- 
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