0% found this document useful (0 votes)
4 views24 pages

sol vlan

Uploaded by

bdrjfch5n7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views24 pages

sol vlan

Uploaded by

bdrjfch5n7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

‫مشروع مقرر مبادئ شبكات الحاسب‬

‫هـ‬1446 ‫الفصل التدريبي األول‬


‫جنى الشهري‬
‫غال االسمري‬
‫كنانه سندي‬
‫هيفاء الشوبكي‬

Addressing table
Device IP Address Mask
PC0 190.188.20.1 255.255.0.0
PC1 190.188.20.2 255.255.0.0
Server1 190.188.20.3 255.255.0.0
PC2 170.166.10.1 255.255.0.0
Laptop0 170.166.10.2 255.255.0.0
Server2 170.166.10.3 255.255.0.0
Server0 170.166.10.4 255.255.0.0
SW-First floor
F0/1 Access vlan 20
F0/2 Access vlan 20
F0/3 Access vlan 20
F0/4 trunk

SW-Second floor
F0/1 Access vlan 10
F0/2 Access vlan 10
F0/4 Access vlan 10
F0/4 trunk
Multilayer switch
F0/1 Access vlan 10
F0/2 trunk
F0/3 trunk

Interface vlan 10 170.166.10.5 255.255.0.0


Interface vlan 20 190.188.20.5 255.255.0.0

Configuration SW-First-Floor
SW-First-Floor(config)#do sh run
Building configuration...

Current configuration : 1500 bytes


!
version 15.0
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SW-First-Floor
!
enable password AA22BB
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport trunk allowed vlan 10,20
switchport mode trunk
!
interface FastEthernet0/4
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/5
switchport trunk allowed vlan 10,20
switchport mode dynamic desirable
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
no ip address
!
interface Vlan20
no ip address
!
!
!
!
line con 0
password AA22BB
!
line vty 0 4
password AA22BB
login
line vty 5 15
login
!
!
!
!
end

SW-First-Floor(config)#
Configuration SW-Second-Floor

SW-Second-Floor(config)#do sh run
Building configuration...

Current configuration : 1427 bytes


!
version 15.0
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SW-Second-Floor
!
enable password S1C200
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/4
switchport mode trunk
!
interface FastEthernet0/5
switchport mode dynamic desirable
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
no ip address
!
interface Vlan20
no ip address
!
!
!
!
line con 0
password S1C200
!
line vty 0 4
password S1C200
login
line vty 5 15
login
!
!
!
!
end

SW-Second-Floor(config)#
Configuration Multi-layer switch
Multi-layer-sw(config)#do sh run
Building configuration...

Current configuration : 1571 bytes


!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Multi-layer-sw
!
!
!
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0060.3e6b.4701
ip address 170.166.10.5 255.255.0.0
!
interface Vlan20
mac-address 0060.3e6b.4702
ip address 190.188.20.5 255.255.0.0
!
router ospf 1
log-adjacency-changes
network 190.188.0.0 0.0.255.255 area 1
network 170.166.0.0 0.0.255.255 area 1
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
!
end

Multi-layer-sw(config)#
PC0 ip address

PC1 ip address
Server1 ip address

PC2 ip address
Laptop0 ip address

Server2 ip address
Server0 ip address
Connectivity test
Ping from PC0 to PC2, laptop0, Server2
Ping from PC0 to PC1 , server1

Ping from PC0 > server1


Ping from Console Test

You might also like