Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blocking MAC address

Status
Not open for further replies.

hendyman

MIS
Nov 6, 2002
11
GB

Does anyone know how to block a given MAC address from a tcp/ip network.
 
By "block" do you mean to hide/spoof the MAC address? Or do you want to prevent the NIC from sending or receiving data?
 
I'd like to be able to block a nic or series of nic's from sending/receiving data to/from the network
 
hi,
what means to/from network?
does it men:
the TCP/IP packets generated by those MACs will not go outside of the local network?!

if is it, you have to set something on the router.
what router are you using?
if you have a Linux box as router, you can use `iptables' as firewall.


man iptables

###############################
...
mac
--mac-source [!] address
Match source MAC address. It must be of the form XX:XX:XX:XX:XX:XX. Note that this only makes sense for packets entering the PREROUTING, FORWARD or INPUT chains for packets coming from an ethernet device.
...
###############################


PM
 
Dear Handy,
Ifu r usinglayer thre switchesorany router youwillahve toapply accesslist(in cisco) and filters(in Nortel) for specifiedor range of Man addresses Hitender
Try & Try Till U succedd and update others on u r achievments
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top