Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configure RRAS from powershell

Status
Not open for further replies.

dparrott

MIS
Jul 26, 2004
201
US
Hi,

I'm running into a brick wall here. I need to have a powershell script that returns the metric used in RRAS LAN routing for all the routes.

I've looked into some wmi, but am having trouble actually getting any data out of it that looks like it could be corresponding to this. Another way to do this through powershell not using WMI would be acceptable, too.

For clarification, we've got some web servers with multiple NIC's and addressess. The "external" addresses are behind a load balancer (it's a 10.x.x.x network), and the database and management connections use a different NIC on a different network (172.x.x.x network). We use RRAS routes to determine which traffic goes out which nic. Recently, we noticed slow response, which turned out to be because the internal network's metric in the route got changed to 98,303 instead of 1.

Please let me know if you have any questions or any infomation.

Thanks,
Danny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top