Sunday, 1 February 2015

What has been done from VLAN,is illustrated as follows: 

Vlan_No
Vlan_Name
Switch Name
Port  Assignments
Network
Trunk
2
IT
1
Fa0/3, Fa0/4
192.168.1.128/26
-
3
Technical                       
1
Fa0/1, Fa0/2
192.168.1.0/26
-
5
Marketing
1
Fa0/5, Fa0/6
192.168.1.64/26
-


1-2
Fa0/10

Trunk
2
IT
2
Fa0/3, Fa0/4


3
Technical                       
2
Fa0/1, Fa0/2


5
Marketing
2
Fa0/5, Fa0/6



Switch 1
Step 1: Vlan creation
Switch>en
Switch#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#
Switch(config)#hostname 1
1(config)#vlan 2
1(config-vlan)#name IT
1(config-vlan)#vlan 3
1(config-vlan)#n              
1(config-vlan)#na
1(config-vlan)#name Technical
1(config-vlan)#vlan 5
1(config-vlan)#name Marketing
1(config-vlan)#do wr …………..> To save configurations
  
Step 2: Port assignments
1(config)#int range f0/3-4
1(config-if-range)#switchport mode access
1(config-if-range)#switchport access vlan 2
1(config-if-range)#exit
1(config)#int range f0/1-2
1(config-if-range)#switchport mode access
1(config-if-range)#switchport access vlan 3
1(config-if-range)#exit
1(config)#int range f0/5-6
1(config-if-range)#switchport mode access
1(config-if-range)#switchport access vlan 5
1(config-if-range)#do wr
Step 3: Trunk port
1(config)#int  f0/10
1(config-if)#switchport mode trunk
1(config-if)#end
1# wr
-------------------------------------
Switch  2 : Rewrite the same configuration as in (1), except the switch hostname should be named as (2)
as well the trunk port, it’s enough to be configured in switch (1).







*What  left is Router configuration
For now i can ping between the same Vlan hosts in both switches like (IT switch 1&IT switch 2), However ping between two different Vlans like (Marketing and IT ) still need router configuration.

No comments:

Post a Comment