This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.txt
135 lines (115 loc) · 2.3 KB
/
config.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
--Server
Network = 10.90.0.0/24
ip = 10.90.0.1
comandos:
ip 10.90.0.1/24 10.90.0.254
--
--R3
Network dos pc = 10.90.0.0/24
ip rede pc = 10.90.0.254/24
Network do meio = 193.136.212.224/29
ip do meio = 193.136.212.227
comandos:
conf t
interface e0/0
ip address 10.90.0.254 255.255.255.0
ip nat inside
no shut
exit
interface f1/0
ip address 193.136.212.227 255.255.255.248
ip nat outside
no shut
exit
ip route 193.136.212.128 255.255.255.192 193.136.212.225
ip route 193.136.212.192 255.255.255.224 193.136.212.226
access-list 1 permit 10.90.0.0 0.0.0.255
ip nat inside source list 1 interface f1/0 overload
ip nat inside source static tcp 10.90.0.1 9002 193.136.212.227 9002
ip nat inside source static udp 10.90.0.1 9003 193.136.212.227 9003
exit
conf t
ip multicast-routing
interface Ethernet 0/0
ip pim sparse-dense-mode
exit
interface FastEthernet 1/0
ip pim sparse-dense-mode
end
--
--PC1
Network = 193.136.212.128/26
ip = 193.136.212.129/26
comandos:
ip 193.136.212.129/26 193.136.212.190
--
--PC2
Network = 193.136.212.128/26
ip = 193.136.212.130/26
comandos:
ip 193.136.212.130/26 193.136.212.190
--
--R1
Network dos pc = 193.136.212.128/26
ip rede pc = 193.136.212.190/26
Network do meio = 193.136.212.224/29
ip do meio = 193.136.212.225
comandos:
conf t
interface e0/0
ip address 193.136.212.190 255.255.255.192
no shut
exit
interface f1/0
ip address 193.136.212.225 255.255.255.248
no shut
exit
ip route 193.136.212.192 255.255.255.224 193.136.212.226
exit
conf t
ip multicast-routing
interface Ethernet 0/0
ip pim sparse-dense-mode
exit
interface FastEthernet 1/0
ip pim sparse-dense-mode
end
--
--PC3
Network = 193.136.212.192/27
ip = 193.136.212.193/27
comandos:
ip 193.136.212.193/27 193.136.212.222
--
--PC4
Network = 193.136.212.192/27
ip = 193.136.212.194/27
comandos:
ip 193.136.212.194/27 193.136.212.222
--
--R2
Network dos pc = 193.136.212.192/27
ip rede pc = 193.136.212.222/27
Network do meio = 193.136.212.224/29
ip do meio = 193.136.212.226/29
comandos:
conf t
interface e0/0
ip address 193.136.212.222 255.255.255.224
no shut
exit
interface f1/0
ip address 193.136.212.226 255.255.255.248
no shut
exit
ip route 193.136.212.128 255.255.255.192 193.136.212.225
exit
conf t
ip multicast-routing
interface Ethernet 0/0
ip pim sparse-dense-mode
exit
interface FastEthernet 1/0
ip pim sparse-dense-mode
end
--