Cisco Systems using translate as a REAL end-to-end x25 to tcp gateway?

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
using translate as a REAL end-to-end x25 to tcp gateway? RedRat 02-01-06
Posted by RedRat on February 1, 2006, 9:04 am
Please log in for more thread options
Hi all,

I've a 2611xm that I want to use has a REAL end-to-end x25<->TCP
gateway. I need to receive a lot of small (few bytes) x25 calls and
translate them to TCP connections handled by a Server.

The problem is that it seems the Cisco translate command is NOT a
"gateway". What do I mean by end-to-end gateway? I mean the real
translation of x25<->TCP signalling, ex. Call Setup -> SYN, RR -> ACK, etc.

Next I present the MSC of what I'm seeing in my cisco with the following
translate line on my running config,

"translate x25 10105 tcp 10.154.0.190 port 10023 stream quiet"

When the server is listenning on port 10023:

Server                | CISCO |                        PSDN
TCP                TCP         x25                        x25
|                |        |<--CallSetup(10105)----|
|                |        |---CallConf----------->|
|<----SYN-------|<------|                        |
|-----SYNACK--->|buffer?|<-----DATA-------------|
|<----ACK-------|        |------RR-------------->|
|<-----DATA-----|        |<-----DATA-------------|
|<-----DATA-----|        |------RR-------------->|
|------ACK----->|         |<---CallClear----------|
|                |        |----ClearConf--------->|
|<----FIN-------|        |                        |
|-----FINACK--->|        |                        |
|-----FIN------>|        |                        |
|<----FINACK----|        |                        |

This works OK althoug it's not a REAL end-to-end gateway because the x25
call is terminated AT and BY the Cisco. Data is acknowledge by the x25
terminating PAD on the cisco and not by the remote TCP stack on the Server.

When the server is DOWN:

Server                | CISCO |                        PSDN
TCP                TCP         x25                        x25
|                |        |<--CallSetup(10105)----|
|                |        |---CallConf----------->|
|<----SYN-------|<------|                        |
|                |buffer?|<-----DATA-------------|
|                |        |------RR-------------->|
|                 |        |<-----DATA-------------|
|                |        |------RR-------------->|
| Timeout->|~3s--->|---CallClear---------->|
|                |        |<---ClearConf----------|


Here is the BIG problem! If my server is down or there is a network
problem the data is acknowledge halfway by the x25 PAD but NEVER
delivered to the Server. The x25 calling party "thinks" the data was
successfully delivered, which is dead wrong! I need to guarantee that
ALL data is delivered, no matter how remote is the chance that the
Server is down/unreachable.

What I was expecting from "translate" to do was:

(Server DOWN)

Server                | CISCO |                        PSDN
TCP                TCP         x25                        x25
|<----SYN-------|        |<--CallSetup(10105)----|
| Timeout->|------>|---CallClear---------->|

(Server UP)

Server                | CISCO |                        PSDN
TCP                TCP         x25                        x25
|<----SYN-------|<------|<--CallSetup(10105)----|
|-----SYNACK--->|------>|---CallConf----------->|
|<----ACK-------|        |
|<----DATA------|<------|<-----DATA-------------|
|-----ACK------>|------>|------RR-------------->|
|<----DATA------|<------|<-----DATA-------------|
|-----ACK------>|------>|------RR-------------->|
|<----FIN-------|<------|<---CallClear----------|
|-----FINACK--->|        |                        |
|-----FIN------>|------>|----ClearConf--------->|
|<----FINACK----|        |                        |

Is there a way to modify/configure the translate behavior to suite my needs?

Thanks in advance to all,

RLaskas

Posted by Aaron Leonard on February 1, 2006, 4:21 pm
Please log in for more thread options
If you turn on TCP keepalives on the router that's doing the
protocol translation, does this solve the problem of the router
being aware of the case where the TCP server has gone unreachable?

Aaron

---

~ Hi all,
~
~ I've a 2611xm that I want to use has a REAL end-to-end x25<->TCP
~ gateway. I need to receive a lot of small (few bytes) x25 calls and
~ translate them to TCP connections handled by a Server.
~
~ The problem is that it seems the Cisco translate command is NOT a
~ "gateway". What do I mean by end-to-end gateway? I mean the real
~ translation of x25<->TCP signalling, ex. Call Setup -> SYN, RR -> ACK, etc.
~
~ Next I present the MSC of what I'm seeing in my cisco with the following
~ translate line on my running config,
~
~ "translate x25 10105 tcp 10.154.0.190 port 10023 stream quiet"
~
~ When the server is listenning on port 10023:
~
~ Server                | CISCO |                        PSDN
~ TCP                TCP         x25                        x25
~ |                |        |<--CallSetup(10105)----|
~ |                |        |---CallConf----------->|
~ |<----SYN-------|<------|                        |
~ |-----SYNACK--->|buffer?|<-----DATA-------------|
~ |<----ACK-------|        |------RR-------------->|
~ |<-----DATA-----|        |<-----DATA-------------|
~ |<-----DATA-----|        |------RR-------------->|
~ |------ACK----->|         |<---CallClear----------|
~ |                |        |----ClearConf--------->|
~ |<----FIN-------|        |                        |
~ |-----FINACK--->|        |                        |
~ |-----FIN------>|        |                        |
~ |<----FINACK----|        |                        |
~
~ This works OK althoug it's not a REAL end-to-end gateway because the x25
~ call is terminated AT and BY the Cisco. Data is acknowledge by the x25
~ terminating PAD on the cisco and not by the remote TCP stack on the Server.
~
~ When the server is DOWN:
~
~ Server                | CISCO |                        PSDN
~ TCP                TCP         x25                        x25
~ |                |        |<--CallSetup(10105)----|
~ |                |        |---CallConf----------->|
~ |<----SYN-------|<------|                        |
~ |                |buffer?|<-----DATA-------------|
~ |                |        |------RR-------------->|
~ |                 |        |<-----DATA-------------|
~ |                |        |------RR-------------->|
~ | Timeout->|~3s--->|---CallClear---------->|
~ |                |        |<---ClearConf----------|
~
~
~ Here is the BIG problem! If my server is down or there is a network
~ problem the data is acknowledge halfway by the x25 PAD but NEVER
~ delivered to the Server. The x25 calling party "thinks" the data was
~ successfully delivered, which is dead wrong! I need to guarantee that
~ ALL data is delivered, no matter how remote is the chance that the
~ Server is down/unreachable.
~
~ What I was expecting from "translate" to do was:
~
~ (Server DOWN)
~
~ Server                | CISCO |                        PSDN
~ TCP                TCP         x25                        x25
~ |<----SYN-------|        |<--CallSetup(10105)----|
~ | Timeout->|------>|---CallClear---------->|
~
~ (Server UP)
~
~ Server                | CISCO |                        PSDN
~ TCP                TCP         x25                        x25
~ |<----SYN-------|<------|<--CallSetup(10105)----|
~ |-----SYNACK--->|------>|---CallConf----------->|
~ |<----ACK-------|        |
~ |<----DATA------|<------|<-----DATA-------------|
~ |-----ACK------>|------>|------RR-------------->|
~ |<----DATA------|<------|<-----DATA-------------|
~ |-----ACK------>|------>|------RR-------------->|
~ |<----FIN-------|<------|<---CallClear----------|
~ |-----FINACK--->|        |                        |
~ |-----FIN------>|------>|----ClearConf--------->|
~ |<----FINACK----|        |                        |
~
~ Is there a way to modify/configure the translate behavior to suite my needs?
~
~ Thanks in advance to all,
~
~ RLaskas


Similar ThreadsPosted
using translate as a REAL end-to-end x25 to tcp gateway? February 1, 2006, 9:04 am
How do I translate ALL WebVPN messages May 2, 2006, 4:02 am
Two Gatway network (Linux gateway and pix 515E gateway) October 17, 2008, 6:12 am
efficient use of real ips February 2, 2006, 8:48 am
Cisco PIX 515: Map virtual ip to real one September 1, 2006, 4:31 pm
Show real ip in ASA5520 log November 26, 2008, 7:45 am
2 PIX Same COnfig, though 1 not connected to 'real' outside? Does not work? March 23, 2006, 10:27 am
Ideas on showing real IP address December 10, 2007, 2:03 pm
Re: IS PROTOCOL IS-IS REALY USED IN REAL WORLD? July 1, 2009, 6:32 pm
Ciscoworks syslog real-time viewer November 22, 2006, 1:55 am
real exams certification latest dumps August 3, 2007, 11:09 am
FirePlotter - real-time session monitoring for PIX/ASA September 3, 2007, 11:42 am
Is routersim good for testing router config in the real world? March 18, 2006, 11:22 am
enabling/dissabling ip multicast traffic in real time on a Cisco router using windows script July 23, 2005, 9:10 pm
Good tool for reporting real-time and trend stats for multiple VPN 3000 concentrators? November 29, 2005, 9:58 am
Residential Cabling Guide

Home Cabling Guide

Finally, an instantly downloadable book that saves you thousands in home improvement dollars! Enjoy living in 21st century technology-advanced home while increasing its selling value and competitive advantage on the real estate market. Whether your cabling is for home office or high-tech leisure, you can wire your home yourself or learn "wirish" to speak with your cabling contractors in their language!

Learn More