[lug] Cisco 675 router

Chip Atkinson chip at rmpg.org
Wed Jun 7 11:27:00 MDT 2000


Wow, I didn't even know this was possible.  Thanks.  

As for the shell/expect script, definitely go with expect.  To easily
create a script use 
autoexpect
It creates an expect script from your typing commands.  When you're done,
type in exit and you have a good start for an expect script.  You may have
to edit it a bit to stop it from looking for dates or times in the
expected output, but the rest is pretty easy.

Chip

On Wed, 7 Jun 2000, PC Drew wrote:

> On Wed, 7 Jun 2000, Andrew Reberry wrote:
> 
> > Does anyone have any idea how to bypass the cisco router?  I can log in to the router when I know the IP address.  However, I cant figure out how to get from the router to my system at all.   The router is connected directly to a network card attached t
> o the SuSE machine.  I have read the whole manual covering the Cisco 675, but it didn't give me any hints on how I would bypass the system.  USWest is not helpful here and has no idea how I would go about getting this done.
> > 
> > The network card I'm using gets an ip address using DHCP.  This address is set by the cisco router I believe, and not USWest.  So to get to my machine, in theory, I would have to telnet into the router, and then telnet into the machine.  However, telnet
> ing from the router does not seem possible.
> 
> 
> As the last response said, you need to setup a NAT entry to go from the outside in.  This'll allow something like "all port 80 traffic goes to 10.0.0.2".
> 
> > 
> > Problem 2:
> > 
> > When away from home I will not know what the dynamic IP address is.  Could I write a program that would send me an email every day telling me what static IP address my computer currently has.  Or have this program post the IP address to another server w
> hich is connected to the Internet?  Say to my homepage or something else?  If this is a viable solution, what sort of program would I want to write?  A shell script?  C++ program?
> > 
> > One other thing which makes this hard is the fact that when I run 'ifconfig' I get the DHCP address of the network card.  To find out what IP address the world sees me at I usually go to the following URL where it tells me so.  http://www.simflex.com/sc
> ripts/ip.exe.  This means I would have to get my IP address from somewhere outside my system before I send it to myself.
> > 
> 
> Write an expect script (http://expect.nist.gov).  This'll do everything you've ever wanted and more!  If you don't
> know the language or haven't ever heard of it, then by all means at least read about what it can do!  
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 





More information about the LUG mailing list