Skip to content

TN19N/netPractice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netPractice

Summary: This document is a System Administration related exercise.

Level_1

image Level_1

to connect client A with client B the shold have same mask (255.255.255.0) thene the maske well split the ip address to tow parts (ip of the network and ip of the node or host) in these case the ip of the network is 104.96.23.0 so we have arange of ip we can use (104.96.23.1 to 104.96.23.254 the last one is for brodcatsting (104.96.23.255)) so we gave client A ip of (104.96.23.1) and clinet B ip of (104.96.23.12) ;

to connect clinet D withe clint C we do the same then but these time we have mask of (255.255.0.0) so we have range (211.191.0.1 to 211.191.255.255) so we gave clinet D ip of (211.191.245.1) and clinet C ip of (211.191.245.75) ;

Level_2

image Level_2

in these level we did like level_1 but we tested ip addresses like 127.0.0.1 (we can't use these addresses (127.0.0.0) to (127.255.255) becouse the are loop bach addresses)

and also we work we the last maske we can use its (/30) it's same as (255.255.252) that we gave use just tow addresses that we need 0.0.0.1 and 0.0.0.2

Level_3

image Level_3

we dide as the last tow levels but these time we have what cold a switch it's a divise that connect multiple devises to creat a large local area networl (LAN) and that devise operates in layer 2 becouse he is just work with MAC addresses

Level_4

image Level_4

in these level we descovered what called a router we use to connect multiple (LAN) to creat a Wide area network (WAN) and thats device operates in layer 3 becouse he work with ip address

we shode not give the gate waye an ip thats arledy taken from an interface in same router

Level_5

image Level_5

in these level we worked with routing table its useful to deside were to send a package for example we confige what is the destanation and the nexte hop in these case we use default destanation its workes if we have just one way to sande samthing (routers have tow entarface) or we need to send some thene to unknowk destanation like internet thats whates we dide in these case

Level_6

image Level_6

in these levle we whant to connect with a server (8.8.8.8 DNS server of google) but we need to confige the routing table of the server to find hes way to use so we dont use default destanation but instad we put the subnet mask of our network (104.88.18.128/25) we can also (0.0.0.0/1) but the importent stuff is our network shod be part of that subnet mask so if we do ex (104.88.18.128/26) its well not work becouse our network not part of it

Level_7

image Level_7

these level its a simple one , in these levle we just applay what we learned in last few levels , we have just tow routers to pass to rech A from C or C from A so we allwes do 2 hops to make cummunicatione between A and C

Level_8

image Level_8

in these level we have to connect 2 network, we whant to connect theme with the internit, if we look at the routing table of internet 1 (157.111.65.0/26) thats mean that internit can only send to networks that in these subnet mask to solve these we devided that subnet mask to 4 smaller networks by adding 2 bits to the mask (/26 + 2 --> /28), we use 2 network of it and thats how internet can connect to differnt networks

Level_9

image Level_9

the same as level before but now we have three destanations from internet to our networks so we are free to set three differnt ip network for our networks

Level_10

image Level_10

these is the same as the level before but we have just one distination in internet 1 so all our networks must be in that subnet mask (the distination)