Get IP address
i am working in software development side. i am not much familiar in networking area. i want small help.
i am using Ubuntu Linux. i connected my pc to a switch. i want to telnet that switch. but i don't know that switch ip address. how can i get that ip address? |
Switches are usually dumb as a stick. They don't have an IP, and you can't telnet to them. You're thinking of a router.
|
Yes a switch can have a telnet port like a smart switch like a 3com 3300 switch can be access with a web browser and telnet access. The only way to find if you don't know the ip is use a tool like nmap to scan the entire segment of the IP's used. For example if say your current IP is 192.168.1.32 and a subnet of 255.255.255.0 then this is a class C address and you can scan all 255 IPs ranging from 192.168.1.1 to 192.168.1.255. With nmap it has and OS type detection map that may identify the OS the device is using. The fingerprinting it uses is not perfect but gets close. There are serveral gui interfaces for nmap if console use is not your thing.
Brian |
I stand corrected.
|
Yeah, as Brian1 said you might want to "trial and error" with nmap. But if it's a switch and doesn't have an IP Address isn't it more than likely controlled via serial I/O? As in you need to hook up to the switch via serial connection and configure it that way.
|
Post the brand and model of the switch and we can all see what it is and not.
Brian |
Brand: cisco
Cisco 1900 Series switch * any way i am very thankful for your attention. i got this switch from my friend and i am using this switch in my home for sharing internet connection. if you think this is some kind of mess then just tell me, i will drop this part. because just i try to configure some thing in this switch. but if you get any idea i will glade to all of you. -thanks again. |
dont you now its wan port IP ?
|
how is this connected to your network ?
|
ok..the switch probably does not have an IP address, unless it is actually a router (not for you if it is cisco 1900 !!). To find out, just run a tracert *win or 'traceroute' on *nix from your desktop machine to the any outside server. It will list all nodes with assigned ip numbers that are visited along the path from your desktop to the outside server.
|
So many different models using the 1900 reference. If it came from someone else and you don't know the IP then it could be anything. If it has a serial port then you would have to turn it off, connect to the serial port with a null serial cable I beleieve, and start a terminal serial client app, turn on the switch and try making connection. The exact steps I don't know. Should be able to find all that info from cisco site. That is if it has a serial port.
Brian |
thanks Brain,
i used console cable and i assigned new ip address. thank you very much to all of you. -jeyram |
Glad to be of help. Just out of curiosty what was the old IP anything close to you network IP range?
Brian |
i don't know my old ip address.
if you use console cable you can reset any thing(password also). i found this way in some ccna certifications slides. |
From what I remember, you don't have to reset the switch/router to connect via serial. Just connect the null cable, start up your client, and just hit enter... you should get the prompt :)
|
All times are GMT -5. The time now is 05:03 PM. |