Posts

Showing posts from April, 2018

Slackware Routing: configuring network interfaces, adding persistent routes, routing for multiple uplinks, policy based routing

Image
Adding persistent routes, routing with multiple gateways in Slackware is not a well described procedure that you can easily find in the internet. Even on official web page (http://www.slackware.com/config/network.php) there is no info about setting the routes up. This article represents the Slackware routing configuration, including network interfaces configuration, adding persistent routes and policy based routing for multiple uplinks. The topology below shows the realistic scenario when there are two uplinks from routers R1 and R2 and the goal is to provide the server availability from these uplinks. First, configure the network interfaces: exsentis@SlackFW:~$ sudo nano /etc/rc.d/rc.inet1.conf # Config information for eth0: IPADDR[0]="10.163.30.1" NETMASK[0]="255.255.255.0" USE_DHCP[0]="" DHCP_HOSTNAME[0]="" # Config information for eth1: IPADDR[1]="10.163.20.1" NETMASK[1]="255.255.255