Isolate misbehaving IP on wlan
Posted: 28 Feb 2012, 12:51
Hi all,
We have a device that I for different reasons want to be able to isolate from the network from time to time, and I want to do this programatically from the bubba (which is our router/firewall). The device have IP-address 192.168.0.77 and is on the WLAN.
I've tried blackhole routing with:
route add -host 192.168.0.77 gw 127.0.0.1
But it doesn't seems to take.
Then I tried adding a drop-rule using iptables:
iptables -A INPUT -s 192.168.0.77 -j DROP
Didn't work either. meh...
Anyone got any ideas?
We have a device that I for different reasons want to be able to isolate from the network from time to time, and I want to do this programatically from the bubba (which is our router/firewall). The device have IP-address 192.168.0.77 and is on the WLAN.
I've tried blackhole routing with:
route add -host 192.168.0.77 gw 127.0.0.1
But it doesn't seems to take.
Then I tried adding a drop-rule using iptables:
iptables -A INPUT -s 192.168.0.77 -j DROP
Didn't work either. meh...
Anyone got any ideas?