-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.txt
202 lines (166 loc) · 4.74 KB
/
output.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
Net 1:
Connection: B1 - PC1
IP Address: 192.168.1.0/25
Mask: 255.255.255.128/25
Range: 192.168.1.0/25 - 192.168.1.127/25
Net 2:
Connection: HQ - PC2
IP Address: 192.168.1.128/26
Mask: 255.255.255.192/26
Range: 192.168.1.128/26 - 192.168.1.191/26
Net 3:
Connection: B2 - PC2
IP Address: 192.168.1.192/27
Mask: 255.255.255.224/27
Range: 192.168.1.192/27 - 192.168.1.223/27
Net 4:
Connection: B1 - HQ
IP Address: 192.168.1.224/30
Mask: 255.255.255.252/30
Range: 192.168.1.224/30 - 192.168.1.227/30
Net 5:
Connection: B2 - HQ
IP Address: 192.168.1.228/30
Mask: 255.255.255.252/30
Range: 192.168.1.228/30 - 192.168.1.231/30
Addressing Table:
Device Interface Connected Device IP Address Submask Default Gateway
B2 se0/0/0 HQ 192.168.1.229/30 255.255.255.252/30 N/A
fa0/0 PC2 192.168.1.193/27 255.255.255.224/27 N/A
HQ se0/0/0 B1 192.168.1.225/30 255.255.255.252/30 N/A
se0/0/1 B2 192.168.1.230/30 255.255.255.252/30 N/A
fa0/0 PC2 192.168.1.129/26 255.255.255.192/26 N/A
B1 se0/0/0 HQ 192.168.1.226/30 255.255.255.252/30 N/A
fa0/0 PC1 192.168.1.1/25 255.255.255.128/25 N/A
PC2 fa0/0 HQ 192.168.1.130/26 255.255.255.192/26 192.168.1.129/26
fa0/1 B2 192.168.1.194/27 255.255.255.224/27 192.168.1.129/26
PC1 fa0/0 B1 192.168.1.2/25 255.255.255.128/25 192.168.1.1/25
Commands for router configuration with it's own networks:
For Router - B2:
no
enable
config terminal
no ip domain-lookup
interface se0/0/0
ip address 192.168.1.229 255.255.255.252
no shutdown
exit
interface fa0/0
ip address 192.168.1.193 255.255.255.224
no shutdown
exit
For Router - HQ:
no
enable
config terminal
no ip domain-lookup
interface se0/0/0
ip address 192.168.1.225 255.255.255.252
no shutdown
exit
interface se0/0/1
ip address 192.168.1.230 255.255.255.252
no shutdown
exit
interface fa0/0
ip address 192.168.1.129 255.255.255.192
no shutdown
exit
For Router - B1:
no
enable
config terminal
no ip domain-lookup
interface se0/0/0
ip address 192.168.1.226 255.255.255.252
no shutdown
exit
interface fa0/0
ip address 192.168.1.1 255.255.255.128
no shutdown
exit
--------------------------------------------------------------
Static Routing:
For Router - B2:
ip route 192.168.1.0 255.255.255.128 192.168.1.226
ip route 192.168.1.128 255.255.255.192 192.168.1.230
ip route 192.168.1.224 255.255.255.252 192.168.1.230
exit
For Router - HQ:
ip route 192.168.1.0 255.255.255.128 192.168.1.226
ip route 192.168.1.192 255.255.255.224 192.168.1.229
exit
For Router - B1:
ip route 192.168.1.128 255.255.255.192 192.168.1.225
ip route 192.168.1.192 255.255.255.224 192.168.1.229
ip route 192.168.1.228 255.255.255.252 192.168.1.225
exit
--------------------------------------------------------------
RIP(Routing Information Protocol) Commands for router configuration
(After configuring it's own connection ports):
For Router - B2:
router rip
version 2
no autosummery
network 192.168.1.192
network 192.168.1.228
exit
exit
copy run start
For Router - HQ:
router rip
version 2
no autosummery
network 192.168.1.128
network 192.168.1.224
network 192.168.1.228
exit
exit
copy run start
For Router - B1:
router rip
version 2
no autosummery
network 192.168.1.0
network 192.168.1.224
exit
exit
copy run start
--------------------------------------------------------------
OSPF(Open Shortest Path First) Commands for router configuration
(After configuring it's own connection ports):
For Router - B2:
router ospf 1
network 192.168.1.192 0.0.0.31 area 1
network 192.168.1.228 0.0.0.3 area 1
exit
For Router - HQ:
router ospf 1
network 192.168.1.128 0.0.0.63 area 1
network 192.168.1.224 0.0.0.3 area 1
network 192.168.1.228 0.0.0.3 area 1
exit
For Router - B1:
router ospf 1
network 192.168.1.0 0.0.0.127 area 1
network 192.168.1.224 0.0.0.3 area 1
exit
--------------------------------------------------------------
EIGRP Commands for router configuration
(After configuring it's own connection ports):
For Router - B2:
router eigrp 1
no auto-summary
network 192.168.1.192 0.0.0.31
network 192.168.1.228 0.0.0.3
For Router - HQ:
router eigrp 1
no auto-summary
network 192.168.1.128 0.0.0.63
network 192.168.1.224 0.0.0.3
network 192.168.1.228 0.0.0.3
For Router - B1:
router eigrp 1
no auto-summary
network 192.168.1.0 0.0.0.127
network 192.168.1.224 0.0.0.3