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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO BLOCK A SPECIFIC IP ADDRESS

Status
Not open for further replies.

faithful4u

IS-IT--Management
Jul 1, 2011
23
0
0
US
hi

give me the steps that how to block a specific ip address and also a mac address. give me some details about access-list. thanks you.
 
Faithful - what are you trying to accomplish?
ACL's are used to permit and/or deny traffic, ip, ports incoming or outgoing. This can be done via standard or extended depending on what you are looking to do.

Your question is a bit vague.
 
Here is an example of how to block certain Ip's from telneting into a device

R1(config)#access-list 99 deny 10.1.1.3
R1(config)#line vty 0 4
R1(config-line)#access-class 99 in
R1(config-line)#end
R1#

so the PC on the LAN with the network 10.1.1.3 is not able to open up a telnet session to R1. Yu could also block the whole /8 subnet by changing the ip address from 10.1.1.3 to 10.0.0.0

BTW Telnet should be disabled anyway but this is just an example of standard access list...
 
Thanks,

give me steps how to block ip address on network from accessing internet and also how to block Mac address of that specific computer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top