Sample Linux Router Setup
Keeping in mind all you have seen, consider a quick overview of a Linux router setup. I will show you a script that takes the setup illustrated in the beginning and turns on all the IPv4 traditional networking functions needed to perform traditional dynamic routing as you would see in countless small network connections.
So consider again the scenario. You have two networks, an Ethernet with IPv4 scope 192.168.1.0/24 and a Token Ring with IPv4 scope 10.1.1.0/24. The default router for the world as you know it is 10.1.1.1 on the Token Ring. You are running RIPv1 and want to participate in the dynamic routing scheme. You need to create one single script that will take your Linux system and turn on IP routing, configure ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access