Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Thanked: 6
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.
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.
* 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.
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.
Last edited by soroccoheaven; 09-02-2007 at 02:58 PM..
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Thanked: 6
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.