Applying Subnet Networks to Network Devices - CCNA 2: Day 2

Dans IT Network
21 Mar 202408:15

Summary

TLDRIn this instructional video, the host guides viewers through the process of configuring IP addresses for three subnetted networks. The tutorial covers setting up IP addresses and subnet masks on various devices, including PCs and routers, and highlights the importance of default gateways. The host also demonstrates the use of the command line interface for configuring network interfaces and explains the concept of 'destination host unreachable' due to the lack of routing between certain networks. The video concludes with a teaser for the next tutorial, which will focus on static routes and default routing.

Takeaways

  • πŸ˜€ The video is a tutorial on configuring IP addresses for a network with three subnetted networks.
  • πŸ” The default gateway for Network 1 is set to 1.1, and the PC in this network is assigned IP address 1.2.
  • πŸ“ For Network 2, the router is assigned IP address 1.65 and the next router is assigned 1.66.
  • πŸ”’ Network 3 uses 1.129 as the default gateway for the router and the PC is assigned IP address 1.130.
  • πŸ’‘ A subnet mask of 255.255.255.192 is used for all IP addresses due to the networks being subnetted with a /26.
  • πŸ› οΈ The tutorial involves configuring interfaces on routers and PCs, including setting IP addresses and enabling interfaces.
  • πŸ”— The router's serial interface (DCE) requires a clock rate to be set, while the gigabit interface (DTE) does not.
  • πŸ”„ The process includes saving configurations on routers to retain the set IP settings.
  • πŸš€ After setting up the IP addresses, a ping test is performed to check connectivity between PCs.
  • 🚫 The ping test fails due to the lack of routing information between the networks on the routers.
  • πŸ”„ The next tutorial will cover configuring static routes or default routes to resolve the connectivity issue.

Q & A

  • What was the purpose of the previous video mentioned in the script?

    -The purpose of the previous video was to create four subnetted networks, but it was later determined that only three networks were needed.

  • What are the three networks that were eventually used in the script?

    -The three networks used are Network 1, Network 2, and Network 3.

  • What is the default gateway for Network 1 in the script?

    -The default gateway for Network 1 is 192.168.1.1.

  • What IP address is assigned to the PC on Network 1?

    -The PC on Network 1 is assigned the IP address 192.168.1.2.

  • What is the IP address assigned to Router 1 on Network 2?

    -Router 1 on Network 2 is assigned the IP address 192.168.1.65.

  • What is the subnet mask used for each IP address in the script?

    -The subnet mask used for each IP address is 255.255.255.192.

  • Why is the subnet mask 255.255.255.192 used in the script?

    -The subnet mask 255.255.255.192 is used because the networks were subnetted into a /26, which requires this subnet mask for proper addressing.

  • What command is used to enable the interface on a router in the script?

    -The command 'no shutdown' is used to enable the interface on a router.

  • What is the IP address assigned to the PC on Network 3 in the script?

    -The PC on Network 3 is assigned the IP address 192.168.1.130.

  • Why was the ping from PC to PC2 unsuccessful in the script?

    -The ping was unsuccessful because the router did not have a route configured for the network that PC2 was on, as it was not connected to the router's interface.

  • What will be configured in the next tutorial according to the script?

    -In the next tutorial, static routes or default routes will be configured to resolve the connectivity issues.

Outlines

00:00

🌐 Network Configuration and IP Address Assignment

The script begins with a tutorial on configuring IP addresses for a network that has been previously subnetted into four networks, but only three are needed. The focus is on assigning IP addresses to Network 1, Network 2, and Network 3, with specific default gateways for each. The subnet mask used is 255.255.255.192, indicating a /26 subnetting scheme. The video demonstrates configuring the IP address on a PC, setting the default gateway on routers, and configuring interface IP addresses on routers with commands entered in the command line interface (CLI). The process includes setting the clock rate for a DC port and ensuring interfaces are active with the 'no shutdown' command. The script ends with the configuration being saved and a brief mention of a future tutorial on static routes or default routes.

05:02

πŸ” IP Configuration Continuation and Connectivity Testing

This paragraph continues the network configuration process, detailing the IP address settings for additional interfaces on routers and PCs. The script covers the assignment of IP addresses to a router's serial interface and a PC's network interface, with an emphasis on the correct subnet mask and default gateway for each device. After configuring the devices, the script moves on to testing connectivity between two PCs using the ping command. The test reveals that the ping is unsuccessful due to a lack of routing information between certain networks, as the routers do not have interfaces connected to all subnets. The paragraph concludes with a teaser for an upcoming tutorial that will address the configuration of static routes or default routes to resolve the connectivity issue.

Mindmap

Keywords

πŸ’‘Subnetting

Subnetting is the process of dividing a network into smaller networks, which is essential for efficient IP address allocation and traffic management. In the video, subnetting is used to create three distinct networks from a larger network, each with its own IP address range, as shown by the script's reference to 'subnetted networks' and the application of IP addresses with a subnet mask of 255.255.255.192.

πŸ’‘IP Address

An IP address is a unique identifier for devices on a network, allowing them to communicate with each other. The video script mentions assigning specific IP addresses to various devices such as routers and PCs, for example, '1.2' for a PC and '1.65' for a router, which are crucial for setting up network connectivity.

πŸ’‘Default Gateway

A default gateway is the IP address of the router on a network that devices use to send data to other networks. The script refers to setting the default gateway for PCs, such as 'do1 1.1' and '1.1928.1.129', which is necessary for routing traffic outside of the local network.

πŸ’‘Router

A router is a networking device that forwards data packets between computer networks. The video discusses configuring routers with specific IP addresses and default gateways, like 'router one' getting the IP address '1.65', which is fundamental for establishing network routes and connectivity.

πŸ’‘Subnet Mask

A subnet mask is used to separate the network address from the host address within the IP address structure. The script specifies a subnet mask of '255.255.255.192' for the IP addresses, which defines the size of the subnet and the number of available host addresses.

πŸ’‘Interface

In networking, an interface refers to a communication endpoint, such as a physical port on a router. The script describes configuring interfaces on routers, like 'interface zal, 010' and 'gigabit 0/0', which are essential for assigning IP addresses and enabling communication.

πŸ’‘Clock Rate

The clock rate is the speed at which data is transmitted over a serial interface, typically measured in bits per second. The script mentions setting the clock rate to '128,000' for a DC (Data Communications) port, which is important for synchronous communication.

πŸ’‘DTE and DCE

DTE stands for Data Terminal Equipment, and DCE stands for Data Communications Equipment. In the context of the script, a DC port on a router requires a clock rate, while a DTE port does not, indicating the direction of the clock signal in a point-to-point connection.

πŸ’‘No Shutdown

The 'no shutdown' command in networking is used to activate an interface that has been administratively shut down. The script includes this command to turn on interfaces like 'interface serial 010' and 'gigabit 0/0', enabling them to pass traffic.

πŸ’‘Ping

Ping is a network administration tool used to test the connectivity between two networked devices by sending Internet Control Message Protocol (ICMP) echo request packets. The script describes an unsuccessful ping attempt, indicating a network connectivity issue due to missing routes.

πŸ’‘Static Route

A static route is a network route that is manually configured and does not change unless altered by a network administrator. The script hints at configuring static routes in a future tutorial to resolve the 'destination host unreachable' issue encountered during the ping test.

Highlights

Introduction to the process of applying IP addresses to a network with subnetted segments.

Explanation of the requirement for three networks instead of four.

Assignment of IP address 1.2 to the PC on network one with a default gateway of 1.1.

IP address 1.65 assigned to router one on network two with 1.66 for router two.

Network three's router is given the IP address 1.129 with 1.130 for PC2.

Use of subnet mask 255.255.255.192 for all IP addresses due to a /26 subnet.

Demonstration of configuring IP settings on a PC with IP address, subnet mask, and default gateway.

Accessing the command line interface of a router and entering privilege mode.

Configuration of interface zal 010 with a clock rate and IP address on router one.

Assigning IP address 192.168.1.1 to gigabit 0/0 as the default gateway for the PC.

Saving the router configuration and proceeding to configure router two.

Setting up interface serial 010 on router two with IP address 1.66 without a clock rate.

Configuring gigabit 0/0 on router two with IP address 1.129 for network three.

PC2's IP configuration with address 1.130 and default gateway 1.192.168.1.129.

Testing connectivity with a ping command and the discovery of a network reachability issue.

Explanation of the network reachability issue due to the lack of routing configuration.

Announcement of the next tutorial focusing on static routes or default route configuration.

Transcripts

play00:02

hello guys welcome to dance it Network

play00:05

on my previous video we create a four

play00:10

subnetted networks okay but we only need

play00:13

three networks which is the network one

play00:16

network 2 and network 3 okay and it's

play00:19

time for us now to apply the uh their IP

play00:22

addresses okay so on the network one

play00:25

will be on this uh portion okay we'll be

play00:27

using this default gateway do1 1.1 to

play00:30

this router and this PC okay will get

play00:34

this IP address the 1.2 all right and

play00:38

the network 2 will apply it over here

play00:40

okay as showed on the label the IP

play00:44

router one should get the uh IP address

play00:47

1.65 which is here okay and the router

play00:51

to the

play00:53

1.66 and lastly the network 3 okay the

play00:57

uh 1.1 129 uh will be on the uh this um

play01:02

router okay the default gateway and then

play01:06

uh the PC all right well this should be

play01:08

a PC2 okay I'll change

play01:11

it right and this PC2 you should get the

play01:14

uh one. 130 okay and we need to use the

play01:19

subet mass

play01:23

255.255.255.192 on the each IP um

play01:27

address that will go into register okay

play01:30

why it's because um they were subnetted

play01:33

all right into a slash uh 26 um Network

play01:37

okay and let's proceed let's register

play01:40

their IP addresses let's start first

play01:42

with this

play01:44

PC I'll IP

play01:47

configuration all right well I already

play01:49

put the IP address in here all right you

play01:52

notice that this is the 1.2 and subit

play01:56

mask the uh uh 255.255 5255 one92 and

play02:02

the default gateway should be the uh

play02:05

router's IP address okay which is on

play02:08

this gigabit z0 the 1.1 all right and

play02:12

it's good I'll close this and I'll go to

play02:16

the uh router

play02:17

one command line

play02:20

interface hit

play02:22

no and then hit enter to get started

play02:25

type enable to go to the privilege mode

play02:28

and then comp T to go to the global

play02:30

config mode and let's go to the U um

play02:33

interface zal

play02:36

010

play02:38

okay

play02:41

010 and since this is the uh DC Port all

play02:46

right we need to set the clock rate okay

play02:49

so type here clock

play02:52

rate is

play02:55

128,000 and then I'll give it an IP

play02:58

address

play03:03

192.168.1 um 65 okay then space

play03:10

255.255.255.192

play03:11

okay so this is the 65 right it's the

play03:15

router one okay it's correct and then

play03:18

I'll hit and turn this and then I'll

play03:21

type here no shutdown to turn on the

play03:24

interface

play03:26

okay right and it's good and I'm also

play03:30

going to um give this um gigabit 0 SL Z

play03:35

an IP address okay which should be the

play03:37

default gateway of this PC the uh 1

play03:42

192.168.1.1 okay let's proceed interface

play03:45

gabit

play03:48

0/0

play03:49

IP address

play03:53

192.168.1.1 space okay um 255 255.255

play03:59

5.1 192 okay and type here no shutdown

play04:05

to turn on the interface and let's save

play04:07

the configuration by typing do right

play04:11

okay and it's good I'm close this and

play04:14

then let's proceed to the router

play04:17

to

play04:19

Let's command line interface okay and

play04:23

I'll say no in here and hit enter to get

play04:26

started

play04:28

enable go to the privilege mode and then

play04:31

compt to go to the global config mode

play04:33

and let's proceed first on the interface

play04:36

serial

play04:39

010 okay it's

play04:41

correct okay and it should get the IP

play04:44

address the

play04:45

1.66 okay well this is a DTE Port well

play04:50

we don't need to configure a clock rate

play04:52

right because it's a

play04:54

DTE okay I'll hit enter on this I'll

play04:57

give it an IP

play04:58

address

play05:02

192.168.1 66 and then um space The subit

play05:06

Mask should be

play05:09

255.255.255.192

play05:10

okay and I'll type here no shutdown to

play05:14

turn on the interface here we go and

play05:16

let's proceed onto the next interface um

play05:19

gigabit 0

play05:21

sl0 all right and the IP address on this

play05:26

uh Network 3 is the router okay

play05:30

it should get the uh

play05:32

1. 129

play05:35

okay all

play05:37

right all right so

play05:39

IP address

play05:42

192.168.1.1

play05:44

129 space

play05:47

255.255.255.192

play05:50

okay and then um no shut down to turn on

play05:53

the

play05:54

interface all right and let's save the

play05:58

configuration there we go

play06:01

all right and I'll close this let's

play06:03

proceed onto the uh PC2

play06:07

okay and desktop IP

play06:10

configuration this should get the uh 1.

play06:15

130 okay all right so

play06:20

192.168.1.1 130 sub mask this should be

play06:24

I'll change the zero to 1 192 and

play06:28

then the default gway should be the IP

play06:31

address on this router okay which is

play06:34

residing on the gigabit 0/0 okay and

play06:38

it's the uh 1. 1229 okay all right 1

play06:44

192.168.1

play06:46

129

play06:48

okay and I'll close this there we go so

play06:52

now that all of the IP um addresses are

play06:56

registered on all of the uh devices all

play06:59

right right well let's try to uh ping

play07:02

okay I'll let's say I want to Ping from

play07:04

this PC to this PC too I'll do

play07:08

that command prompt and the Ping

play07:12

right uh IP address in this PC is the uh

play07:17

1.1 129 right okay so ping

play07:22

192.168.1.1

play07:24

129 and you see that it's a destination

play07:27

host unreachable

play07:30

okay yeah that is true it's because on

play07:34

this router all right it knows about

play07:37

this network it knows about this network

play07:40

but it doesn't know about this network

play07:42

because it's not connected on its a

play07:45

Serial or its interface all right it's

play07:48

not same as on this router it knows

play07:50

about this network and this network but

play07:53

it doesn't know about this network okay

play07:57

because this is not connected on the uh

play08:00

interfaces of this router all right that

play08:02

is why it's not working so on my next

play08:05

tutorial we'll configure the uh um

play08:08

static all right static route or the

play08:10

default route

play08:14

okay

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Network ConfigurationIP AddressesSubnettingRouter SetupPC NetworkingTutorial GuideGigabit InterfaceSerial PortDefault GatewaySubnet MaskNetwork Devices