Networking Full Version - Zahid

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

07/18/2018 09:15 AM <DIR> Favorites

07/18/2018 11:00 AM <DIR> Google Drive

IP CONFIGURATION 07/18/2018 09:15 AM <DIR> Links

C:\Users\zahid>ipconfig 07/18/2018 09:15 AM <DIR> Music

Windows IP Configuration 07/18/2018 11:05 AM <DIR> OneDrive

Ethernet adapter Ethernet: 05/25/2018 06:32 PM <DIR> Pictures

Media State . . . . . . . . . . . : Media disconnected 07/18/2018 09:15 AM <DIR> Saved Games

Connection-specific DNS Suffix . : 07/18/2018 09:15 AM <DIR> Searches

Wireless LAN adapter Local Area Connection* 1: 07/18/2018 09:15 AM <DIR> Videos

Media State . . . . . . . . . . . : Media disconnected 1 File(s) 352 bytes

Connection-specific DNS Suffix . : 22 Dir(s) 90,739,900,416 bytes free

Wireless LAN adapter Local Area Connection* 2: OPEN ANY FOLDER


Media State . . . . . . . . . . . : Media disconnected C:\Users\zahid>cd Desktop
C:\Users\zahid\Desktop>
Connection-specific DNS Suffix . :
CHANGE COLOR
Wireless LAN adapter WiFi:
COLOR [attr]
Connection-specific DNS Suffix . :
attr Specifies color attribute of console output
Link-local IPv6 Address . . . . . :
fe80::90e5:6db5:648f:5069%17 Color attributes are specified by TWO hex digits -- the
first
IPv4 Address. . . . . . . . . . . : 192.168.1.104
corresponds to the background; the second the
Subnet Mask . . . . . . . . . . . : 255.255.255.0
foreground. Each digit
Default Gateway . . . . . . . . . : 192.168.1.1
can be any of the following values:
DIRECTION:
C:\Userszahid>dir

Volume in drive C has no label.


0 = Black 8 = Gray
Volume Serial Number is A0C2-1518
1 = Blue 9 = Light Blue
Directory of C:\Users\zahid
2 = Green A = Light Green
07/13/2018 12:49 AM <DIR> .
3 = Aqua B = Light Aqua
07/13/2018 12:49 AM <DIR> ..
4 = Red C = Light Red
06/24/2018 02:44 AM <DIR> .android
5 = Purple D = Light Purple
05/26/2018 12:38 AM <DIR> .BitLord
6 = Yellow E = Light Yellow
06/03/2018 07:13 PM <DIR> .cache
7 = White F = Bright White
07/18/2018 11:05 PM 352 .packettracer
If no argument is given, this command restores the
05/26/2018 12:38 AM <DIR> color to what it was
.QtWebEngineProcess
when CMD.EXE started. This value either comes from
07/18/2018 09:15 AM <DIR> 3D Objects the current console

07/10/2018 03:29 PM <DIR> Cisco Packet Tracer window, the /T command line switch or from the
6.1sv DefaultColor registry

05/26/2018 03:48 PM <DIR> Cisco Packet Tracer value.


7.1
The COLOR command sets ERRORLEVEL to 1 if an
07/18/2018 09:15 AM <DIR> Contacts attempt is made to execute

07/19/2018 01:09 AM <DIR> Desktop the COLOR command with a foreground and
background color that are the
07/18/2018 09:15 AM <DIR> Documents
same.
07/19/2018 12:54 AM <DIR> Downloads
Example: "COLOR fc" produces light red on bright white Router(config-if)#exit
Router 3:
HIDE ANY FOLDER: Router>en
Router#conf t
E:\>attrib +h +s +r networking Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.30.1
E:\>
255.255.255.0
UNHIDE ANY FOLDER: Router(config-if)#no shutdown

E:\>attrib -h -s -r networking Router(config-if)#


%LINK-5-CHANGED: Interface FastEthernet0/0,
E:\> changed state to up

Router(config-if)#exit
Router(config)#interface s3/0
Router(config-if)#ip address 192.168.50.2
ROUTER CONFIGURE 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit

.
AGAIN ROUTER 0:
Router(config)#Ip route 192.168.20.0 255.255.255.0
192.168.40.2
Router(config)#Ip route 192.168.50.0 255.255.255.0
192.168.40.2
Router(config)#Ip route 192.168.30.0 255.255.255.0
192.168.40.2
At first we need to input ip configuration in every AGAIN ROUTER 1:
Router(config)#Ip route 192.168.10.0 255.255.255.0
computer. Then, we need to configuration every router.
192.168.40.1
Router 0: Router(config)#Ip route 192.168.30.0 255.255.255.0
Router>en 192.168.50.2
Router#conf t AGAIN ROUTER 2:
Router(config)#interface fastEthernet 0/0 Router(config)#Ip route 192.168.20.0 255.255.255.0
Router(config-if)#ip address 192.168.10.1 192.168.50.1
255.255.255.0 Router(config)#Ip route 192.168.40.0 255.255.255.0
Router(config-if)#no shutdown 192.168.50.1
Router(config)#Ip route 192.168.10.0 255.255.255.0
Router(config-if)# 192.168.50.1
%LINK-5-CHANGED: Interface FastEthernet0/0,
changed state to up

Router(config-if)#exit
Router(config)#interface s2/0
Router(config-if)#ip address 192.168.40.1
255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router2:
Router>en
Router#conf t
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.10.1
255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0,
changed state to up

Router(config-if)#exit
Router(config)#interface s2/0
Router(config-if)#ip address 192.168.40.2
255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface s3/0
Router(config-if)#ip address 192.168.50.1
255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
SWITCH CONFIGURATION Switch(config-if)#switchport trunk allowed vlan
1,10,20,30,55,77
Switch(config-if)#switchport trunk native vlan 55
Switch(config-if)#exit
Switch(config)#exit
Switch#
Router
Router>en
Router#conf t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#no shutdown
Switch:
Router(config-if)#
Switch>en
%LINK-5-CHANGED: Interface FastEthernet0/0, changed
Switch#conf t
state to up
Enter configuration commands, one per line. End with
%LINEPROTO-5-UPDOWN: Line protocol on Interface
CNTL/Z.
FastEthernet0/0, changed state to up
Switch(config)# vlan 10
Router(config)#interface f0/0.10
Switch(config-vlan)#name teacher
Router(config-subif)#
Switch(config-vlan)#exit
%LINK-5-CHANGED: Interface FastEthernet0/0.10,
Switch(config)# vlan 20
changed state to up
Switch(config-vlan)#name student
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Switch(config-vlan)#exit
FastEthernet0/0.10, changed state to up
Switch(config)# vlan 30
Router(config-subif)#encapsulation dot1Q 10
Switch(config-vlan)#name stuff
Router(config-subif)#ip address 192.168.10.1
Switch(config-vlan)#exit
255.255.255.0
Switch(config)# vlan 55
Router(config-subif)#exit
Switch(config-vlan)#name native
Router(config)#interface f0/0.20
Switch(config-vlan)#exit
Router(config-subif)#
Switch(config)# vlan 77
%LINK-5-CHANGED: Interface FastEthernet0/0.20,
Switch(config-vlan)#name management
changed state to up
Switch(config-vlan)#exit
Switch(config)#interface vlan 77
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Switch(config-if)#
FastEthernet0/0.20, changed state to upRouter(config-
%LINK-5-CHANGED: Interface Vlan77, changed state to
subif)#encapsulation dot1Q 20
up
Router(config-subif)#ip address 192.168.20.1
ip ad
255.255.255.0
Switch(config-if)#ip address 192.168.77.2 255.255.255.0
Router(config-subif)#exit
Switch(config-if)#exit
Router(config)#interface f0/0.30
Switch(config)#ip default-gateway 192.168.77.1
Router(config-subif)#
Switch(config)#interface f0/1
%LINK-5-CHANGED: Interface FastEthernet0/0.30,
Switch(config-if)#switchport mode access
changed state to up
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Switch(config)#interface f0/2
FastEthernet0/0.30, changed state to up
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Router(config-subif)#encapsulation dot1Q 30
Switch(config-if)#
Router(config-subif)#ip address 192.168.30.1
Switch(config-if)#exit
255.255.255.0
Switch(config)#interface f0/3
Router(config-subif)#exit
Switch(config-if)#switchport mode access
Router(config)#interface f0/0.77
Switch(config-if)#switchport access vlan 30
Router(config-subif)#
Switch(config-if)#exit
%LINK-5-CHANGED: Interface FastEthernet0/0.77,
Switch(config)#interface f0/4
changed state to up
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 77
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Switch(config-if)#
FastEthernet0/0.77, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Vlan77, changed state to up
Router(config-subif)#encapsulation dot1Q 77
Router(config-subif)#ip address 192.168.77.1
Switch(config-if)#exit
255.255.255.0
Switch(config)#interface f0/5
Router(config-subif)#exit
Switch(config-if)#switchport mode trunk
Router(config)#in 1st usable address-16.172.64.1/19
Router(config)#interface f0/0.55 Last usable address-16.172.95.254/19
Router(config-subif)# Number of host-2^13=8192
%LINK-5-CHANGED: Interface FastEthernet0/0.55, Usable host-2^13-2=8190
changed state to up Admin :100 2^7=128
%LINEPROTO-5-UPDOWN: Line protocol on Interface 16.172.101.0/24
FastEthernet0/0.55, changed state to up 16.172.01100101.0/24
Router(config-subif)#encapsulation dot1Q 55 native 16.172.01100101.000000000
Router(config-subif)#ip address 192.168.55.1 16.172.01100101.100000000
255.255.255.0 16.172.101.0/25-admin subnetwork
Router(config-subif)#exit 16.172.101.128/25
Router(config)#exit Network address-16.172.101.0/25
Router# Broadcast address-16.172.101.127/25
IP SUBNETTING 1st usable address-16.172.101.1/25
iP Addres 16.172.0./16 Last usable address-16.172.101.126/25
Student-10000 Number of host-2^7=128
Teacher-500 Usable host-2^7-126
MIU staff-400 Stuff :400 2^9=512(16.172.98.0/23
Visitor-6000 16.172.01100010.00000000/23
Admin- 100 Network address-16.172.98.0/23
Reserved-200 Broadcast address-16.172.99.255/23
00010000.10101100.00000000.00000000 1st usable address-16.172.98.1/23
Last usable address-16.172.99.254/23
Student 10000, 2^14=16384 Number of host-2^9=512
16.172.00000000.00000000/18 Usable host-2^9-2=510
16.172.00000000.0 Reserved: 200 2^8=256
16.172.01000000.0 16.172.01100100.0/23
16.172.11000000.0 16.172.01100100.0/24- reserved subnetwork
16.172.0.0/18-student subnetwork 16.172.01100101.0/24
16.172.64.0/18 Network address-16.172.100.0/24
16.172.128.0/18 Broadcast address-16.172.100.255/24
16.172.192.0/18 1st usable address-16.172.100.1/24
Teacher:500 2^9=512 Last usable address-16.172.100.254./24
16.172.93.0/19 Number of host-2^8=256
16.172.01100000.000000000/19 Usable host-2^8-2=254
16.172.01100000.00000000
16.172.01100010.0
16.172.01100100.0
16.172.01100110.0 Network Cabling:
16.172.96.0/23-the teacher subnetwork
 What cable types are available?
16.172.98.0/23
 How do cables work?
16.172.100.0/23
 How are cables used in networking?
16.172.102.0/23
 How are connections made?
Network Address -16.172.96.0/23
Broadcast Adress-16.172.97.255/23 Learning Objectives:
1st Usable Adress-16.172.96.1/23
Last usable adrress-16.172.97.254/23  List common cable types used in networking
Number of host-2^9=512  Describe how UTP cables are made
Usable host-2^9-2=510  Explain how UTP cables are used in Ethernet
networks
Student  Demonstrate the ability to make a working
Network address-16.172.0.0/18 patch cable
Broadcast address-16.172.63.255/18 Name the two wiring standards used for wired Ethernet
1st usable address-16.172.0.1/18 networks and their uses Common network cable types:
Last usable address-16.172.63.254/18
Number of host-2^14=16384  Coaxial cable
Usable host-2^14-2=16382  Unshielded twisted pair
Visitor:6000 2^13=8192  Fiber optic
Ip address=16.172.64.0/18
UTP characteristics:  Unshielded  Twisted (why?)
16.172.01000000.0/19-visitor subnetwork
pairs of insulated conductors  Covered by insulating
16.172.01100000.0/19
sheath UTP
Network address-16.172.64.0/19
Broadcast address-16.172.95.255/18  Categories:
 Category 1 Voice only (Telephone)
 Category 2 Data to 4 Mbps (Local talk)
 Category 3 Data to 10Mbps (Ethernet)
 Category 4 Data to 20Mbps (Token ring)
 Category 5 Category 5e Data to 100Mbps (Fast
Ethernet) Data to 1000Mbps (Gigabit Ethernet)
 Category 6 Data to 2500Mbps (Gigabit
Ethernet)

Cat5e cable:  1000Mbps data capacity  For runs of up


to 90 meters  Solid core cable ideal for structural
installations (PVC or Plenum)  Stranded cable ideal for
patch cables  Terminated with RJ-45 connectors RJ45
connector:

Making connections – Tools:

 Cat5e cable
 RJ45 connectors
 Cable stripper
 Scissors

Crimping tool making connections – Steps: 1. Strip


cable end 2. Untwist wire ends 3. Arrange wires 4.
Trim wires to size 5. Attach connector 6. Check 7.
Crimp 8. Test

 Step 1 – Strip cable end : Strip 1 – 1½” of


insulating sheath Avoid cutting into conductor
insulation
 Step 2 – Untwist wire ends: Sort wires by
insulation colors
 Step 3 – Arrange wires: TIA/EIA 568A: GW-G
OW-Bl BlW-O BrW-Br  TIA/EIA 568B: OW-O
GW-Bl BlW-G BrW-Br
 Step 4 – Trim wires to size: Trim all wires evenly
 leave about ½” of wires exposed
 Step 5 – Attach connector: Maintain wire
order, left-to-right, with RJ45 tab facing
downward
 Step 6 – Check: Do all wires extend to end?  Is
sheath well inside connector?
 Step 7 – Crimp: Squeeze firmly to crimp
connecter onto cable end (8P)
 Step 8 – Test: Does the cable work?

BASIC ROUTER CONFIGURATION

You might also like