Networking Forums

Networking Forums > Computer Networking > Linux Networking > Puzzle: Determine router's IP address

Reply
Thread Tools Display Modes

Puzzle: Determine router's IP address

 
 
cdf
Guest
Posts: n/a

 
      04-25-2005, 12:28 PM
Hi,

Am trying to resolve the following issue. I bought a used Netopia 4652
router, no info about its setting came with it. In order to reconfigure
the router (or reset it to factory defaults) I need to telnet into it.
However, router's previous internal IP address is not known and, hence,
the problem. I tried 192.168.1.1 but it did not work.

Is there a way to determine an internal IP address that was previously
used by the router?

Thanks
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      04-25-2005, 12:38 PM
On 2005-04-25, cdf <(E-Mail Removed)> wrote:
> Is there a way to determine an internal IP address that was previously
> used by the router?


Get the user's manual for that thing, there should be a way to 'reset' it
to default/factory configuration and then login somehow with a default
username/password.

Davide

--
Q: What do you call 50 Microsoft products at the bottom of the ocean?
A: A darned good start.
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      04-25-2005, 01:08 PM

"cdf" <(E-Mail Removed)> wrote in message
news:VuednaKDfaFGTvHfRVn-(E-Mail Removed)...

> Am trying to resolve the following issue. I bought a used Netopia 4652
> router, no info about its setting came with it. In order to reconfigure
> the router (or reset it to factory defaults) I need to telnet into it.
> However, router's previous internal IP address is not known and, hence,
> the problem. I tried 192.168.1.1 but it did not work.
>
> Is there a way to determine an internal IP address that was previously
> used by the router?


Power is up connected to a device that can snoop all packets. Odds are
it will eventually transmit something, and you can look at the source IP
address of the packet it sent.

DS


 
Reply With Quote
 
cdf
Guest
Posts: n/a

 
      04-25-2005, 01:12 PM
Davide Bianchi wrote:
> On 2005-04-25, cdf <(E-Mail Removed)> wrote:
> Get the user's manual for that thing, there should be a way to 'reset' it
> to default/factory configuration and then login somehow with a default
> username/password.


Good suggestion. Regretfully it does not work. The manual instructs to
press a certain "button" but the button does not appear to exist on the
router. I don't know why. Maybe they customized these routers for Covad
this way or whatever. I'm trying to address it with Netopia but at the
same time I'm preparing myself that resetting the router using hardware
maybe impossible. So, back to square one... Is there a way to determine
the router's internal IP address?

Thanks
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      04-25-2005, 01:49 PM

"cdf" <(E-Mail Removed)> wrote in message
news:WPadnTBb_pHdQ_HfRVn-(E-Mail Removed)...

> Good suggestion. Regretfully it does not work. The manual instructs to
> press a certain "button" but the button does not appear to exist on the
> router. I don't know why. Maybe they customized these routers for Covad
> this way or whatever. I'm trying to address it with Netopia but at the
> same time I'm preparing myself that resetting the router using hardware
> maybe impossible. So, back to square one... Is there a way to determine
> the router's internal IP address?


Try a broadcast ping to 255.255.255.255. When you power up the router,
watch it. It should send some packets. If, for example, you see DHCP
requests, you can send a DHCP reply and get it on a known address. I have
never had an IP device that I couldn't get to respond to something or other.

DS


 
Reply With Quote
 
Clive Dove
Guest
Posts: n/a

 
      04-25-2005, 02:01 PM
cdf wrote:

> Davide Bianchi wrote:
>> On 2005-04-25, cdf <(E-Mail Removed)> wrote:
>> Get the user's manual for that thing, there should be a way to
>> 'reset' it to default/factory configuration and then login somehow
>> with a default username/password.

>
> Good suggestion. Regretfully it does not work. The manual instructs to
> press a certain "button" but the button does not appear to exist on
> the router. I don't know why. Maybe they customized these routers for
> Covad this way or whatever. I'm trying to address it with Netopia but
> at the same time I'm preparing myself that resetting the router using
> hardware maybe impossible. So, back to square one... Is there a way to
> determine the router's internal IP address?
>
> Thanks


Perhaps this will help:

A quick google to search term "Netopia 4652" yeilds this page:
http://www.netopia.com/support/resou...tion_4652.html

hich contains this paragraph:
Note: By default, all Netopia ENT-Series, 4000-Series and R-Series
gateways and routers have an Ethernet IP Address of 192.168.1.1. DHCP
(IP Address Serving) is enabled, serving 100 IP addresses starting at
192.168.1.100

Try opening 192.168.1.1 or possibly http://192.168.1.1 in a browser to
see if it opens the router's setup page.

Clive





 
Reply With Quote
 
cdf
Guest
Posts: n/a

 
      04-25-2005, 03:17 PM
David Schwartz wrote:
>
> Try a broadcast ping to 255.255.255.255. When you power up the router,
> watch it. It should send some packets. If, for example, you see DHCP
> requests, you can send a DHCP reply and get it on a known address. I have
> never had an IP device that I couldn't get to respond to something or other.


I connected a PC to the router (nothing else is connected to the router
or PC) and tried the following with 172 and 192 subnets (reconfiguring
the network interface each time). The only response I'm getting is from
the PC itself:

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:EA:81:41:81
inet addr:172.168.1.11 Bcast:172.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::20f:eaff:fe81:4181/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9820 errors:0 dropped:0 overruns:0 frame:0
TX packets:9470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8666864 (8.2 MiB) TX bytes:1228925 (1.1 MiB)
Interrupt:185 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1673 errors:0 dropped:0 overruns:0 frame:0
TX packets:1673 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:176973 (172.8 KiB) TX bytes:176973 (172.8 KiB)


# echo "Start ping and turn on the router"
# ping -b 255.255.255.255
WARNING: pinging broadcast address
PING 255.255.255.255 (255.255.255.255) 56(84) bytes of data.
64 bytes from 172.168.1.11: icmp_seq=1 ttl=64 time=0.094 ms
64 bytes from 172.168.1.11: icmp_seq=2 ttl=64 time=0.041 ms
64 bytes from 172.168.1.11: icmp_seq=3 ttl=64 time=0.040 ms
64 bytes from 172.168.1.11: icmp_seq=4 ttl=64 time=0.037 ms

--- 255.255.255.255 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 10997ms
rtt min/avg/max/mdev = 0.037/0.043/0.094/0.017 ms
#

Anything I am doing wrong? Thanks
 
Reply With Quote
 
Dale Dellutri
Guest
Posts: n/a

 
      04-25-2005, 03:26 PM
On Mon, 25 Apr 2005 07:28:22 -0400, cdf <(E-Mail Removed)> wrote:
> Am trying to resolve the following issue. I bought a used Netopia 4652
> router, no info about its setting came with it. In order to reconfigure
> the router (or reset it to factory defaults) I need to telnet into it.
> However, router's previous internal IP address is not known and, hence,
> the problem. I tried 192.168.1.1 but it did not work.


> Is there a way to determine an internal IP address that was previously
> used by the router?


Is the MAC address printed or embossed on the device case? If so,
then cable it to your desktop (crossover needed?), set an unused ip
address in your subnet with arp, something like:
arp -v -s <desired IP addres> <MAC address> temp

Then you can telnet to the desired IP address and set whatever you
like once you get into the Netopia 4652 device.

I've done this with an internal print server card that I bought on
eBay, which came without instructions. It's default IP address was
11.22.33.44, which I would never have guessed. Luckily, the MAC
address was printed on a sticker on the device.

If the MAC address is not printed or embossed on the outside, you
could try opening it up. Sometimes, the chips still have the stickers
on them.

--
Dale Dellutri <(E-Mail Removed)> (lose the Q's)
 
Reply With Quote
 
Dale Dellutri
Guest
Posts: n/a

 
      04-25-2005, 03:57 PM
On Mon, 25 Apr 2005 07:28:22 -0400, cdf <(E-Mail Removed)> wrote:
> Am trying to resolve the following issue. I bought a used Netopia 4652
> router, no info about its setting came with it. In order to reconfigure
> the router (or reset it to factory defaults) I need to telnet into it.
> However, router's previous internal IP address is not known and, hence,
> the problem. I tried 192.168.1.1 but it did not work.


> Is there a way to determine an internal IP address that was previously
> used by the router?


I just looked at the Netopia web site info. It seems easier to use
the serial console interface:
http://www.netopia.com/support/techn...e/NQG_100.html
part III. You'll probably need a crossover serial cable, and whatever
com port software you like. I generally use kermit for these tasks,
but minicom or others would work.

--
Dale Dellutri <(E-Mail Removed)> (lose the Q's)
 
Reply With Quote
 
cdf
Guest
Posts: n/a

 
      04-25-2005, 06:25 PM
Dale Dellutri wrote:
> Is the MAC address printed or embossed on the device case? If so,
> then cable it to your desktop (crossover needed?), set an unused ip
> address in your subnet with arp, something like:
> arp -v -s <desired IP addres> <MAC address> temp
>
> Then you can telnet to the desired IP address and set whatever you
> like once you get into the Netopia 4652 device.


That's a good suggestion. There are 12 digits/letters on the back of the
router that do appear to be its MAC address. Didn't work though, I hope
I am maybe missing someting:

PC = 192.168.1.2
router = 192.168.1.1

# arp -v -s 192.168.1.1 00:00:B6:A2:A3:22 temp

# cat /proc/net/arp
IP address HW type Flags HW address Mask
Device 192.168.1.1 0x1 0x2 00:00:B6:A2:A3:22 *
eth0

# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=9 Destination Host Unreachable
From 192.168.1.2 icmp_seq=10 Destination Host Unreachable
From 192.168.1.2 icmp_seq=11 Destination Host Unreachable

# telnet also fails

So, either "0000B6A2A322" printed on the back of the routher is not its
MAC address or... I don't know.

Regarding your suggestion about serial console interface... regretfully,
I can't use it since the serial cable is missing.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't access my linksys router's ip address Emmy Network Routers 9 05-29-2007 01:14 AM
Determine IP address on machine sandeep.de@gmail.com Linux Networking 7 02-09-2006 05:57 PM
Changing a router's IP address required a call to SBC! Why?! benn686@hotmail.com Wireless Internet 3 09-20-2005 05:48 PM
Determine IP address of WRT54G Another Newsgroup User Wireless Internet 13 08-02-2004 02:32 AM
Re: Determine Attached MAC Address Alexander Clouter Linux Networking 0 04-09-2004 12:42 AM



1 2 3 4 5 6 7 8 9 10 11