Re: scan for machines in the subnet



peter pilsl wrote:

I wonder what is the easiest and fastest way to detect all machines in
the current subnet from one of the machines and get their MAC-adresses.

My first approach would be to ping each possible adress and then read
the arp-table for valid mac's.

But assuming my limited knowledge of arp and other protocol-layers I
guess there are much better ways.

Trying to do this from a client on the network is an error prone way.
You will never be guaranteed to find all of the hosts.

A "better" way is to query the switch itself. Many switches
will have the ability to get this information from the MIB via
SNMP. That's the "better" way.
.



Relevant Pages

  • Re: Security Update hosed box?
    ... All other machines on subnet are in same switch and working as usual. ... All outbound traffic (surf web, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Multihomed Server Routing Woes: Two network segments cant com
    ... You have to change the default gateway to all the computers in the 192.168.1.x subnet for the computers on the other subnet to access them. ... access the machines on the 170.34.179.x network. ... Both NICs are connected to the same> switch. ... > - Any other machine on 192.168.1.x cannot ping any machine on ...
    (microsoft.public.windows.server.networking)
  • Re: two subnets on one network
    ... There's a big switch of 3comx5 configured to be one. ... Mainly it is used for 2003 domain of subnet 192.168.255.255. ... The router is for routing to the internet. ... Then you will need SOME router to allow the machines on different subnets ...
    (microsoft.public.windows.server.active_directory)
  • Re: RRAS ip routing and ISA
    ... You can run two subnets on one physical switch, ... Although the machines are connected to the same switch, ... subnet cannot communicate directly with machines in the other subnet. ... at NAT routing rather than using the proxy service in ISA. ...
    (microsoft.public.windows.server.networking)
  • Re: RRAS ip routing and ISA
    ... Although the machines are connected to the same switch, ... subnet cannot communicate directly with machines in the other subnet. ... You don't really need the DHCP server to be standalone. ...
    (microsoft.public.windows.server.networking)