473,410 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Default gateway

Hi,

I am trying to find/write some vb.net code which will attain the
default gateway of a server. This app will access a cross section of
server platforms from NT4.0 server to Windows 2003 and check that they
are using the correct time source (which in most cases, is the DG,
except in our datacentres!)

Unfortunately, I am unable to do this using WMI due to the NT 4.0
servers (there are over 1500 Windows servers in the estate my team
manage), and pulling the info out of the registry would also not be an
option (AFAIK), as the DG info is in different reg keys as there are
many different pltforms and NIC's in use.

Can anyone recommend the easiest method for attaining the default
gateway from a machine please?

Many thanks.

J

Nov 21 '05 #1
0 1305

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phillip J. Eby | last post by:
PEP: 333 Title: Python Web Server Gateway Interface v1.0 Version: $Revision: 1.1 $ Last-Modified: $Date: 2004/08/27 17:30:09 $ Author: Phillip J. Eby <pje at telecommunity.com> Discussions-To:...
2
by: Nijazi Halimaji | last post by:
Hi In VB6 i changed the IP-Adress and Gateway of the computer by using API. Is there an object available in .net for doing this? Thanks alot Nijazi Halimaji
0
by: J | last post by:
Hi, Is there a simple method to attain the default gateway on a server with VB.net without using WMI? Bearing in mind that the servers the application will be run on will have different makes of...
0
by: pmclinn | last post by:
How do you grab a users default gateway? Connection-specific DNS Suffix . : ksde.local IP Address. . . . . . . . . . . . : 10.117.161.108 Subnet Mask . . . . . . . . . . . : 255.255.248.0...
8
by: google_groups3 | last post by:
Below is a snippet of code I am using. I want to set the IP, subnet and default gateway of my local computer via code. However, when I do it, I get a "not found" (error number 5) error on the...
4
by: mitymouse | last post by:
I am fairly familiar with scripting dos commands and that's about it. I remember some syntax and whatnot from a few programming classes I've taken but I don't remember any of the modules or functions...
18
by: Grant Edwards | last post by:
Could whoever is responsible for the gateway that is grabbing my postings off of Usenet and e-mailing them out please fix the headers in the mail messages so that I don't get the bounce messages?...
0
by: siddhartha92k | last post by:
sir , i know very well that how can we give ip address & dns address to a syatem . but i want to know how can we give default gateway by a command in windows xp. please tell me.
6
by: JOHNSHELL08 | last post by:
sir please tell me how can we give default gateway through command thanks.......
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.