Pluje mi błędem podczas próby dodania adresu IP z innym adresem MAC niż już dodany.
Da się jakoś to obejść?
Kod: Zaznacz cały
root@test1:~# ipset -A macaccept 192.168.1.1,00:00:00:00:00:01
root@test1:~# ipset -A macaccept 192.168.1.2,00:00:00:00:00:02
root@test1:~# ipset -A macaccept 192.168.1.3,00:00:00:00:00:03
root@test1:~# ipset -A macaccept 192.168.1.3,00:00:00:00:00:04
ipset v6.12.1: Element cannot be added to the set: it's already added
root@test1:~# ipset -L
Name: macaccept
Type: bitmap:ip,mac
Header: range 192.168.1.0-192.168.1.255
Size in memory: 4208
References: 0
Members:
192.168.1.1,00:00:00:00:00:01
192.168.1.2,00:00:00:00:00:02
192.168.1.3,00:00:00:00:00:03
