SLIDE 34 Lab 1: Basic Network Configuration Description Unix basic commands Lab set up Building a patch cord Flashing OpenWrt Accessing OpenWrt Installing packages OpenWrt Net. Interfaces Configure VLANs Configure WiFi Static Routing
Lab 1: Basic Network Configuration
Unix basic commands
Troubleshooting
- tcpdump of a TCP segment:
src IP address src port dst IP address dst port seq number flags TCP seq number next segment payload length (bytes) advertized window MSS SACK timestamp window scale TCP options timestamp 16:43:02.126531 147.83.34.125.2628 > 147.83.30.137.80: S 903489440:903489440(0) win 5840 <mss 1460,sackOK,timestamp 2533519233 0,nop,wscale 2>
- Checking activity in eth0:
~# tcpdump -ni eth0 tcpdump: WARNING: eth0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 14:06:21.986572 IP 192.168.1.232.22 > 192.168.1.234.57951: Flags [P.], seq 3522875745:3522875797, ^C
- Capturing dhcp packets in verbose mode:
~# tcpdump -vni br-lan port 67 tcpdump: listening on br-lan, link-type EN10MB (Ethernet), capture size 65535 bytes 14:24:56.571518 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 10:fe:ed:af:63:5e, length 300, xid ... Llorenç Cerdà-Alabern Linux Routers and Community Networks 34 / 191