A better way to do this is using the netaddr library. as shown in this post Better way of formatting mac addresses in python
I have a large set of shell script that I had written in shell, which I have been converting to python based scripts. I found using python I could better extend my scripts and reuse code. I also appreciate that python is a full object oriented programming language, with a very powerful set of standard libraries and many optional third party libraries.
After not having time to write an article for a while, here is the article I promised in the last post. We will take our basic network from our other article on source based routing, and expand it. This solution involves a dual-homed network with redundant gateways. Continue reading
I loved this post for Networking Nerd
When you are transitioning from one carrier to another using provider allocated IP space there is a neat little trick you can use to route outbound traffic through the correct carrier. While there are some carrier’s that do not filter their ingress traffic, there are many others who do.
This post by Ivan Pepelnjak reminds me of the time I was converting a customer from a Redback to a Cisco who had extensive vpi/pvc settings with statics. I spent about two days working up the scripts, but felt pretty satisfied with my work after I was done. Great write-up Ivan, do you mind sharing the scripts?
Matthew Mengel wrote an interesting article on the Packet Pushers Blog about using Cisco Smart Install. This is an interesting system that can automate deployment to new switches in a campus environment.
I’ve been working with a lot of PPPoE deployments in the past few weeks, and decided to post a short template of the Cisco side of things. Note that I will not be blogging on how to set up a radius server in this post or how to set up the AV-Pairs to rate-limit etc…
At my home I am using both a Huricane Electric IPv6 Tunnel and DynDNS with my dynamic PPPoE DSL. While static addresses are available, the additional price isn’t worthwhile for my current uses. I found that Hunicane Electric now has a dynamic interfaces that works similar to DynDNS. I was able to get the following configs to set up DynDNS and a dynamic HE Tunnel.
RFC5735 Outlines the different reserved ipv4 addresses. In addition to the RFC1918 space (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) There are Other Ranges. Continue reading
I am working to organize this site so that I can arrange my thoughts and discoveries in a logical manner.