Obtaining Ethernet addresses?
Scott Ehrlich
se at panix.com
Mon Nov 6 17:40:38 EST 2000
I will stop cluttering the list's queue with my pursuit after this
message, but I don't believe the response addresses my quest -
It will give me the MAC address of the Ethernet card in the system, but I
don't see how it gives me the MAC address of the cable modem connected to
the PC's Ethernet card.
If I am missing something here, please let me know.
Let's take this offline, unless others on the list find this of value...
Scott
On Mon, 6 Nov 2000, Gordon Keegan wrote:
>
> >
> > I am actually looking for a way to read/get the MAC address, not the IP.
> > Thanks though for what you did provide.
> >
> > Scott
> >
>
> Ummm, guess what? :) That's exactly what Kris gave you. Look closer
> at the "at.atTable.atEntry.atPhysAddress" line versus the
> "at.atTable.atEntry.atNetAddress" line...
>
> Gordon
>
> >>>
> >>> You're looking for something like this:
> >>> at.atTable.atEntry.atPhysAddress.1.1.10.147.83.13 = Hex: 00 00 CA 07 FB 22
> >>> at.atTable.atEntry.atNetAddress.1.1.10.147.83.13 = IpAddress: 10.147.83.13
> >>>
>
>
>
> > On Mon, 6 Nov 2000, Kris wrote:
> >
> > > Well since i use to work for mediaone and know lots about cable modems...
> > > Also I am assuming you want the IP address(the MAC should be on the bottom
> > > of the modem).
> > >
> > > First you have to MIB walk the headend.
> > > snmpwalk 10.l47.82.1 public |more
> > > ( replace x.147.82.1 with your IP gateway )
> > >
> > > You're looking for something like this:
> > > at.atTable.atEntry.atPhysAddress.1.1.10.147.83.13 = Hex: 00 00 CA 07 FB
> > > 22
> > > at.atTable.atEntry.atNetAddress.1.1.10.147.83.13 = IpAddress: 10.147.83.13
> > > Grep for your cable modem's MAC, there is an ARP entry in the headend
> > > for it's IP address as well(the MAC is on the bottom of the modem).
> > > Now you can MIB walk your cable modem or gather stats to your heart's
> > > content.
> > > Everytime you get renumbered though your modem will get renumbered too.
> > >
> > > If your doing this for the arp/bandwith uncap hack(first off it only works
> > > with LanCity type cable modems from mediaone), don't bother m1 has figured
> > > a way to block that(but I have a way to get around it as well e-mail me
> > > for info ;).
> > >
> > > Thanx to Bill McDonough for some of this info
> > >
> > > Kris Loranger
> > > Network Systems Engineer and Security Consultant
> > > Belenosinc.com
> > > kris at kancer.978.org
> > > IRC:undernet,#978,Kancer AIM:KancerKris
> > > Run Linux, keep the net free!
> > >
> > > On Mon, 6 Nov 2000, Scott Ehrlich wrote:
> > >
> > > > Hello to all:
> > > >
> > > > I wish to remotely obtain the Ethernet address of my cable modem which is
> > > > attached to the Ethernet card of my OpenBSD box. What utility is
> > > > recommended for this task? I presume it will be some type of network
> > > > sniffer.
> > > >
> > > > Thanks.
> > > >
> > > > Scott
> > > >
> > > > -
> > > > Subcription/unsubscription/info requests: send e-mail with
> > > > "subscribe", "unsubscribe", or "info" on the first line of the
> > > > message body to discuss-request at blu.org (Subject line is ignored).
> > > >
> > >
> > >
> >
> > -
> > Subcription/unsubscription/info requests: send e-mail with
> > "subscribe", "unsubscribe", or "info" on the first line of the
> > message body to discuss-request at blu.org (Subject line is ignored).
> >
>
>
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list