title: flokinet-005 - Routing between VLANs |
author: Nicholas Morrison nick@nanocat.net |
draft: false |
tags: [network, workshop, arista] |
categories: [workshop] |
noindex: true |
$ ssh-keygen -R netlab.nanocat.net <- delete the cached fingerprint
(lab server rebuilt frequently)
$ ssh lab@netlab.nanocat.net
Password: (generated fresh each week)
$ sudo containerlab inspect --all
$ sudo docker exec -it clab-device–name Cli
$ sudo docker exec -it clab-pcXX-name bash
show mac address-table
)show ip interface brief
)show ip route
)show ip route
)
show ip arp
)show ipv6 neighbors
)show ip route
)!
ip routing
!
!
interface vlan 10
description --- web ---
ip address 192.168.10.1/24
!
show mac address-table
show ip arp
show ip route
ping 192.168.x.x
At a bash prompt:
# capture and decode all packets on ethX
$ tcpdump -i ethX
# capture and decode all ICMP packets on ethX
$ tcpdump -i ethX icmp
# capture and decode all packets to or from 192.168.100.100
$ tcpdump -i ethX host 192.168.100.100
# capture and decode FRAMES
$ tcpdump -i ethX -e ether
# capture and decode FRAMES with a filter
$ tcpdump -i ethX -e ether host 01:23:45:67:89:01