LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-01-2004, 05:20 AM   #1
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Rep: Reputation: 15
Mac and ip adress


Hi,

i've got a problem and was hoping someone here could help

I need to find the ip and subnetmask of a machine of wich i only know the mac adress.

I need this to find the adress of my home router after it crashed, because at the moment i am unable to locate him in the network (i've done some arp scans but didn't find it)

grtz & thx

Kater´
 
Old 04-01-2004, 09:30 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,562

Rep: Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684
I'm assuming your router is a PC with a couple of ethernet cards? Are you looking for the external IP or internal IP?

I'm assuming you do not have a way of accessing the router visually? i.e. no monitor or keyboard connected? Do you have telnet or ssh working?

When you say crashed how do you know it rebooted successfully? Its internal IP should be static and you should be able to ping it.
 
Old 04-01-2004, 12:06 PM   #3
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Original Poster
Rep: Reputation: 15
It is not a pc, it is an Allied Telesyn cable/dsl router wich crashed (stopped all service) and was 'rebooted' by turning of and on.

On the bottom of the router is a sticker with it's mac adress, but i'm unable to find the ip (tried my and the factory settings)

The router is not 'routing' my internet connection, but is working as a hub (whitout dhcp)

grtz

Kater`
 
Old 04-01-2004, 12:20 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Did your router have a web-interface?
If so then I would try to do a scan for the http port (port 80) with nmap for example.
nmap -sT -P0 -p 80 0.0.0.0/0
Try this command, but be careful not to be connected to the Internet. You might end up in trouble if you start scanning the hole Internet.
 
Old 04-01-2004, 12:52 PM   #5
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Original Poster
Rep: Reputation: 15
yes, it does have a web interface wich is exactly why i need the ip adress ;-)

i'm going to try this immediatly !

THX !
 
Old 04-01-2004, 01:10 PM   #6
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Original Poster
Rep: Reputation: 15
i ran the command, but it only worked if i left the '80' out.

the result is that it said one host was found with several ports open, but 80 was not in the list...

is that 1 host just me ?

or is my router fooling around with me ?
 
Old 04-01-2004, 01:55 PM   #7
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Probably your local computer.
Check with ifconfig if it's your linux machine.
 
Old 04-01-2004, 01:56 PM   #8
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Original Poster
Rep: Reputation: 15
there is no ip in the output, just the 0.0.0.0 i entered
 
Old 04-01-2004, 08:00 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,562

Rep: Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684
What is the model number of the router?
 
Old 04-02-2004, 02:17 AM   #10
princenux
LQ Newbie
 
Registered: May 2003
Location: Jakarta, Indonesia
Distribution: RedHat, Slackware
Posts: 27

Rep: Reputation: 15
hmm why dont you try to use nmap 0.0.0.0/0 from your computer to the network.. i cluding the router/modem

or you can also limit down the scope... it you know something about the network... for example.. you know that.. it's ip perhaps ...202.146.x.x ... then you can try to scan ip with nmap 202.146.0.0/16

after.. your computer know.. which ip is alive.. then simply use the arp, match it... just type arp -a

wish it could help
 
Old 04-02-2004, 02:47 AM   #11
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Princenux: If you check the postings then you would see that this has been done already, with a narrowed down setting.
 
Old 04-02-2004, 08:25 AM   #12
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Original Poster
Rep: Reputation: 15
The router is an allied telesyn at-ar220E

more info on this router can be found on http://www.alliedtelesyn.nl/allied/p...ry=264&lang=nl

btw thx for all the replies

@ pricenux: i've scanned all i thought that could work with nmap, arp ettercap and some tools that are on the knoppix-std cd

i'd like to thank all of you for your replies
 
Old 04-02-2004, 06:48 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,562

Rep: Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684
Just wondering if you have the router manual avaliable....

According to the documentation on the website the default IP address is:
192.168.1.1. The default username is root with no password. Any ideas on how the network was configured? Did you ever change the default settings?

If the routers flash memory was corrupted then according to the documentation there was a utility called First Aid Agent included with the installation CD that can restore the original settings of the router using the param.ini file.

You say its still working as a hub. I suspect that something in the router end has gone awry.

Last edited by michaelk; 04-02-2004 at 06:52 PM.
 
Old 04-03-2004, 12:00 PM   #14
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Original Poster
Rep: Reputation: 15
i knew about the first aid software, what is does in cases like this is replace the software on the router with the original one. Sadly, you need the ip to connect.

All i changed was the dhcp range and some ip forwarding ports.

I once had the idea of using static ip's, and turned of dhcp, but there was nothing changed since i didn't confirm the changes.

and after all, even if dhcp was turned off, the router would still have his ip, right ?
 
Old 04-03-2004, 12:13 PM   #15
kater0000
Member
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 43

Original Poster
Rep: Reputation: 15
btw: sorry if my replies are a bit slow, but whithout the router getting on the net is just a bit more a drag then usually ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to obtain the MAC adress for your NIC Metablade Linux - Newbie 8 10-11-2005 01:44 PM
changing MAC adress? e1000 Linux - Wireless Networking 3 07-08-2004 05:13 PM
Is it possible to find an IP address from a MAC-adress? TheSpork Linux - Networking 1 06-30-2004 02:48 AM
Getting NIC MAC adress thar Linux - Networking 3 06-28-2004 11:38 PM
I need to change the MAC adress (can't connect to the net) Agna Linux - Newbie 4 03-15-2004 01:23 AM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration