(.8.12):
VLAN 10 |
VLAN 11 |
VLAN 12 |
VLAN 13 |
.8.12. .
:
- 2950-24 (Switch1, Switch2, Switch4);
- 3560-24PS (Switch3), ;
- (Server1);
-
:
Server1.
8.5 8.6 .
8.5. .
IP | VLAN | |||
1 | 10.11.0.11/16 | Switch4 | 4 | VLAN 11 |
2 | 10.11.0.2/16 | Switch1 | 1 | VLAN 11 |
3 | 10.13.0.3/16 | Switch1 | 2 | VLAN 13 |
4 | 10.13.0.4/16 | Switch2 | 1 | VLAN 13 |
5 | 10.12.0.5/16 | Switch2 | 2 | VLAN 12 |
6 | 10.12.0.6/16 | Switch4 | 2 | VLAN 12 |
Server1 | 10.10.0.7/16 | Switch4 | 1 | VLAN 10 |
8.6. .
Switch3 | |
1 | Switch1 3 |
2 | Switch4 3 |
3 | Switch2 3 |
.
:
1.
Switch3 VLAN.
1. VLAN 10:
Switch3> en
Switch3# conf t
Switch3(config)# vlan 10
Switch3(config-vlan)# exit
2. VLAN 11, VLAN 12 VLAN 13.
3. VTP :
Switch3(config)# vtp domain HOME
Switch3(config)# vtp password HOME
Switch3(config)# vtp mode server
4. VTP:
Switch# sh vtp status
5. :
Switch3(config)# int fa0/1
Switch3(config-if)# switchport mode trunk
Switch3(config-if)# exit
.
2.
Switch4 client:
1. VLAN 10 1 access :
Switch4> en
Switch4# conf t
Switch4(config)# vlan 10
Switch4(config-vlan)# exit
Switch4(config)# int fa0/1
Switch4(config-if)# switchport access vlan 10
Switch4(config-if)# switchport mode access
Switch4(config-if)# no shut
2. VLAN 11 4 access .
3. VLAN 12 2 access .
4. clint:
Switch4(config)# vtp domain HOME
Switch4(config)# vtp password HOME
Switch4(config)# vtp mode client
! .
|
|
4.
Switch1 :
.
1. VLAN 11 1 access .
2. VLAN 13 2 access .
3. client.
5.
Switch2.
1. VLAN 12 2 access .
2. VLAN 13 1 access .
3. client.
6.
OSI.
VLAN VTP.
, , , . PING :
- 1 2;
- 3 4;
- 5 6.
, ping , :
- : Switch3 , Switch1, Switch2 Switch4 ;
- ;
- ( sh vtp status);
- ( sh vl br).
7.
.
VLAN.
vlan 10 ( ):
Switch3(config)# int vlan 10
Switch3(config-if)# ip address 10.10.0.1 255.255.0.0
Switch3(config-if)# no shut
Switch3(config-if)# exit
VLAN, IP: 10.[VLAN].0.1 /16.
. 1 10.11.0.1.
:
Switch3(config)# ip routing
8.
OSI.
.
9.
: Server1.
:
1 - .
2 - .
3 .
4 : .
access - list. , . : permit deny . , .
14.
(Switch3) access - list:
Switch3(config)# ip access-list extended 100
( 100)
Switch3(config-ext-nacl)# permit ip any 10.10.0.0 0.0.0.255
Switch3(config-ext-nacl)# permit ip 10.10.0.0 0.0.0.255 any
( 10.10.0.0/24)
|
|
Switch3(config-ext-nacl)# permit ip 10.11.0.0 0.0.0.255 10.11.0.0 0.0.0.255
Switch3(config-ext-nacl)# permit ip 10.12.0.0 0.0.0.255 10.12.0.0 0.0.0.255
Switch3(config-ext-nacl)# permit ip 10.13.0.0 0.0.0.255 10.13.0.0 0.0.0.255
(: 10.11.0.0/24 ;
10.12.0.0/24 ;
10.13.0.0/24 ).
Switch3(config-ext-nacl)# exit
access-list VLAN- ( in , out ):
Switch3(config)# int vlan 10
Switch3(config-if)# ip access-group 100 in
VLAN-.
:
Server1.