Sunteți pe pagina 1din 7

Buzoianu George 434A

Arhitectura retelei

Topologie roata
Routerii - Generic (PT-Empty).
Router1...5 - 4 interfete, FastEthernet
Router0 - 6 interfete, FastEthernet
Terminale - PC-PT.

Conexiuni - Cablu Copper Cross-over.


Configurarea retelei
Router1

k=1
k=2
k=3
k=4
k=5
k=6

IP-ul router-ului 1, 163.160.156.152, aflat prin formula:


(XX+130k).(XX+1304*k).(XX+1308*k).(XX+13012*k)
XX = 34
k = {1,2,3,4,5,6} numarul de ordine al fiecarui router. (pt Router_0 avem k=6)

163.160.156.152
162.156.148.140
161.152.140.128
160.148.132.116
159.144.124.104
158.140.116.92

Router1
Router2
Router3
Router4
Router5
Router0

Pentru interconectarea ruterelor s-au folosit adrese private de clasa C. (192.168.a.b)


De ex. conectarea router_1 la router_2 se face prin FastEthernet1/0 : 192.168.1.1
(router_2 avand configurat FastEthernet1/0: 192.168.1.2)

Router2

Router3

Router4

Router5

Router0

Deci dupa cum putem observa conexiunile intre rutere se realizeaza prin adresele IP
192.168.a.b (a ={1,2,3,4,5,6,7,8,9,10; b ={1,2}). Iar conexiunile dintre routere si
calculatoare, fiind create prin clasa de ip-uri impuse de cerinta problemei.
Fiecare calculator PCx este conectat la routerul Routerx, cu x ={0,1,2,3,4,5},
unde 0 este routerul numarul 6 din enuntul problemei.

PC1
3

PC2

PC3

PC4

PC5

PC0

Protocolul OSPF de rutare se configureaza astfel:


configure terminal
router ospf id
network adresa_de_clasa masca_inversa area 0
1. Click pe router.
2. Aleg tagul CLI
3. In caz ca in linia de comanda nu apare astfel Router# tastez exit pana cand
devine Router#
4. Apoi tastez configure terminal => enter
5. Tastez router ospf 1 => enter

6. Apoi de ex.: network


network
network
network
pentru Router2.

192.168.1.0
192.168.2.0
192.168.7.0
162.156.0.0

0.0.0.255 area 0 => enter


0.0.0.255 area 0 => enter
0.0.0.255 area 0 => enter
0.0.255.255 area 0 => enter

7. Tastez exit => enter (de doua ori la rand) si se salveaza running-config in
startup-config.
Ping & traceroute
Ping de la PC1 catre restul calculatoarelor:
Ping in interfata calculatorului PC2:
PC>ping 162.156.148.141
Pinging 162.156.148.141 with 32 bytes of data:
Reply
Reply
Reply
Reply

from
from
from
from

162.156.148.141:
162.156.148.141:
162.156.148.141:
162.156.148.141:

bytes=32
bytes=32
bytes=32
bytes=32

time=134ms TTL=126
time=98ms TTL=126
time=128ms TTL=126
time=112ms TTL=126

Ping statistics for 162.156.148.141:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 98ms, Maximum = 134ms, Average = 118ms

Ping in interfata calculatorului PC3:


PC>ping 161.152.140.129
Pinging 161.152.140.129 with 32 bytes of data:
Reply
Reply
Reply
Reply

from
from
from
from

161.152.140.129:
161.152.140.129:
161.152.140.129:
161.152.140.129:

bytes=32
bytes=32
bytes=32
bytes=32

time=155ms
time=150ms
time=172ms
time=187ms

TTL=125
TTL=125
TTL=125
TTL=125

Ping statistics for 161.152.140.129:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 150ms, Maximum = 187ms, Average = 166ms

Ping in interfata calculatorului PC4:


PC>ping 160.148.132.117
Pinging 160.148.132.117 with 32 bytes of data:
Reply
Reply
Reply
Reply

from
from
from
from

160.148.132.117:
160.148.132.117:
160.148.132.117:
160.148.132.117:

bytes=32
bytes=32
bytes=32
bytes=32

time=181ms
time=149ms
time=198ms
time=183ms

TTL=125
TTL=125
TTL=125
TTL=125

Ping statistics for 160.148.132.117:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 149ms, Maximum = 198ms, Average = 177ms

Ping in interfata calculatorului PC5:


PC>ping 159.144.124.105
Pinging 159.144.124.105 with 32 bytes of data:
Reply
Reply
Reply
Reply

from
from
from
from

159.144.124.105:
159.144.124.105:
159.144.124.105:
159.144.124.105:

bytes=32
bytes=32
bytes=32
bytes=32

time=128ms
time=125ms
time=158ms
time=132ms

TTL=126
TTL=126
TTL=126
TTL=126

Ping statistics for 159.144.124.105:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 125ms, Maximum = 158ms, Average = 135ms
Ping in interfata calculatorului PC0:
PC>ping 158.140.116.93
Pinging 158.140.116.93 with 32 bytes of data:
Reply
Reply
Reply
Reply

from
from
from
from

158.140.116.93:
158.140.116.93:
158.140.116.93:
158.140.116.93:

bytes=32
bytes=32
bytes=32
bytes=32

time=125ms
time=132ms
time=154ms
time=116ms

TTL=126
TTL=126
TTL=126
TTL=126

Ping statistics for 158.140.116.93:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 116ms, Maximum = 154ms, Average = 131ms
Astfel observam ca am configurat corect aceasta retea, intrucat pachetele sunt
duse cu succes la destinatie.
Prin apelarea comenzii tracert determinam rutele prin care se pot conecta 2
retele. De ex. conectarea lui PC1 la PC4 se poate face prin Router0 sau prin Router5.
1 : PC1 -> Router1 -> Router5 -> Router4 ->PC4
sau
2 : PC1 -> Router1 -> Router0 -> Router4 ->PC4
PC>tracert 160.148.132.117
Tracing route to 160.148.132.117 over a maximum of 30 hops:
1
2
3
4

44 ms
73 ms
121 ms
191 ms

38 ms
92 ms
113 ms
175 ms

43 ms
92 ms
151 ms
187 ms

163.160.156.152
192.168.5.2
192.168.9.1
160.148.132.117

Trace complete.
sau
PC>tracert 160.148.132.117
Tracing route to 160.148.132.117 over a maximum of 30 hops:

1
2
3
4

40 ms
67 ms
82 ms
167 ms

35 ms
79 ms
136 ms
182 ms

33 ms
87 ms
129 ms
178 ms

Trace complete.

163.160.156.152
192.168.6.2
192.168.9.1
160.148.132.117

S-ar putea să vă placă și