cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1299
Views
0
Helpful
3
Replies

BSTUN Multi-point (ASYNC), where I set the destination address?

panchotait
Level 1
Level 1

Hi all!

What I want to do is, transport the serial0 and serial1 from a remote route to a local router at his local serial0 interface.

The routing mechanism is very easy, it like a RS485, incoming data at the local router is trasmited to the remote serial0 and serial1.

If some data income at the serial0 or serial1 at the remote, this data travel to the local an is printed into de local serial0

Remote Serial0 and Serial1 ends at the local Serial0. The local Serial0 starts and ends at the remote Serial0 and Serial1.

Both serials are RS-232 (is a async-protocol group)

The RS-232 protocol is UNADDRESSED

The application is a back-up serial link.

My Config is:

LOCAL R236:

bstun peer-name 192.168.33.236

bstun protocol-group 10 async-generic

interface serial0

     physical-layer async

     encapsulation bstun

     bstun group 10    

     bstun route address 20 tcp 192.168.33.237

     bstun route address 21 tcp 192.168.33.237

     asp role secondary

line 1

     speed 9600

     databits 8

     parity none

     stopbits 1

     no flowcontrol

REMOTE R237:

bstun peer-name 192.168.33.237

bstun protocol-group 10 async-generic

interface serial0

     physical-layer async

     encapsulation bstun

     bstun group 10

     bstun route address 20 tcp 192.168.33.236

     asp role primary

interface serial1

     physical-layer async

     encapsulation bstun

     bstun group 10

     bstun route address 21 tcp 192.168.33.236

     asp role primary

line 1

     speed 9600

     databits 8

     parity none

     stopbits 1

     no flowcontrol

line 2

     speed 9600

     databits 8

     parity none

     stopbits 1

     no flowcontrol

If i debug the BSTUN PACKET:

*Mar  7 02:31:18.182: %BSTUN-3-NOPEER: No peer configured to route frame with destination address 0 (bstun group 10)

At the Cisco IOS Software System Error Messages ARAP Error Messages Manual notes:

BSTUN-3-NOPEER: No peer configured to route frame with destination address

[chars] (bstun group [dec])

Explanation A BSTUN route has not been configured for the frame with a destination address.

Recommended Action If this message appears while you are debugging BSTUN, it indicates that no

specific BSTUN route has been configured for the frames being received with the device address

listed in the packet debug trace. You may choose to configure a BSTUN route, or ignore this

message.

I know that the address must be content on the frames that income at the serial port interface, I mean the router fordward the frames if this have some BYTE and the start that indicate what is address of a remote device, so i guess that this routing mechanism use that byte to select the remote router.

But If I set the address at the local and remote route, the router is not who must include his own address in the frame?

If I set a point to point link, the only way if I want to transport more that 1 link,? for now the only way is set TWO groups and set one for first link ant the other for the second. (Serial0--Group1--Serial0 and Serial1--Group2--Serial1)The router do not let me set the same group ant the same route.

So, My question is, where at the Serial interface i set the LOCAL ADDRESS for a BSTUN protocol ¿?

Best Regards

Frank

Conectia Wireless SA

3 Replies 3

paolo bevilacqua
Hall of Fame
Hall of Fame

I don't think you can use BSTUN for non Bisync, non-framed traffic.

Hi Paolo

So at both serials we must set:

  bstun route all tcp 192.168.33.236

Now how the router identify the interfases, I mean how it know what remote serial port go to what remote port.

I mean what peer connect with the other.

The only way that i found is the GROUP ID.

Now If i want to have one serial like master and other two like slaves, those slaves works at the same router.

If I set this:

The second one serials do not let me use the same address at the same group

Serial 0

     bstun group 1

     bstun route all tcp 192.168.33.236


Serial 1

     bstun group 1

     bstun route all tcp 192.168.33.236

At now i'm testing the same but using UDPTN as protocol, allmost that use UDP so it must work, the only thing is that i don't have any dispatch-character so it must transmit each char, I don't know if the dispatch-timeout can be set on 6mSeg (9600 baud timeout)

Best Regards

Frank

Now I'm testing UDPTN as transport method.

I found a little problem.

I must implement a multicast UDP transport, but the autocommand line and the UDPTN mechanism have an issue.

The route who transmit the strem :

LOCAL R236

Serial 0/1

  physical-layer async

line 2

     autocommand udptn 239.50.0.1 /transmit

REMOTE R237

Serial 0/1

  physical-layer async

line 2

     autocommand udptn 239.50.0.1 /receive

This works great, but the RS232 port is not a one way line, It must TRANSMIT and RECEIVE. Not only transmit from a local to a remote, both operation must work

So I think set-up to differents Multicast address, one for the transmiters and other for the receivers.

I Must set up the autocommand UDPTN like this:

LOCAL R236

Line 2

     autocommand UDPTN 239.50.0.1 /transmit

     autocommand UDPTN 239.50.0.2 /receive

REMOTE ROUTERS

Line X

     autocommand UDPTN 239.50.0.1 /receive

     autocommand UDPTN 239.50.0.2 /transmit

How i can set-up that autocommand ???

Best Regards

Frank

Review Cisco Networking for a $25 gift card