Created on
22/01/18 16:00

Modified on
02/02/18 23:00

Filed under
Go

Tags
golang gentoo sparc

Preface

Gc (Go's most widely-used compiler) isn't available for GOOS=linux && GOARCH=sparc (Gentoo SPARC) for now; what makes matters worse is that Gccgo (sys-devel/gcc[go]) is not working on Gentoo (it hangs in early initialization). Debian Ports comes to the rescue, as although no Gc as well, their …

Read More

Created on
18/11/17 01:00

Modified on
18/11/17 01:00

Filed under
Networking

Tags
networking

Preface

With a bunch of servers, it's necessary that they're named in a consistent manner. This article describes how the machines should be named.

Basic rule

A machine name should consist of the following three parts:

  • a unique identifier for the machine (Romaji of Japanese words in one Kanji, examples …
Read More

Created on
15/11/17 18:00

Modified on
16/05/18 00:00

Filed under
Networking

Tags
networking gre mpls iproute2

Preface

MPLS can be used for prioritizing traffic, which will be used in JSteward Tech's routing policy. This article works out how to label packets with MPLS and switch according to packets between two host connected by a GRE tunnel.

Before you start

Full MPLS support wasn't present in Linux …

Read More

Created on
11/11/17 15:00

Modified on
11/11/17 15:00

Filed under
Networking

Tags
networking infrastructure

Preface

As the number of machines I manage increase gradually, it has become a necessity to connect the machines together through secure, reliable tunnels, thus forming an internal network. A private network can have the following advantages:

  • Ease of configuring services that involve multiple machines, such as a databases and …
Read More

Created on
10/11/17 00:00

Modified on
10/11/17 00:00

Filed under
Networking

Tags
networking gentoo

Preface

On a machine with native IPv6 that's working quite well (e.g. CERNET2), it's usually desirable to set the host's default IPv6 route to go through native IPv6. Yet the cheap /48 address block offered by HE Tunnelbroker can be useful if one wishes to assign IPv6 addresses through …

Read More

Personal details (portrait, CV) © Pengcheng Xu All Rights Reserved; articles licensed under CC BY-SA 4.0.
Powered by Pelican, Bootstrap, and NixOS. Icons by Font Awesome. Generated from 8b4bf12.