Re: IP Lease
- From: JF Mezei <jfmezei.spamnot@xxxxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 21:22:51 -0400
Tom Linden wrote:
but it only keeps that window alive, so I guess that the two sessions have
different IPs. Don't suppose there is any way of doing this?
BTW, If I submit as batch, how do I get the output to my terminal?
When host A connects to host B for say telnet, the connection will exist between a random port on host A to port 23 on Host B.
Netstat will show you existing connections on this host, the local and the remote ports as well as local and remote IP.
When you establish a second session, then a totally different connection is made from another random port on A to port 23 on B. The two are independant from each other.
If your script which did a show time every minute maintained the connecttion on that session, but at the same time, another session without the script failed, then it is quite likely an idle timeout.
Does the dying session's window disapear ? There might be some information in there such as "remote host terminated the connection", or "HITMAN: we are killing your process because it has been idle for x minutes".
If it is done at the tcpip level, you can take a look at:
TCPIP SHOW SERV SSH
By default, there is an inactiity timer of 5 minutes.
There is also a SET SERV SSH/PROTOCOL=PROBE_TIMER=x (seconds). This sends a probe packet to make the connection look active.
There is also SET SERV SSH/SOCKET=KEEPALIVE
Note that set SERVICE SSH/INACTIVITY=x minutes is not documented in help but is accepted by the CLI but doesn't appear to have immediate effect. Perhaps it requires restart of the service to take effect,
.
- References:
- IP Lease
- From: Tom Linden
- Re: IP Lease
- From: Tom Linden
- IP Lease
- Prev by Date: Re: expanding shadow size
- Next by Date: Re: expanding shadow size
- Previous by thread: Re: IP Lease
- Next by thread: Re: IP Lease
- Index(es):
Relevant Pages
|