Strony

Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Wednesday, 24 November 2021

Linux network namespaces - part 3

Linux network namespaces part 3

In this post program will be run with unshared network namespace.
Next connectivity from default network namespace will be configured towards unshared network namespace.

It is continuation of previous posts about Linux network namespaces:

Linux network namespaces - part 2

Linux network namespaces - part 2

In this post two Linux network namespaces will be configured and communication will be set up between them using bridge interface.

It is continuation of the previous post about Linux network namespaces.

Tuesday, 23 November 2021

Linux network namespaces

Linux network namespaces

Linux network namespaces provide isolation of system resources associated with networking.

When using kubernetes or containers in general, linux network namespaces are one of the building blocks of the solution.

Since I wanted to understand more about how things work behind the scenes when using containers, linux network namespaces were perfect to learn more about.

Sunday, 21 February 2021

Kubernetes installation with Ansible

This post is about installing Kubernetes cluster with Ansible.

I wanted to learn about Kubernetes and have possibility to create lab/test clusters.

Git repository with Ansible playbooks and instructions which were prepared during that process can be found here.

Saturday, 30 May 2020

FRR - installation and configuration

This post is about FRRouting (FRR).
FRR is IP routing protocol suite for Linux and Unix platforms.

Topics which will be covered:
- FRR installation on Ubuntu server
- establishing BGP session between two FRR routers and advertising network via it

Sunday, 24 May 2020

BIRD - installation and configuration

This post is about BIRD Internet Routing Daemon.

Topics which will be covered:
- BIRD installation on Ubuntu server
- setting up BGP peering between two servers with BIRD installed
- synchronization of BGP learned route with kernel forwarding table

Saturday, 9 May 2020

KVM, Ubuntu and unnatended installation

Starting idea behind that post was to learn about KVM and have possibility to create lab/test VM's in automated way.

As a result bash scripts were prepared for:
- creation of unattended installation ISO with Ubuntu Bionic server (using kickstart and preseed)
- creation of unattended installation ISO with Ubuntu Focal (using cloud-init config)
- VM deployment in KVM with Ubuntu server installed from prepared ISO

Git repository with mentioned scripts and readme files can be found here.

Sunday, 11 November 2018

mtr - friend in network troubleshooting

In various scenarious of computer networks troubleshooting, mtr can provide valuable input about path and possible problem location.

Wednesday, 7 June 2017

Docker - useful commands

#List running docker container's
docker ps

#List docker container's
docker ps -a

#Access shell of the container
docker exec -i -t id_of_container /bin/bash

Saturday, 24 October 2015

Linux - examples of using curl

- Display only headers from the http response
curl -I URL

- Get towards IP using specific "Host" header
curl --header "Host: hostname"  http://IP_Address/path_to_file

- Conditional GET using "ETag"
curl URL --header 'If-None-Match: "aaaaaa-bbbbbbbbbbbbb"'