Showing posts with label networking. Show all posts
Showing posts with label networking. Show all posts

Tuesday, November 22, 2016

Vim Plugin: Subnet Search

Finished the subnet search plugin for vim written in python.  Given a CIDR subnet, it will generate a regular expression to match all ip addresses in that subnet:


In the example above, 10.9.3.0/29 is given as the CIDR subnet, and all the IP addresses within that subnet, including the network number and broadcast address, are highlighted.  If they were spread out amongst the file, just repeating the last search in vim using the '/' key and return will jump to the next occurrence.  Pretty handy in those cases whereby you want to search for or see all the IP addresses within a subnet.  It does go through a list of IP addresses for a subnet, so a /8 or any large subnet may take some time depending on the speed of the machine it's being run on.  It's at vim.org and github. It uses python 2.7, and the backported IP address module.

Saturday, December 31, 2011

Network Learning Resources

Here are some networking resources and tools I've found useful:
  • VisualLand - a combination network simulator, Animated howto, tutorial, general-info site
  • 9tut - a cisco certification oriented site with practice test resources
  • RouteMyWorld - a ccna/ccnp blog
  • PacketLife - a general network engineering blog
  • IP Calculator - a subnet calculator
  • CentralOps - a general purpose DNS/Traceroute/ServiceScannet/Whois utility site
  • The Net - CCIE blog with GNS3 labs
  • All About Networking - blog with cisco lab links and gns3 labs
  • Free CCNA WorkBook - CCNA exam prep materials
  • PCAPR - Online Packet Captures + social networking.