LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
Search this Thread
Old 06-24-2012, 09:35 PM   #1
frznchckn
Member
 
Registered: Jun 2006
Location: CA
Distribution: Ubuntu, CentOS, Scientific Linux
Posts: 97

Rep: Reputation: 15
Question determine IP address of switch


I purchased a Dell PowerConnect 2724 from ebay.

Please help me out and let me know if I did the right stuff here...

The default IP address for managed mode (I confirmed it is in managed mode via the front panel LEDs) is 192.168.2.1 .

I connect a laptop directly to the switch and ran

sudo ifconfig eth0:1 192.168.2.10

which I believe would put me on the same network as the switch. I'm unable to ping 192.168.2.1 or connect via a browser.

If I did this part correctly, this means that the switch is configured to use some other address.

What's the easiest way to figure out this address? Would nmap help?
 
Old 06-24-2012, 09:46 PM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 14.0 / 14.1
Posts: 131

Rep: Reputation: 50
If you bought it second-hand, chances are that the previous owner changed the default subnet. I looked through the online PDF of the manual for a reset procedure, but could only find instructions for resetting it from the Web interface (which is pretty useless). If there's a hardware reset button physically on the device somewhere, hold it down for about 30 seconds and try again.
 
1 members found this post helpful.
Old 06-24-2012, 10:02 PM   #3
frznchckn
Member
 
Registered: Jun 2006
Location: CA
Distribution: Ubuntu, CentOS, Scientific Linux
Posts: 97

Original Poster
Rep: Reputation: 15
No, there's not a hard reset button from what I can see.
 
Old 06-24-2012, 10:07 PM   #4
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 14.0 / 14.1
Posts: 131

Rep: Reputation: 50
That complicates things. What does your routing table look like ("route -n")?
 
1 members found this post helpful.
Old 06-24-2012, 10:08 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Make a static arp entry for almost any 192 number and then try again. Really any ip should work.
Kind of a way to cheat the ip and force the mac address to some ip range that you want to use.

Last edited by jefro; 06-24-2012 at 10:09 PM.
 
1 members found this post helpful.
Old 06-24-2012, 11:05 PM   #6
frznchckn
Member
 
Registered: Jun 2006
Location: CA
Distribution: Ubuntu, CentOS, Scientific Linux
Posts: 97

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jefro View Post
Make a static arp entry for almost any 192 number and then try again. Really any ip should work.
Kind of a way to cheat the ip and force the mac address to some ip range that you want to use.
@jefro: How do I determine the MAC address of the switch?

@CTM: my routing table has no entries
 
Old 06-25-2012, 09:51 AM   #7
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 14.0 / 14.1
Posts: 131

Rep: Reputation: 50
Quote:
Originally Posted by frznchckn View Post
@jefro: How do I determine the MAC address of the switch?
The MAC address is usually stamped onto the device somewhere - check for a sticker on the casing of the switch. It might not be labelled "MAC address", but it's the one that follows the format "01:23:45:67:89:ab".

Quote:
@CTM: my routing table has no entries
That goes some way to explaining why nothing's working Try jefro's approach for now, it's easier to get it working that way.
 
1 members found this post helpful.
Old 06-25-2012, 12:11 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Actually the best way was to find the reset button. Some HP and maybe others have some odd way that I forget. It is not a reset button at all. Guess I ought to look that up.

Also if someone did set it as a managed or smart switch it could be very difficult to access it. If the static arp doesn't work then you need to find out how to reset it. Darn, I ought to know this since we have some like that. Might have to use console.

Be sure to remove static arp entries when finished. They are real stinkers if left in.


Side note. If the mac isn't on the switch you usually can just issue arp command to show what is on the lan. arp -a maybe, look that up.

Last edited by jefro; 06-25-2012 at 12:14 PM.
 
1 members found this post helpful.
Old 06-25-2012, 01:17 PM   #9
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,146

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
here is the reset: http://en.community.dell.com/support.../17619072.aspx
 
2 members found this post helpful.
Old 06-25-2012, 06:02 PM   #10
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 14.0 / 14.1
Posts: 131

Rep: Reputation: 50
Quote:
Originally Posted by pan64 View Post
The fact that this isn't mentioned anywhere in the manual is outrageous. Good catch.
 
1 members found this post helpful.
Old 06-26-2012, 09:11 AM   #11
frznchckn
Member
 
Registered: Jun 2006
Location: CA
Distribution: Ubuntu, CentOS, Scientific Linux
Posts: 97

Original Poster
Rep: Reputation: 15
That worked. I thought it was lame that it wasn't in the manual either. Good find.
 
  


Reply

Tags
networking, switch


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine the IP address of a machine Neruocomp Linux - Networking 5 04-07-2009 06:23 PM
How do i determine my IP address? How do i determine my host name? jwymore Linux - Networking 5 02-07-2007 10:57 AM
Can't Determine IP Address basketkase999 Linux - Networking 4 11-20-2005 08:42 PM
How do I determine a computer's IP address? njschroe Linux - General 4 05-04-2005 06:53 AM
Determine IP Address with DHCP rock9604 Linux - General 3 08-20-2004 06:32 PM


All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
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