Send both CAN channels to same port

CAN to LAN gateway in DIN rail plastic casing
Post Reply
PatrickS
Posts: 9
Joined: Mon 10. Jan 2022, 15:58

Send both CAN channels to same port

Post by PatrickS » Mon 10. Jan 2022, 16:19

Dear PEAK team,

we have a PCAN-Ethernet Gateway FD DR, which is communicating with a Linux application via UDP sockets. So far everything was working fine, but now we tried to send both CAN channels of the same gateway to the same IP address and port number (we are able to separate the CAN channels via the information in the payload). Thus we tried to define 2 routes (1 for each CAN channel), with the same IP and port.

However there is an error, which prevents such configurations:
An error has occurred: This route cannot be created. The combination of IP address, port number, and protocol is already in use. Please select another port number.

Is there any kind of configuration or workaround available, which allows us to send both channels to the same IP and port?

Thank you
Patrick

S.Michaelsen
Hardware Development
Hardware Development
Posts: 87
Joined: Fri 10. Sep 2010, 13:11

Re: Send both CAN channels to same port

Post by S.Michaelsen » Tue 11. Jan 2022, 07:16

Hi Patrick,

no, it is not intended to be able to create two routes one one gateway with the same IP address and port.


Best Regards,
Stephan

PatrickS
Posts: 9
Joined: Mon 10. Jan 2022, 15:58

Re: Send both CAN channels to same port

Post by PatrickS » Wed 12. Jan 2022, 12:17

Hi Stephan,

what a pity. But thanks for the quick clarification.

Best regards
Patrick

Post Reply