I know I can find all the local ip addresses by getting a list of the nics.
However I need to do something trickier than that. The server I need to communicate to has two nics and two IPs. However when I get the ip address for that server it always returns the same one, even if that network is down. The other IP addres IS listed in the local naming table if I do a 'ipconfig /displaydns' but I can't get a handle to it from my java app.
any ideas people?
posted 12 years ago
provided you can use rsh on unix: runtime.exec("rsh ifconfig -a") ((and some awk script to filter out the ip's))