Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

basic block command

Posted on 2004-08-13
2
Medium Priority
?
199 Views
Last Modified: 2012-05-05
I'm wanting to block single ip addresses from accessing the WAN. The ip's will be identified as possible virus carriers (from remote sniffing of the network). This will give me some time to clean up the offending boxes. I plan on using an access list such as "access-list 101 deny ip 192.168.x.x"
Does this seem correct?
Thanks
0
Comment
Question by:gaskew
2 Comments
 
LVL 50

Accepted Solution

by:
Don Johnston earned 500 total points
ID: 11799764
Close. If you're only trying to block access based on where it's coming from, use a standard access list (1-99)

Router#config t
Router(config)#access-list 1 deny 192.168.1.2 0.0.0.0
Router(config)#access-list 1 deny 192.168.1.3 0.0.0.0
Router(config)#access-list 1 deny 192.168.1.4 0.0.0.0
Router(config)#interface (wherever it's coming from)
Router(config-if)#ip access-group 1 in

-Don
0
 

Author Comment

by:gaskew
ID: 11800256
Thanks!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question