A Prova Seleção Infra
Por: saudhasidhasiu • 20/3/2021 • Dissertação • 1.410 Palavras (6 Páginas) • 188 Visualizações
- Considerando a seguinte topologia:
[pic 1]
Server A:
analista@serverA ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.2.0.10 netmask 255.255.0.0 broadcast 10.2.255.255
inet6 fe80::e1bf:871c:5a1d:2bc6 prefixlen 64 scopeid 0x0<global> ether 0a:00:27:00:00:07 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.56.10 netmask 255.255.255.0 broadcast 192.168.56.255 inet6 fe80::e1bf:871c:5a1d:2bc6 prefixlen 64 scopeid 0x0<global> ether 0a:00:27:00:00:07 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 1500
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x0<global> loop (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
analista@serverA ~]# route -n Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 | 10.2.0.1 | 0.0.0.0 | UG | 0 | 0 | 0 eth0 |
10.2.0.0 | 0.0.0.0 | 255.255.0.0 | U | 0 | 0 | 0 eth0 |
192.168.56.0 | 0.0.0.0 | 255.255.255.0 | U | 256 | 0 | 0 eth1 |
192.168.56.1 | 0.0.0.0 | 255.255.255.255 | U | 256 | 0 | 0 eth1 |
Server B:
analista@serverB ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:34:c2:c5
inet addr:10.2.200.33 Bcast:10.2.200.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe34:c2c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8357104 errors:0 dropped:3795 overruns:0 frame:0 TX packets:2956056 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:484811214 (462.3 MiB) TX bytes:929851812 (886.7 MiB)
eth1 Link encap:Ethernet HWaddr 00:0c:29:34:c2:c5
inet addr:192.168.56.33 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe34:c2c5/64 Scope:Link inet6 addr: 2804:10:14:ff11::1/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1092045700 errors:0 dropped:0 overruns:0 frame:0 TX packets:1057614839 errors:0 dropped:4 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:2191737856701 (1.9 TiB) TX bytes:80340981239 (74.8 GiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5461812 errors:0 dropped:0 overruns:0 frame:0 TX packets:5461812 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:390462011 (372.3 MiB) TX bytes:390462011 (372.3 MiB)
analista@serverB ~]# route -n Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 | 10.2.0.1 | 0.0.0.0 | UG | 0 | 0 | 0 eth0 |
10.2.0.0 | 0.0.0.0 | 255.255.255.0 | U | 0 | 0 | 0 eth0 |
192.168.56.0 | 0.0.0.0 | 255.255.255.0 | U | 256 | 0 | 0 eth1 |
192.168.56.1 | 0.0.0.0 | 255.255.255.255 | U | 256 | 0 | 0 eth1 |
O analista testou realizar um teste de conectividade, executando traceroute do server A para o B e obteve o seguinte resultado:
traceroute to 10.2.200.33 (10.2.200.33), 30 hops max, 60 byte packets
1 10.2.0.1 (10.2.0.1) 0.440 ms 0.358 ms 0.326 ms
2 10.2.0.1 (10.2.0.1) 2991.240 ms !H 2991.268 ms !H 2991.242 ms !H
ping do B para o A:
serverB# ping 10.2.0.10 -c 4
PING 10.2.0.10 (10.2.0.10) 56(84) bytes of data.
From 10.2.0.1: icmp_seq=1 Destination Host Unreachable From 10.2.0.1: icmp_seq=2 Destination Host Unreachable From 10.2.0.1: icmp_seq=3 Destination Host Unreachable From 10.2.0.1: icmp_seq=4 Destination Host Unreachable
--- 10.2.0.10 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3003ms Testando o ping para o 192.168.56.33 (ping do A para o B)
...