Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.internet.wireless
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2007, 07:40 AM
deepakpresent@gmail.com
Guest
 
Posts: n/a
Default how to browse router's MAC addresses

Hi,
is it possible to programatically get the list of a router's all LAN
and WLAN mac addresses. if u know any windows API / library / any
code/ Link... anything... that would help me a lot!

Secondly, i want to get any unique thing in the router. it should be
unique in the world. probably serial no, or anything else...
( programatically. )

i thought of getting UPnp device # of router, and in case of bonjour
routers, get Bonjour device#. But older routers won't support any of
these. That's what i think, please correct me if i'm wrong.

Thanks a lot.. any help is appreciated.
Deepak


Reply With Quote
  #2 (permalink)  
Old 10-18-2007, 10:46 AM
david
Guest
 
Posts: n/a
Default Re: how to browse router's MAC addresses

On Wed, 17 Oct 2007 23:40:20 -0700, deepakpresent rearranged some
electrons to say:

> Hi,
> is it possible to programatically get the list of a router's all LAN
> and WLAN mac addresses. if u know any windows API / library / any code/
> Link... anything... that would help me a lot!
>
> Secondly, i want to get any unique thing in the router. it should be
> unique in the world. probably serial no, or anything else... (
> programatically. )


The MAC address should be unique.

>
> i thought of getting UPnp device # of router, and in case of bonjour
> routers, get Bonjour device#. But older routers won't support any of
> these. That's what i think, please correct me if i'm wrong.
>
> Thanks a lot.. any help is appreciated. Deepak



Reply With Quote
  #3 (permalink)  
Old 10-18-2007, 05:33 PM
Jack \(MVP-Networking\).
Guest
 
Posts: n/a
Default Re: how to browse router's MAC addresses

Hi
Router is a general word, which type and level of performance you are
talking about.
Depending on the Router, it usually has one core IP and one MAC address.
Entry Level combination units (like Wireless Cable/DSL Router) might be
associated with more than one IP and MAC.
If you are talking about MAC and IP of work station that are connected to
the Router. Each Router has it own system to provide it, and what
programming you would like to do have to fit the specific category of
Routers.
http://www.ezlan.net/faq#

<deepakpresent@gmail.com> wrote in message
news:1192689620.893999.29330@v23g2000prn.googlegro ups.com...
> Hi,
> is it possible to programatically get the list of a router's all LAN
> and WLAN mac addresses. if u know any windows API / library / any
> code/ Link... anything... that would help me a lot!
>
> Secondly, i want to get any unique thing in the router. it should be
> unique in the world. probably serial no, or anything else...
> ( programatically. )
>
> i thought of getting UPnp device # of router, and in case of bonjour
> routers, get Bonjour device#. But older routers won't support any of
> these. That's what i think, please correct me if i'm wrong.
>
> Thanks a lot.. any help is appreciated.
> Deepak
>



Reply With Quote
  #4 (permalink)  
Old 10-18-2007, 05:59 PM
Jeff Liebermann
Guest
 
Posts: n/a
Default Re: how to browse router's MAC addresses

deepakpresent@gmail.com hath wroth:

>is it possible to programatically get the list of a router's all LAN
>and WLAN mac addresses.


Sure. If your router is running a real operating system, just run:
arp -a

For example:
dellbert (192.168.1.11) at 00:02:B3:1E:39:ED [ether] on br0
xxxxxx (63.249.85.1) at 00:10:67:00:D0:9B [ether] on vlan1
micron (192.168.1.113) at 00:0F:66:14:E5:4B [ether] on br0
dellinquent (192.168.1.50) at 00:40:05:C7:1C:44 [ether] on br0
dellicious (192.168.1.51) at 00:C0:A8:7F:FE:92 [ether] on br0

Hmmm... it doesn't list the LAN side IP address of the router
(192.168.1.1) but that's already known because you can't get the arp
information out of the router without first knowing the router's IP
address.

I guess we have to use ifconfig, which results in something like this:

br0 Link encap:Ethernet HWaddr 00:14:BF:B9:10:13
inet addr:192.168.1.1 Bcast:192.168.1.255
Mask:255.255.255.0

br0:0 Link encap:Ethernet HWaddr 00:14:BF:B9:10:13
inet addr:169.254.255.1 Bcast:169.254.255.255
Mask:255.255.0.0

eth0 Link encap:Ethernet HWaddr 00:14:BF:B9:10:13

eth1 Link encap:Ethernet HWaddr 00:14:BF:B9:10:15

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0

vlan0 Link encap:Ethernet HWaddr 00:14:BF:B9:10:13

vlan1 Link encap:Ethernet HWaddr 00:14:BF:B9:10:14
inet addr:63.249.85.127 Bcast:63.249.85.255
Mask:255.255.255.0

>if u know any windows API / library / any
>code/ Link... anything... that would help me a lot!


Sorry. I are not a programmist and don't know anything about
programming.

> Secondly, i want to get any unique thing in the router. it should be
>unique in the world. probably serial no, or anything else...
>( programatically. )


The MAC address of the router is unique.

>i thought of getting UPnp device # of router, and in case of bonjour
>routers, get Bonjour device#. But older routers won't support any of
>these. That's what i think, please correct me if i'm wrong.


If this is some kind of copy protection scheme, methinks you will need
something more sophisticated. MAC addresses can be spoofed, forged,
or cloned.

--
Jeff Liebermann jeffl@cruzio.com
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558

Reply With Quote
  #5 (permalink)  
Old 10-19-2007, 10:32 AM
karthikbalaguru
Guest
 
Posts: n/a
Default Re: how to browse router's MAC addresses

On Oct 18, 11:40 am, deepakpres...@gmail.com wrote:
> Hi,
> is it possible to programatically get the list of a router's all LAN
> and WLAN mac addresses. if u know any windows API / library / any
> code/ Link... anything... that would help me a lot!


arp -a

>
> Secondly, i want to get any unique thing in the router. it should be
> unique in the world. probably serial no, or anything else...
> ( programatically. )


Here, MAC address will help u.

Karthik Balaguru


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting two wireless routers together Charlie alt.internet.wireless 14 02-05-2007 08:16 PM
DHCP, the DLINK DI-724GU and handing out IP addresses in a sequence pcooley alt.internet.wireless 8 10-10-2006 12:24 AM
Re: ISPs kicking routers off internet? chris alt.internet.wireless 2 07-23-2006 09:27 AM
Why IP address is fixed everytime connected to the Internet? apngss@yahoo.com alt.internet.wireless 24 10-23-2005 03:12 AM
hubs and MAC addresses hawat.thufir@gmail.com alt.comp.hardware 4 09-18-2005 11:43 PM


All times are GMT. The time now is 09:44 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45