Archive for the ‘Networking’ Category

Howdy all. I have finally got my act together and have moved the blog over to our domain hosting at http://vtsolutions.com.au. Please update any bookmarks or subscriptions you have, as over the next week or so I will be taking down this page.

Advertisements

Had a client who required in-guest iSCSI connections. After reviewing the physical NICs that were going to be available on each host, I created the following script to automate the creation of the virtual switch with associated uplinks and two portgroups. (more…)

Nearly every environment I work in has the annoying warnings on their domain controllers stating that the Netlogon.log is filling up and almost always with the NO_CLIENT_SITE warnings. It’s a simple fix, just add in all the relevant subnets into AD Sites and Services. One of those things that just should be done when new networks are brought online, but nearly always get’s left out. Well, below is a bit of PowerShell to parse the domain controller’s Netlogon.log and spit back a list of unique /24 subnets that are generating the warnings. Next step would be to identify which AD site they should belong to and add them in.
(more…)

I recently had to gather the VLAN ID information from a vCenter environment where some hosts had standard and distributed switching in use for their virtual machine networking. Unfortunately, the data for VLAN ID is located in different fields depending on the vSwitch type. So, here’s a simple script to gather both sets of into a CSV. (more…)

Subnet mask cheat sheet

Posted: September 7, 2012 in Networking

As I’m not always dealing with networks and subnet masks, whenever I do end up needing to, I can never easily remember the conversions from subnet mask (dotted decimal) to the /?? format (CIDR). Found this table that is a great cheat sheet. (more…)

Adds in a bunch of new subnets, details read from a CSV, into AD Sites and Services, into pre-existing sites. Requires Quest AD tools. (more…)

Pretty simple script here. Just needed something to loop every 10 minutes and run a number of pings against some hosts, then email me only if there were any drops. (more…)