On my computer, when I try to ping to a multicast address, none of them return a response.
On the other hand, there is a Unix server I know that does have ping to these addresses.
Is there a way to add a route from my computer to this one, so that I can use these addresses?
No, ICMP is not typically used with multicast because it is a prime source for DoS amplification. Similarly multicast doesn't tend to be that useful as you need multicast enabled and configured routers to cross LAN segments.
See this answer if you are wanting to use multicast pings for discovery of local machines:
Multicast Ping (Windows)
Related
There are 2 NICs in my Windows-based machine, the IP address of one of NICs is 192.168.1.x/24 and the other one is 192.168.2.x/24. The Windows-based machine run an application that need to send out the multicast packet 229.255.10.1 through two of the NIC. However, the multicast packet 229.255.10.1 can be sent out from the NIC 192.168.1.x/24 only. Can I use route add -p Windows Command to send out the multicast packet from the NIC 192.168.2.x/24?
I think you can use:
route -p add 229.255.10.1 mask 255.255.255.255 192.168.2.x metric 1
where 192.168.2.x is your IP on nic 2
It remains only a problem that I haven't found a solution yet: if your application send a packet before you add the root, you need to reboot PC. This is a problem if the second NIC is, for example, a VPN client and it starts after the application
I have two NICs in my Windows PC, one for Internet and the other for outbound UDP streams. Both NICs have gateways and I tweak the metrics so that Internet bound traffic goes to the first. I would rather disable the gateway on the second NIC and specify the gateway when I create the UDP socket. Is this possible? Can I force the destination MAC address on a socket?
You have to bind() the socket to the local IP address of the NIC you want to use. If you don't know the IP, use GetAdaptersInfo() or GetAdaptersAddresses() to enumerate the NICs until you find the one you want, and then you will know its current IP to bind to.
Is it possible that set a proxy for windows (7) and all packets go Through the proxy server ? I mean all packets even ARP packets !
Sure it is take a look at arp spoofing/poisoning basically arp protocol works by machine saying this is my IP address and the router takes note and forwards any packets with this IP to that machine (Mac Address). SO basically you have to send out the arp messages at a faster rate tricking the router that messages should be bound to your machine and not the actual mac address that IP should belong to.
just to note (arp is a LAN protocol) so if your proxy is not within the the subnet as the machine your presumably attacking their is no way you can get these packets
Under Windows XP, SP 3, is it possible to forward loopback packets to a physical network card?
This is one of many attempts I'm making at being able to sniff loopback traffic. The best-looking lead I have so far is to use RawCap, but it's just not grabbing the packets for some unknown reason (I have another post on this topic).
Also, I'll note that Windows Loopback Adapter (WLA) is not a solution for me. The traffic I'm trying to catch is on 127.0.0.1. WLA requires an address other than 127.0.0.1 be used.
Thanks,
Dave
I think you can set any IP that you want to microsoft loopback adapter.
You can use Wireshark / winpcap and monitor the loopback adapter itself.
I am trying to implement server auto discovery so that clients will be able to see a list of servers available to connect to. I would like to auto discover servers even if they are in different subnets.
I have read that windows does not respond to broadcast ping, but is it possible to make all these servers to join a multicast group and use multicast ping on the group to see what servers are up?
Thanks
Try Zero configuration networking (Zeroconf).
Note multiple LAN segments requires routers to be configured to route multicast traffic, they do not by default. Similarly IGMP enabled switches are usually recommended for computer connectivity.