Telnet to 2 routers at the same time

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2009
Posts: 1
Reputation: acejones109 is an unknown quantity at this point 
Solved Threads: 0
acejones109 acejones109 is offline Offline
Newbie Poster

Telnet to 2 routers at the same time

 
0
  #1
Mar 5th, 2009
I have been using python since the last few months. I am trying to telnet into one router and then telnet into another router from the first router. I know how to use telnetlib to telnet into a router but I have no clue on how I should proceed if I need to telnet into 2 routers at teh same time.

I am working on a Windows PC. I heard of a expect module but don't know what to do. Any suggestions will be really appreciated.

Thanks!
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 620
Reputation: Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough 
Solved Threads: 98
Murtan Murtan is offline Offline
Practically a Master Poster

Re: Telnet to 2 routers at the same time

 
0
  #2
Mar 6th, 2009
Ok, just to make sure I understand, you're running on computer A and can telnet to computer B. You want computer B to telnet to computer C?

Why not telnet from computer A to computer C directly?

If the above A -> B -> C scenario is what you're trying to do, you will need to 'convince' computer B to telnet to computer C. I suspect that you will either have to run the 'standard' telnet application on computer B, or run another program on computer B that achieves the same goal. If it was necessary, you could probably even 'create' a python file on computer B and run it to establish the connection to computer C. The options available to you could be limited by the access granted to your connection to computer B.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 402
Reputation: leegeorg07 is an unknown quantity at this point 
Solved Threads: 31
leegeorg07's Avatar
leegeorg07 leegeorg07 is offline Offline
Posting Pro in Training

Re: Telnet to 2 routers at the same time

 
0
  #3
Mar 6th, 2009
i think that hes trying to create a sort of p2p software to save time and effort
don't judge me because I'm a year 8!

'it is better to fight for something than to live for nothing'General George S Patton
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum
Thread Tools Search this Thread



Tag cloud for Python
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC