-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathRouterOnStick.txt
77 lines (25 loc) · 1.02 KB
/
RouterOnStick.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Router_On_Stick
1. Design the Topology
2. COnfigure VLAN on Switches
Note: VLAN 10, 20 , 30
3. Add Router to the Design
Router#config t
Router#int f0/0
Router#no shut
Router(config)#interface fastEthernet 0/0.2
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 192.168.10.10 255.255.255.0
Router(config-subif)#no shutdown
Router(config)#interface fastEthernet 0/0.3
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.20.10 255.255.255.0
Router(config-subif)#no shutdown
Router(config)#interface fastEthernet 0/0.4
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 192.168.30.10 255.255.255.0
Router(config-subif)#no shutdown
================================================================
Switch>en
Switch#config t
Switch(config)#interface fastEthernet 0/9
Switch(config-if)#switchport mode trunk