Linux Networking 101 - ActualTech Media

The

Gorilla Guide to...?

Linux Networking 101

Inside this Guide:

? Discover how Linux continues its march toward world domination

? Learn basic Linux administration tips ? See how easy it can be to build your entire

network on a Linux foundation ? Find out how Cumulus Linux is your ticket to

networking freedom

David M. Davis

ActualTech Media

Helping You Navigate The Technology Jungle!



In Partnership With

The Gorilla Guide To...

Linux Networking 101

Author David M. Davis, ActualTech Media

Editors Hilary Kirchner, Dream Write Creative, LLC Christina Guthrie, Guthrie Writing & Editorial, LLC

Madison Emery, Cumulus Networks

Layout and Design Scott D. Lowe, ActualTech Media

Copyright ? 2017 by ActualTech Media. All rights reserved. No portion of this book may be reproduced or used in any manner without the express written permission of the publisher except for the use of brief quotations. The information provided within this eBook is for general informational purposes only. While we try to keep the information upto-date and correct, there are no representations or warranties, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the information, products, services, or related graphics contained in this book for any purpose. Any use of this information is at your own risk.

ActualTech Media Okatie Village Ste 103-157

Bluffton, SC 29909

Entering the Jungle

Introduction: Six Reasons You Need to Learn Linux ....................................................... 7

1. Linux is the future ........................................................................9 2. Linux is on everything ..................................................................9 3. Linux is adaptable.......................................................................10 4. Linux has a strong community and ecosystem ...........................10 5. Linux is fun!................................................................................10 6. Linux is open-source and sometimes free ...................................10

Chapter 1: What Is Linux?.....................................................12 The History of Linux ......................................................................13 What Is an Operating System? ........................................................14 The Components that Comprise the Linux Operating System.......15 What Is a Distribution?...................................................................16 Understanding User Space vs. Kernel Space ...................................16 Benefits of Using Linux ..................................................................18 How Is Linux Used in the Enterprise? ............................................21 Summary ........................................................................................22

Chapter 2: Basics of Linux Administration........................................................... 23

Where Do I Get Linux?...................................................................23 How Do I Log In to Linux?.............................................................24 How Do I Know What Type of Linux I Am Using?........................26 Where Do I Find Things?................................................................27 Where Are the Applications, and How Do I Run Them? ...............31 How Do I Install Applications?.......................................................33

Linux Processes, Programs, and Services ........................................37 Importance of Linux Log Files .......................................................39 Users and Superusers ......................................................................40 Files and Permissions......................................................................42 Summary ........................................................................................44

Chapter 3: Basics of Linux Network Administration .......................................... 45

Understanding Linux Network Interfaces ......................................45 MAC Addresses ..............................................................................48 IP Addressing..................................................................................49

DHCP .......................................................................................51 DNS ..........................................................................................53 Network Statistics and Counters ....................................................55 How to Configure Network Interfaces ...........................................57 Network Interface Bonding.......................................................60 Summary ........................................................................................63

Chapter 4: Understanding Linux Internetworking......................................................... 64

Layer 2 vs. Layer 3 Internetworking ...............................................66 Layer 2 Internetworking on Linux Systems ....................................68

Bridging ....................................................................................68 Spanning Tree ...........................................................................70 Layer 3 Internetworking View on Linux Systems ...........................73 Neighbor Table .........................................................................73 IP Routing.................................................................................74 Virtual LANs (VLANs)...................................................................76 Overlay Networks with VXLAN.....................................................79 Summary ........................................................................................82

Entering the Jungle

iv

Chapter 5: Cumulus Linux................................................... 83 Network Command Line Utility (NCLU)......................................85 Building a Better Bridge .................................................................87 Two Links Are Better Than One.....................................................88 IP Fabrics Are Easy .........................................................................90 BGP EVPN--L3 Network Virtualization for Network Engineers ..92

Next Steps .............................................................................. 95 Your Cumulus Linux Action Plan..................................................95

Entering the Jungle

v

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download