How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gat
To overcome the issues mentioned with traceroute (ICMP-based, wide area hit) you could consider: