By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 904 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

How can I obtain the network IP Address

P: n/a
I want to be able to retrieve an ip address:

At the moment I have to do the following
From this I obtain the IP Address from the dos window thus....
Network Destination Netmask Gateway Interface Metric 1

I need to be able to retrieve this gateway address.

From this I need to set two ROUTE ADD operations adding this address to the
end of the string.

Eg:(numbers substituted for security reasons)
ROUTE {space} ADD {space} nnn.nnn.nnn.nnn {space} mask {space} {space}

Can anyone please advise me on how I can do this in 2005

Thanks in advance.

Mar 27 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.