Formating Mac addresses using python

UPDATE

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.
Continue reading

Source Based Routing for Multiple Networks

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

Using Dynamic IP with HE Tunnel and DynDns

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.

Continue reading