Download presentation
Presentation is loading. Please wait.
1
Fundamentals of Computer Networks
Lab Seven VLAN configuration 2/23/2019 Eng. .Haya Radwan Ghsoon
2
Goal Build the following network and try to send message from pc to another pc among network. Transmission Air Coaxial cable Coaxial cable Ca 2/23/2019 Eng .Haya Radwan Ghsoon
3
Network Graphical Interface
2/23/2019 Eng .Haya Radwan Ghsoon
4
Switch0 Configuration (1)
You can configure switch to create vlan10 and vlan 20 in the following steps : Create vlan 10 and called it emp : Switch>enable Switch# config t Switch(config)#vlan 10 Switch(config-vlan)# name emp Switch(config-vlan)# exit 2/23/2019 Eng .Haya Radwan Ghsoon
5
Cont Create vlan 20 in the same switch : Switch(config)#vlan 20 Switch(config-vlan)#name course Switch(config-vlan)#exit Switch(config)# 2/23/2019 Eng .Haya Radwan Ghsoon
6
Cont Now we will define both ports in both virtual networks Switch(config)#interface range f0/2-3 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 20 Switch(config-if-range)#exit Switch(config)# Switch(config)#interface range f0/4 - 5 Switch(config-if-range)#switchport access vlan 10 2/23/2019 Eng .Haya Radwan Ghsoon
7
cont Now we will define both ports in both virtual networks in switch1 : Switch>enable Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 10 Switch(config-vlan)#name emp Switch(config-vlan)#exit Switch(config)#vlan 20 Switch(config-vlan)#name course Switch(config)# 2/23/2019 Eng .Haya Radwan Ghsoon
8
cont Switch(config)#interface range f0/2 - 3 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 10 Switch(config-if-range)#exit Switch(config)#interface range f0/4 - 5 Switch(config-if-range)#switchport access vlan 20 Switch(config)#exit 2/23/2019 Eng .Haya Radwan Ghsoon
9
Cont. Switch(config)#interface f0/1 Switch(config-if)#switchport mode trunk Switch(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Switch(config-if)#exit 2/23/2019 Eng .Haya Radwan Ghsoon
10
Send message to identify IP address for pc do the following step:
Click on pc Go to config Then insert the as gatway for this pc0 . Then go to FastEthernet and insert the IP address and mask .//for example mask already will be defined. Do the same thing for all pc but with differnce IP and according to pc gateway (FastEthernet interface ip). 2/23/2019 Eng .Haya Radwan Ghsoon
11
Send message // In Real Time do the following :
Click on add message button . Click on PC0 then PC6 To Click on PC 3 then Click on PC4. You can run the network in simulation mod as privies tutorial. 2/23/2019 Eng .Haya Radwan Ghsoon
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.