TLD for localhost services
.localhost

This is a citation from wikipedia

Conventional use
The name localhost is a commonly defined hostname for the loopback 
interface in most TCP/IP systems, resolving to the IP addresses 
127.0.0.1 in IPv4 and ::1 for IPv6. As a top-level domain, the name 
has traditionally been defined statically in host DNS implementations 
with address records (A and AAAA) pointing to the same loopback 
addresses. Any other use conflicts with widely deployed algorithms 
relying on this convention.

read more

LACP configuration using iproute2

LACP port-channel or bonding configuration using Linux kernel and iproute2 tool.

Following cabling scheme is used in this networking scenario:

       CL1                                           S1
    +--------+                                   +--------+
    |        | eth0                        Gi0/0 |        |
    |        |-----------------------------------|        |
    |        |-----------------------------------|        |
    |        | eth1                        Gi0/1 |        |
    +--------+                                   +--------+

A Linux client called CL1 directly connected with 2 physical interfaces eth0 and eth1 to a IOS switch called S1 with interfaces Gi0/0 and Gi0/1. Interfaces have auto-negotiation enabled. Gigabit ethernet is negotiated 1Gbit/s. In this article only the Linux configuration is explained. The switch configuration is already working at the moment as CL1 is configured. The IOS switch port-channel configuration has been attached at the end of the article and is not explained further.

read more

Building an tiny GNS3 FRR linux appliance

Some weeks ago I have been using a self-baked FRR routing appliance for the GNS3 network emulator in the blog article FRR basic IS-IS router configuration. Recently after reading the FRR release notes, I have noticed that alpine linux offers recent FRR binaries in its testing repository.

Building a tiny FRR appliance from scratch is a complex task. The available virtual appliances in the GNS Marketplace are either to old or need much more resources.

Download an x86 ISO file from the official alpine linux website, or use the direct link to the x86 ISO file.

wget http://dl-cdn.alpinelinux.org/alpine/v3.11/releases/x86/alpine-virt-3.11.0-x86.iso

Create an empty disk image file for the virtual guest installation. Here qcow2 is used. The qcow file is only 1GB large, and the resulting installation will be not more than 175MB:

 qemu-img create -f qcow2 alpine-frr7.qcow2 1G

After the diskfile has been created, use QEMU to boot the downloaded iso file. Enable serial port redirection to a localhost TCP port 4321:

qemu-system-i386 -boot d -cdrom ~/Downloads/alpine-virt-3.10.3-x86.iso -hda ~/GNS3/images/qemu/alpine-frr7.qcow2 -enable-kvm -m 1G -serial telnet:localhost:4321,server,nowait

read more