From: TekMail (TekMail@teklnk.com)
Date: Thu Jan 16 2003 - 23:18:21 GMT-3
Try this:
ip alias 10.0.1.1 2001
ip alias 10.0.1.2 2002
ip alias 10.0.1.3 2003
It creates a static ARP entry for the listed ip address and links it to the
specified line number... just like the host statements for reverse telnet.
Ed
----- Original Message -----
From: "Richard Young" <cc_young@pacbell.net>
To: <ccielab@groupstudy.com>
Sent: Thursday, January 16, 2003 4:49 PM
Subject: Want to map a reverse telnet to an IP address
> Hi,
> I have a 2611 async router configured with reverse telnet to several hosts
and
> the reverse telnet to each host works correctly. Here is the config.
> --------------------------------------------------------
> interface Loopback0
> ip address 1.1.1.1 255.255.255.255
> !
> ip host server1 2001 1.1.1.1
> ip host server2 2002 1.1.1.1
> ip host server3 2003 1.1.1.1
> ip host server4 2004 1.1.1.1
> ip host server5 2005 1.1.1.1
> ip host server6 2006 1.1.1.1
> ip host server7 2007 1.1.1.1
> ip host server8 2008 1.1.1.1
> ip host server9 2009 1.1.1.1
> !
> line 1 8
> no exec
> transport input all
> --------------------------------------------------------------------------
----------
>
> I would like to have these devices available from somewhere else on my
> intranet
> by assigning a single ip address to each device.
>
> I do not want to have to type "telnet 1.1.1.1 2001" to access the server1
> for instance.
> I was thinking I could create several loopbacks, one for each device for
> instance:
>
> int loop 1
> ip address 1.1.1.1 255.255.255.255
> int loop 2
> ip address 1.1.1.2 255.255.255.255
> int loop 3
> ip address 1.1.1.3 255.255.255.255
> as an example.
>
> I would then advertise the 1.1.1.0 network to my intranet.
> At that point from anywhere on the intranet, I could telnet 1.1.1.1 ro get
to
> server1
> or
> telnet 1.1.1.2 to get to server2 etc.
>
> This way I could add these to my local dns and telnet server1 to access
> server1 from anywhere on the intranet.
>
> If I could add port numbers to a dns entry something like
>
> server1 1.1.1.1 2001
> server2 1.1.1.2 2002
> server3 1.1.1.3 2003
>
> This might work.
>
> Anybody with any ideas?
>
> Thanks in advance
> Richard
> .
.
This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:51 GMT-3