1 of 31

Networking 101

SJU ACM STUDENT CHAPTER

Sign In Form:

2 of 31

Before We Begin:

  • We will be using Cisco Packet Tracer for the Live Challenge part of this lab
  • Downloading Cisco Packet Tracer is a two-step process:
    • (1) Log into www.netacad.com, and Sign In!
      • If you do not have an account already, make one for free!
    • (2) Once Logged in, see the resources tab at the top of the netacad page > Click Download Packet Tracer > Scroll to the Bottom and download the version suitable for your machine
  • If you have any questions, Raise your hand & one of the board members will be around to assist you!

3 of 31

What is

computer Networking?

4 of 31

Professional Computer Networking

  • Cisco Refers to Computer networking as:
    • Connected computing devices (such as laptops, desktops, servers, smartphones, and tablets) and an ever-expanding array of IoT devices (such as cameras, door locks, doorbells, refrigerators, audio/visual systems, thermostats, and various sensors) that communicate with one another
  • Computer networks greatly vary in terms of their complexity
    • Local-area network (LAN) - Home/Small office
    • Wide-Area network (WAN) - Expands across a large geographical area and connects lans
    • Enterprise networks - networks built specifically for functionality in one company - may combine Lans and wans
    • Service-provider network - networks controlled by an ISP

5 of 31

LAN versus Wan

6 of 31

7 of 31

Why should you learn computer networking?

8 of 31

Benefits of

computer Networking

    • Computer Networking is often taught through the lens of the oSI Model
      • consists of 7-Layers and provides a method to visualize how traffic is communicated over a network (host to Host)
    • With the oSI model you can troubleshoot on a per layer basis, isolating the problem to one layer
    • We can leverage this notion to focus understand where our threats originate from and how we can work to protect these threats at that layer

9 of 31

Threats and the OSI Model

10 of 31

benefits of Computer Networking:

  • Helps to Craft Better Programs - programs you develop as a software engineer/developer will often be on a live network & you want to ensure it integrates well into the current network infrastructure
  • Allows for a flexible career path, allowing you to integrate yourself into any industry
    • like SWE and Cyber Security Analysts, computer networking is needed everywhere
  • Find yourself dealing with cutting-edge technology that directly impacts daily usage of the Internet (5G, Wi-Fi 6, AI and ML, SD-WAN)

11 of 31

What are the fundamentals

of computer networking?

12 of 31

What do we need to Build out our network?

  • Physical Components
    • Hosts - PCS, Laptops, Printers, Servers, Mobile Phones, etc.
    • Switch - “the building blocks for any network”
      • Connect multiple devices on a network, allowing these devices to share information and talk to each other
    • Router - provides the best route for traffic to take as it traverses from one network to another
    • Cables - Ethernet, fiber optic, etc.
      • Wireless also falls into the category of a medium to transfer data
  • Logical components
    • Configuration settings - just like your phone or computer, switches, and routers have an OS that allows us to configure their settings
    • IP addressing - similar to our home addresses, providing a way to denote a computer on a network
      • Default Gateway - “The Front Door of the network”; the default route taken when no routing is configured

13 of 31

Live Demo

14 of 31

Laying out the scenario

  • The Mets and Yankees have their own Local-area networks and want to communicate with each other
  • The Mets operate on the Subnet 192.168.1.0/24
    • The /24 indicates a subnet mask of 255.255.255.0
  • the yankees operate on the subnet 192.168.2.0/24
  • The highlighted portion of each address is meant to signify we are dealing with two distinct networks
    • think about literal geography: The yankees occupy the Bronx and the Mets occupy Queens
  • Switches allow Mets Players/Staff and Yankees Players/Staff to communicate with each other
  • We need a way to join these networks
    • we implement a router to have the two networks talk to each other
    • the router, labeled as MLB HQ, is manhattan - the middle ground between queens and the bronx
  • We also want to configure these router, Switches, and Hosts appropriately

15 of 31

KEY NEtwork Details

Interface Linked to MLBHQ-R1

Network Address

IP Default Gateway and Subnet Mask

NYM-SW1

G0/0

192.168.1.0/24

192.168.1.1 | 255.255.255.0

NYY-SW1

G0/1

192.168.2.0/24

192.168.2.1 | 255.255.255.0

IP Address

Subnet Mask

Default Gateway

Showalter-PC1

192.168.1.2

255.255.255.0

192.168.1.1

Lindor-LT1

192.168.1.3

255.255.255.0

192.168.1.1

Boone-PC1

192.168.1.2

255.255.255.0

192.168.2.1

Judge-LT1

192.168.1.3

255.255.255.0

192.168.2.1

16 of 31

Step 1: Opening Cisco Packet Tracer

  • Many of us may be familiar with cisco packet tracer because of NEt-1011 or NET-1015
  • The application is a wonderful way to learn, build, and test networks
  • Once your open the application, you will be prompted to sign in to either a Networking academy or Skills for All account
    • Select the Networking Academy option and sign in with the same account credentials you used when downloading cisco Packet Tracer
  • Once logged in, you will see a blank workspace

17 of 31

Step 2: Placing our physical Equipment

  • in the bottom left corner you will see a bunch of icons that represent mainly physical equipment you can place onto your topology, beginning with Network Devices on the top row, and directly under that the different types of network devices (Routers, switches, hubs, wireless, security, and wAN emulation)
  • Cisco Packet Tracer uses a drag and drop method of placing this equipment - we will begin by Placing One 2911 model of a cisco router onto the workspace
  • We are now going to select the switches option, located directly to the right of Router and will drag and drop TWO 2960 model switches

18 of 31

19 of 31

Step 2: Placing our physical Equipment

  • Moving forward to our end devices or hosts, we navigate right of the network devices and into End Devices
    • The subtab of end devices has PCs, Laptops, Servers, Printers, IP phones, etc.
    • to keep things simple we will drag and drop one pC and one laptop to each Local-Area Network

20 of 31

Step 2: Placing our physical Equipment

  • Cabling is our final step of physical equipment
    • Navigate to the lightning bolt in the bottom left corner and you will find the different cabling available
    • We will select the straight black cable, which is Named Copper straight-through
  • After selecting this cable, left click on your router and you should see a menu that appears with a bunch of different ports/interfaces
    • Select Gigabitethernet 0/0
    • then left click on the switch designated to one of the lans and select gigabitethernet 0/1
  • Repeat this process for the second switch on the other lan, but select GigaBitEthernet 0/1 on the router and gigabitethernet 0/1 on the Switch

21 of 31

Step 2: Placing our physical Equipment

  • We continue by Hooking up our hosts to our switch
    • Take the Copper Straight-Through cable, click either the laptop or PC and select FASTETHERNET0, and then click the corresponding switch and select FastEthernet 0/1 or FastEthernet 0/2 (try to go in order to Port 0/1 then Port 0/2)

22 of 31

Step 3: Configurations

  • As mentioned earlier, we want to configure a switch appropriately
    • We begin by changing its hostname from the Default
  • To configure this change, click on one of the switches and select the CLI tab
  • you will notice the interface appear as Switch>
  • At the prompt enter the following two commands, one after the other:
    • enable
    • Configure terminal
  • You will see Switch(config)#, which represents global configuration mode:
    • Here we can change the default name of the switch to reflect the switch we are working on through using the command hostname [name]
  • To save this change, we can execute the following command:
    • do copy run start → hit enter to confirm
  • We will repeat this process for the switch on the other end of the router

23 of 31

Step 3: Configurations

  • we follow a similar process for the router by clicking on the device, and selecting the CLI tab
    • it will ask “Would you like to enter…” - Type N and Hit Enter twice
  • You will see the default name of ROuter, which we will change by once again using the following Series of commands
    • enable
    • configure terminal
    • hostname [name]
    • do copy run start → Hit Enter to confirm
  • We also want to assign our ports with IP address
    • to do so we will enter interface configuration mode by either entering the command interface g0/0 or interface g0/1
    • You will then enter the command IP address [default gateway] [subnet mask]
      • You must ensure the information you enter here is consistent with the interface pointing towards the LAn you are configuring
    • It is then very critical that you enter the command No ShutdowN
    • Repeat this process for the other interface that you have not yet configured
    • You can then once again do a do copy run start → Hit Enter to confirm

24 of 31

Step 3: Configurations

  • Going back to our switches, we must now indicate our Default gateway, which we setup with our changes to the router in the last slide
  • This process is relatively straight forward and requires one command:
    • Ip Default-gateway [default gateway]
      • If you go back to your switch and do not see (config)#, rather see >, use the enable and configure terminal Commands
    • The default gateway will be different by router as it depends on the IP address of the interface pointing to the LAn from the router
  • You can cap this off by doing do copy run start → hit enter to confirm

25 of 31

Step 3: Configurations

  • The final step is to assign our End Devices with IP addressing
    • This is usually done dynamically in enterprise environments, utilizing a DHCP server to provide IP addresses to end points
  • We will statically assign IP addressing to each of the four end devices
  • Click on the appropriate end device > Desktop Tab > IP Configuration > set the IPv4 address to the one provided via the KEY NEtwork Details table
  • When you type in the IPv4 Address, the subnet mask should autofill to 255.255.255.0
  • In the default gateway portion, type in the Default Gateway that aligns with the default gateway of that lan
  • See Picture for a sample Configuration

26 of 31

Step 4: Testing the Network

  • With all of our configurations set, we have built out our network!
  • However, we want to test connectivity, so we will send a few pings to ensure devices can communicate with each other
  • We will take the showalter-PC1 and navigate to the desktop tab, and select the command prompt tile
    • Issue the command ping 192.168.2.3 to test connectivity to JUDGE-LT1; We want to see 4 successful pings (See Image)
  • We will do this process on an end device on the Yankees LAN, having BoonE-PC1 speak to Lindor-LT1
    • Issue the command Ping 192.168.1.3 to test connectivity

27 of 31

Live Challenge Time

28 of 31

Laying out the scenario + Key Network Details

  • Dunder Mifflin is preparing for members of their stamford branch to relocate to their scranton branch
    • Before the move, they want each branch to begin communications with each other
  • the Scranton Branch operates on the Subnet 192.168.3.0/24
  • the Stamford Branch operates on the subnet 192.168.4.0/24
  • COnfigure a network that allows pam-PC1 to ping Jim-PC1 and Andy-LT1 to Ping Dwight-LT1

Interface Linked to Corporate-R1

Network Address

IP Default Gateway and Subnet Mask

SCRANTON-SW1

G0/0

192.168.3.0/24

192.168.3.1 | 255.255.255.0

STAMFORD-SW1

G0/1

192.168.4.0/24

192.168.4.1 | 255.255.255.0

IP Address

Subnet Mask

Default Gateway

PAM-PC1

192.168.3.2

255.255.255.0

192.168.3.1

DWIGHT-LT1

192.168.3.3

255.255.255.0

192.168.3.1

JIM-PC1

192.168.4.2

255.255.255.0

192.168.4.1

ANDy-LT1

192.168.4.3

255.255.255.0

192.168.4.1

29 of 31

Sample Topology

30 of 31

Command CHeat Sheet

Router:

  • hostname [name]
  • interface [interface]
    • interface is either g0/0 or g0/1
  • ip address [default gateway] [subnet mask]
  • No shutdown
  • do copy run start

Switch:

  • hostname [name]
  • ip default-gateway [default gateway]
    • Default gateway will be LAN-Specific
  • do copy run start

31 of 31

Thank you!