centos 查看 arp

yum install tcpdump -y
tcpdump arp
15:30:07.705363 ARP, Request who-has 10.10.3.1 tell 10.10.3.75, length 46
15:30:08.018602 ARP, Request who-has 10.10.3.75 tell 192.168.1.1, length 46
15:30:08.271788 ARP, Request who-has 10.10.3.66 tell 10.10.3.63, length 46
15:30:08.632669 ARP, Request who-has 10.10.7.181 tell 10.10.7.103, length 46
15:30:09.015424 ARP, Request who-has 10.10.3.75 tell 192.168.1.1, length 46
15:30:09.528139 ARP, Request who-has 10.10.7.143 tell 10.10.7.138, length 46
15:30:09.747629 ARP, Request who-has 10.10.3.253 tell 192.168.1.1, length 46
15:30:10.005762 ARP, Request who-has 10.10.7.181 tell 10.10.7.103, length 46
15:30:10.015728 ARP, Request who-has 10.10.3.75 tell 192.168.1.1, length 46
15:30:10.632506 ARP, Request who-has 10.10.7.181 tell 10.10.7.103, length 46
15:30:10.745324 ARP, Request who-has 10.10.3.253 tell 192.168.1.1, length 46
15:30:11.018393 ARP, Request who-has 10.10.3.75 tell 192.168.1.1, length 46
15:30:11.416309 ARP, Request who-has 59.73.198.161 tell 59.73.198.254, length 46
15:30:11.499339 ARP, Request who-has 10.10.3.98 tell 192.168.1.1, length 46
15:30:11.548831 ARP, Request who-has 192.0.0.64 tell 0.0.0.0, length 46
15:30:11.632822 ARP, Request who-has 10.10.7.181 tell 10.10.7.103, length 46
15:30:11.755392 ARP, Request who-has 10.10.3.253 tell 192.168.1.1, length 46
15:30:12.025584 ARP, Request who-has 10.10.3.75 tell 192.168.1.1, length 46
15:30:12.449408 ARP, Request who-has 59.73.198.129 tell 59.73.198.254, length 46
15:30:12.505339 ARP, Request who-has 10.10.3.98 tell 192.168.1.1, length 46
15:30:12.590021 ARP, Request who-has 10.10.7.143 tell 10.10.7.138, length 46
15:30:12.741206 ARP, Request who-has 10.10.3.66 tell 10.10.3.63, length 46
15:30:13.025350 ARP, Request who-has 10.10.3.75 tell 192.168.1.1, length 46
15:30:13.272976 ARP, Request who-has 10.10.3.66 tell 10.10.3.63, length 46
15:30:13.505339 ARP, Request who-has 10.10.3.98 tell 192.168.1.1, length 46
15:30:13.637145 ARP, Request who-has 10.10.7.144 tell 10.10.7.138, length 46
15:30:13.756881 ARP, Request who-has 10.10.3.150 tell 10.10.3.41, length 46
15:30:14.083972 ARP, Request who-has 59.73.198.156 tell 59.73.198.254, length 46
15:30:14.272132 ARP, Request who-has 10.10.3.66 tell 10.10.3.63, length 46
15:30:14.319466 ARP, Request who-has 10.10.3.150 tell 10.10.3.41, length 46
15:30:15.319450 ARP, Request who-has 10.10.3.150 tell 10.10.3.41, length 46
15:30:15.608158 ARP, Request who-has 59.73.198.136 tell 59.73.198.254, length 46
15:30:16.005030 ARP, Request who-has 10.10.7.181 tell 10.10.7.103, length 46
15:30:16.423887 ARP, Request who-has 59.73.198.166 tell 59.73.198.254, length 46
15:30:16.632998 ARP, Request who-has 10.10.7.181 tell 10.10.7.103, length 46
15:30:16.757617 ARP, Request who-has 10.10.3.150 tell 10.10.3.41, length 46
15:30:16.888194 ARP, Reply 192.168.0.120 is-at a4:ba:db:1d:15:67 (oui Unknown), length 46
15:30:17.053368 ARP, Request who-has 10.10.3.75 tell 192.168.1.1, length 46
15:30:17.319632 ARP, Request who-has 10.10.3.150 tell 10.10.3.41, length 46
15:30:17.596133 ARP, Request who-has 10.10.3.1 tell 10.10.3.27, length 46
15:30:17.632901 ARP, Request who-has 10.10.7.181 tell 10.10.7.103, length 46
时间: 2024-10-25 06:14:18

centos 查看 arp的相关文章

CentOS查看系统信息|CentOS查看命令

一:查看cpu more /proc/cpuinfo | grep "model name"      grep "model name" /proc/cpuinfo 如果觉得需要看的更加舒服 grep "model name" /proc/cpuinfo | cut -f2 -d: 怎么样,linux的命令就要这样熟悉. 二:查看内存 [root@CentOS ~]# grep MemTotal /proc/meminfo [root@Cent

CentOS查看系统信息命令和方法

收集的linux下查看系统信息的命令和方法,相信会对你有用的. 一.linux查看服务器系统信息的方法: 1.查看主机名/内核版本/CPU构架: # uname -n -r -p -o localhost.localdomain 2.6.32-220.el6.i686 i686 2.查看Linux系统类型和版本: # head -n 1 /etc/issue CentOS release 6.2 (Final) 3.查看语言字符集设置: # echo $LANG $LANGUAGE zh_CN.

centos 查看脚本

centos 查看脚本 #!/bin/bash date >>info.txt echo "本机centos版本为" >>info.txt cat /etc/issue >>info.txt cat /etc/redhat-release >>info.txt rpm -q centos-release. >>info.txt echo "本机centos 版本详细信息" >>info.txt

Centos查看端口占用情况和开启端口命令

1.Centos查看端口占用 比如查看80端口占用情况使用如下命令: lsof -i tcp:80 2.列出所有端口 netstat -ntlp 3.开启端口(以80端口为例) 3.1 方法一: 写入修改 /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT 保存修改 /etc/init.d/iptables save 重启防火墙,修改生效 service iptables restart 3.2 方法二: 打开配置文件加入如下语句: vi /e

CentOS查看内核版本、系统版本、系统位数

CentOS查看内核版本.系统版本.系统位数 查看Linux内核版本 [[email protected] ~]# cat /proc/version    Linux version 2.6.32-358.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013     [[email protected] ~]

centos查看设置端口开放状态

centos查看端口是否已开放/etc/init.d/iptables status centos开放端口/sbin/iptables -I INPUT -p tcp --dport 8000 -j ACCEPT/etc/rc.d/init.d/iptables save/etc/rc.d/init.d/iptables restart

Centos查看端口占用和开启端口命令

Centos查看端口占用情况命令,比如查看80端口占用情况使用如下命令: lsof -i tcp:80 列出所有端口 netstat -ntlp 1.开启端口(以80端口为例) 方法一: /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT 写入修改 /etc/init.d/iptables save 保存修改 service iptables restart 重启防火墙,修改生效 方法二: vi /etc/sysconfig/iptables

CentOS查看Tomcat是否正在运行

CentOS查看Tomcat是否正在运行,执行以下命令: [[email protected]_centos ~]# ps -ef |grep tomcat 已启动 未启动 原文地址:https://blog.51cto.com/1197822/2429811

centOS查看和修改默认默认运行级别

CentOS修改默认级别和以前的版本有所不同: [[email protected] ~]# cat /etc/inittab 运行这条命令会出现以下信息, //运行级别箭头处的multi-user.target表示3级别,即命令行模式 //运行级别箭头处的graphical.target表示5级别,即图形模式 //systemctl get-default 可以查看当前正在运行的级别 //systemctl set-default multi-user.target/graphical.tar