On Wed, 21 Jun 2000 05:19:36 GMT, Chen Coulter
>I'm installing a Linksys EPSX3 Printserver on my inhouse test
>network consisting of an OpenServer 5.0.5 box networked through
>a 3Com 4 port switch to a Windows 98 2nd edition PC.
Duz the Windoze 98 box successfully print to the Linksys using TCP/IP?
If so, you can run:
arp -a
on the Windoze box to get the exact MAC address.
Quote:>The
>instructions indicate that the MAC address for the printserver
>can be derived from the Server Name listed on the bottom of
>the unit by replacing the "SC" prefix with what I presume is the
>Linksys MAC prefix of 00:C0:02.
Correct. See:
http://www.linksys.com/faqs/default.asp?fqid=7
at the bottom.
Quote:>I need to be able to set the
>IP address and usually I do this with an "arp -s" command that
>requires the MAC address. However, the printserver is not
>responding when I do this.
How are you testing if it responds?
What error message did you get?
What does: arp -a display?
Ping is sufficient for testing.
arp -s 192.168.1.1 00:c0:02:xx:xx:xx
ping 192.168.1.1
You should get a response. If not, check what happens with:
arp -a
arp -S
Quote:>Therefore, is there a way that I can ask for all the MAC addresses
>on the network to display?
Yeah. I scribbled a MAC address scanner the assigns an IP address to
a given MAC address and attempts to ping that address. It then
assigns the same IP address to the next MAC address. To give the
device time to respond, I wait 1 second between polls. To scan the
entire 00:c0:02 block of 16,777,216 million MAC addresses, it would
take only 194 days to scan all the possible MAC addresses. I'll be
happy to supply the code (if I can find it), but I don't think it's
what you want.
If your LAN happens to be rather simple, with only a few machines in a
Class C network, you could easily just sequentially ping each of the
256 IP addresses and use:
apr -a
to display the results. That goes rather quickly. However, you will
NOT get a response from a machine that does not have an IP address,
and that's the current problem.
Quote:>Obviously, I can get the address for
>the NIC in the SCO machine, but how do I see every address on
>the network?
Well, running:
arp -a
will show what the OSR5 box sees. You could use SNMP to interrogate
the arp cache, but the number of machine MAC addresses that SNMP
stores is rather limited (about 16 ???). You could use a network
sniffer program or tcpdump on OSR5 to capture packets and extract the
MAC addresses. (I use netmon from MS SMS 1.1 for sniffing).
Quote:>Any ideas?
Ideas are a dime per dozen. Solutions are considerably more
expensive.
--
150 Felker St #D Santa Cruz CA 95060
831-421-6491 pager 831-429-1240 fax
http://www.cruzio.com/~jeffl/sco/ SCO stuff