Go Notes: Structs

24th November 2019

A Structure or struct for short, is a type defined by the user that stores a collection of fields. go // create a struct type stuffAndThings struct { stuff string things string } // Instantiate a struct st := stuffAndThings{ stuff: "stuff", things:... continue reading

golang


Go Notes: Arrays

22nd November 2019

Arrays are a collection of values of the same type. go // create an array that can hold 2 elements var stuff [2]string // assign values to the array stuff[0] = "blah" stuff[1] = "bleh" // shortcut to create an array and assign values stuff := [2]string{"blah", "bleh"} //... continue reading

golang


Go Notes: Functions

21st November 2019

Functions group operations into a unit of code. go // Basic function that accepts no arguments and returns nothing func stuff() { // do stuff } // Function that accepts an argument func stuff(s string) { // do stuff with 's' } // Function that accepts arguments and... continue reading

golang


Go Notes: Variables

19th November 2019

There are a number of methods to define variables in Go. go // Initialise variable with its zero value // explicitly defining the variables type var stuff string // Assign a value to 'stuff' variable stuff = "stuff" // Initialise variable and assign a value var stuff string... continue reading

golang


Ubuntu 1804 Netplan Bridge Interface Configuration

2nd November 2019

Ubuntu 1804 server uses netplan for network management. This post will cover how to create a bridge interface with netplan in order to have multiple virtual machines share the same physical interface. Create the following /etc/netplan/01-netcfg.yaml file in order to configure the... continue reading

linux ubuntu networking


JNCIS-SP

1st November 2019

I recently passed the JNCIS Service Provider (JN0-361) certification exam on my second attempt. This post will cover the materials and methods I used to tackle this exam. Juniper had a free cert day on the 17th of September 2019 here in Australia. From the time it was announced I... continue reading

certification juniper


Juniper vQFX 18.4R1.8 Vagrant Libvirt Box Install

1st September 2019

In this post I will cover how to create a Juniper vQFX Vagrant box 18.4R1.8 for use with the vagrant-libvirt provider. This is an update to a previous post post. Thankfully Juniper has released newer versions of the vQFX vagrant boxes for the Virtual box provider that can be utilized... continue reading

vagrant juniper libvirt


Juniper vMX 19.1R1.6 Vagrant Libvirt Box Install

31st August 2019

In this post I will cover how to create a Juniper vMX 19.1R1.6 Vagrant box for use with the vagrant-libvirt provider. This post is an update to a previous post post that covers an earlier version. Prior to installing the vMX there are some required steps to get the KVM host ... continue reading

vagrant juniper libvirt


Install Golang Ubuntu1804

22nd August 2019

This will just be a quick post on how to install Golang on Ubuntu 1804. There will be no earth shattering knowledge bombs, it's more of a documentation post for myself. Others may or may not find it useful. Code versions used for this lab Ubuntu - 1804 Golang - 1.12.9 ... continue reading

golang linux


Gitlab Gitaly Error

23rd June 2019

After a power failure of the instance hosting my gitlab server I began getting errors when trying to access existing projects (404) or create new projects (503) from the web interface. I could see the list of projects but if I clicked on the link to any of them I would get a 404 errors.... continue reading

linux gitlab troubleshooting


Cisco SDWAN Command Comparison Cheat Sheet

12th June 2019

Our Cisco SDWAN account rep provided our team with a command cheat sheet that compares commands from the Viptela vEdge platform to the Cisco cEdge platform. This could be useful for others and with permission I am re-producing it here almost verbatim. I only cleaned it up, added a couple... continue reading

sdwan cisco viptela networking


Narbik CCIE Routing and Switching v5.1 Workbook NETMAP

8th June 2019

I recently purchased Narbiks CCIE routing and switching v5.1 workbook bundle. Some of the labs in the workbook use devices with serial interfaces. I run most of my lab in Vagrant/KVM/Qemu. Qemu does not support serial interfaces and I dont have any physical devices any more. Shit! What... continue reading

networking cisco iol narbik ccie


Cisco SDWAN Self Hosted Lab Part 2

3rd June 2019

This is the second post in a two part series on building a self hosted Cisco SDWAN lab using an enterprise CA for certificates. You can find the first part here. In this part I will install the controller stack: vManage vBond vSmart Along with the WAN edges: ... continue reading

sdwan cisco networking kvm libvirt


Cisco SDWAN Self Hosted Lab Part 1

2nd June 2019

One of the posts I get contacted about the most is this one on how the setup a self hosted Viptela control plane. Since Cisco acquired Viptela the process has changed and is now (IMO) a bit simpler. With the release of SDWAN software version 19.1.0 it is now possible to use... continue reading

sdwan cisco networking


LDAP Search Active Directory

31st May 2019

I recently had to migrate authentication for a service from FIPA to Active Directory. It was a bit of fluffing around because the directory structure in FIPA did not exactly align with the directory structure in AD. In this post I will demonstrate how to use the ldapsearch command to... continue reading

linux windows ldap active-directory


Looking for more? Browse posts by Category or search the Blog Archives.