-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathROAS
More file actions
44 lines (35 loc) · 1.55 KB
/
ROAS
File metadata and controls
44 lines (35 loc) · 1.55 KB
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
Router on a stick (ROAS) configuration in case of, to route data between VLANs:
****************************************************************
Configuring the switch:
Switch1(config)# vlan 15
Switch1(config-vlan)# name CLIENTSSERVRS
Switch1(config-vlan)# vlan 16
Switch1(config-vlan)# name CTRLSERVERS
Switch1(config-vlan)# exit
Switch1(config)# interface range fastEthernet 0/1-4
Switch1(config-if-range)# description CLIENTSSERVRS
Switch1(config-if-range)# switchport mode access
Switch1(config-if-range)# switchport access vlan 15
Switch1(config-if-range)# exit
Switch1(config)# interface range fastEthernet 0/12-16
Switch1(config-if-range)# description CTRLSERVERS
Switch1(config-if-range)# switchport mode access
Switch1(config-if-range)# switchport access vlan 16
Switch1(config-if-range)# exit
Switch1(config)# interface fastEthernet 0/7
Switch1(config-if)# description TRUNK-ROUTER
Switch1(config-if)# switchport mode trunk
Switch1(config-if)# exit
---------------------------------------------------------
Configuring the router (assuming 10.0.0.1 is the gateway's address for each vlan):
Router1(config)# interface gigabitEthernet 0/0.15
Router1(config-subif)# encapsulation dot1Q 15
Router1(config-subif)# ip address 10.0.0.1 255.255.255.0
Router1(config-subif)# exit
Router1(config)# interface gigabitEthernet 0/0.16
Router1(config-subif)# encapsulation dot1Q 16
Router1(config-subif)# ip address 10.0.0.1 255.255.255.0
Router1(config-subif)# end
Router1# configure terminal
Router1(config)# interface gigabitEthernet 0/0
Router1(config-if)# no shutdown