How to set up networking between Docker containers

As you may be aware, Docker container technology has emerged as a viable lightweight alternative to full-blown virtualization. There are a growing number of use cases of Docker that the industry adopted in different contexts, for example, enabling rapid build environment, simplifying configuration of your infrastructure, isolating applications in multi-tenant environment, and so on. While […]
Continue reading…

 

How to perform BGP traffic engineering using Quagga on Linux

The previous tutorials demonstrated how we can turn a CentOS box into a BGP router and filter BGP prefixes using Quagga. Now that we understand basic BGP configuration, we will examine in this tutorial how to perform more advanced traffic engineering on Quagga. More specifically, we will show how we can influence the routing path […]
Continue reading…

 

How to set up IPv6 BGP peering and filtering in Quagga BGP router

In the previous tutorials, we demonstrated how we can set up a full-fledged BGP router and configure prefix filtering with Quagga. In this tutorial, we are going to show you how we can set up IPv6 BGP peering and advertise IPv6 prefixes through BGP. We will also demonstrate how we can filter IPv6 prefixes advertised […]
Continue reading…

 

How to filter BGP routes in Quagga BGP router

In the previous tutorial, we demonstrated how to turn a CentOS box into a BGP router using Quagga. We also covered basic BGP peering and prefix exchange setup. In this tutorial, we will focus on how we can control incoming and outgoing BGP prefixes by using prefix-list and route-map. As described in earlier tutorials, BGP […]
Continue reading…

 

How to add a static route permanently on Linux

A static route is defined by statically configuring a next-hop router IP address for a specific destination network. You can add a static route by using “route add” command. However, a static route so added is not persistent across reboots. If you would like to add a static route permanently on Linux, do the following. […]
Continue reading…

 

How to enable IP forwarding in Linux

To check whether IP forwarding is enabled or not, you can run the following command. The output “1” means that IP forwarding is enabled, and “0” means that it’s not. $ cat /proc/sys/net/ipv4/ip_forward If you want to enable IP forwarding on the fly, you can use sysctl command as follows. IP forwarding will be activated […]
Continue reading…