首页 > 其他分享 >查看 内网所有ip

查看 内网所有ip

时间:2023-01-13 10:04:16浏览次数:47  
标签:3.255 1.0 查看 ip 所有 192.168 dropped 3.0


首先看你的主机ip,ifconfig
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.3.7 netmask 255.255.255.0 broadcast 192.168.3.255
inet6 fe80::c704:6ed6:5c56:a1d prefixlen 64 scopeid 0x20<link>
ether 74:70:fd:5e:5a:92 txqueuelen 1000 (以太网)
RX packets 909812 bytes 1112398573 (1.1 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 353803 bytes 64928648 (64.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
比如我的ip 是192.168.3.7
那么我们就运行
nmap –nsP 192.168.3.0/24 #从192.168.3.0到192.168.3.255所有IP
如果我的ip 是192.168.1.7
那么我们就运行
nmap –nsP 192.168.1.0/24 #从192.168.1.0到192.168.1.255所有IP


标签:3.255,1.0,查看,ip,所有,192.168,dropped,3.0
From: https://blog.51cto.com/u_15202985/6005780

相关文章