自己发自己走的是回环地址

node1:/root#telnet 192.168.137.2 8080
Trying 192.168.137.2...
Connected to 192.168.137.2.
Escape character is '^]'.
11
response:11
22
response:22


没抓到数据:

0 packets dropped by kernel
node1:/root#tcpdump -S -i eth1 '((tcp) and  (port 8080) )'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes

node1:/root#tcpdump -S -i lo '((tcp) and  (port 8080) )'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes


22:45:50.704096 IP node1.36300 > node1.webcache: Flags [P.], seq 2128243426:2128243430, ack 1042421074, win 513, options [nop,nop,TS val 26482813 ecr 26468109], length 4
22:45:50.704494 IP node1.webcache > node1.36300: Flags [P.], seq 1042421074:1042421087, ack 2128243430, win 512, options [nop,nop,TS val 26482813 ecr 26482813], length 13
22:45:50.704504 IP node1.36300 > node1.webcache: Flags [.], ack 1042421087, win 513, options [nop,nop,TS val 26482813 ecr 26482813], length 0
22:45:51.217918 IP node1.36300 > node1.webcache: Flags [P.], seq 2128243430:2128243434, ack 1042421087, win 513, options [nop,nop,TS val 26483326 ecr 26482813], length 4
22:45:51.218018 IP node1.webcache > node1.36300: Flags [P.], seq 1042421087:1042421100, ack 2128243434, win 512, options [nop,nop,TS val 26483326 ecr 26483326], length 13
22:45:51.218024 IP node1.36300 > node1.webcache: Flags [.], ack 1042421100, win 513, options [nop,nop,TS val 26483326 ecr 26483326], length 0
原文地址:https://www.cnblogs.com/hzcya1995/p/13348509.html