I am trying to run some broadcast related tests in my network. I have a wireless client 10.48.225.30 and a wired host on the same subnet 10.48.225.45. I have a simple scapy script to run some broadcast traffic. When I send out a 10.48.225.255 broadcast, the broadcast is seen by the other host, but when I send out 255.255.255.255 from either host, the other cannot see it. Can anyone shed some light on what’s going on? The AP the wireless client is connected to and the wired host are on the connected to the same switch.
#ip_layer = IP(dst="10.48.225.255")
ip_layer = IP(dst="255.255.255.255", src="10.48.225.30")
icmp_layer = ICMP(seq=9999)
packet = ip_layer / icmp_layer
for x in range(10):
send(packet, iface="Wi-Fi")
x = x + 1