-
Notifications
You must be signed in to change notification settings - Fork 1
Experiência 1
Camões edited this page Dec 21, 2020
·
1 revision
Disclaimer: Esta configuração é para a bancada 2
- Disconnect switch from netlab and connect tux computers
- Configure tuxy3 and tuxy4 using ifconfig and route commands
- Register the IP and MAC addresses of network interfaces
- Use ping command to verify connectivity between these computers
- Inspect forwarding (route –n) and ARP (arp–a) tables
- Delete ARP table entries in tuxy3 (arp–d ipaddress)
- Start Wireshark in tuxy3.eth0 and start capturing packets
- In tuxy3, ping tuxy4 for a few seconds
- Stop capturing packets
- Save log study it at home
Ligar Cabos
TUX23E0 -> Switch
TUX24E0 -> Switch
tux3:
> ifconfig eth0 up
> ifconfig eth0 172.16.20.1/24
> ifconfig eth0
tux4:
> ifconfig eth0 up
> ifconfig eth0 172.16.20.254/24
> ifconfig eth0
IP | MAC | tux/ether |
---|---|---|
172.16.20.1 | 00:21:5a:5a:7d:12 | tux23 eth0 |
172.16.20.254 | 00:08:54:50:3f:2c | tux24 eth0 |
tux3:
> ping 172.16.20.254
recebe pacotes de 64 bytes desse endereço
tux4:
> ping 172.16.20.1
recebe pacotes de 64 bytes desse endereço
tux3:
> route -n
Associa endereço IP a porta para saber por onde mandar
Neste pc:
- Destination 172.16.20.0
- Iface eth0
> arp -a
Associa Endereço IP a um Endereço MAC
< ? (172.16.20.254) at 00:08:54:50:3f:2c [ether] on eth0
tux3:
> arp -d 172.16.20.254
> arp -a [retorna nada]