www.beck-ipc.com
www.beck-ipc.comwww.beck-ipc.com  | ImprintImprint
FAQFAQ  | SearchSearch  |
  |LoginLogin

Beck SC143 RTOS 1.60 mystery LAN broadcasting

Questions and discussions about the operating system RTOS and the corresponding C-LIB.
Hello,

We're using Beck cpus in our hardware.
RTOS ver. 1.60 on Beck SC143 with IEC61850. Two lan ports were used.

Our client noticed excessive network traffic where working 6x Becks:

MAC -- IP
00:30:56:xx:xx:07 -- 172.27.227.131 (Beck 1)
00:30:56:xx:xx:10 -- 172.27.227.135 (Beck 2)
00:30:56:xx:xx:39 -- 172.27.227.133 (Beck 3)
00:30:56:xx:xx:4a -- 172.27.227.132 (Beck 4)
00:30:56:xx:xx:57 -- 172.27.227.134 (Beck 5)
00:30:56:xx:xx:61 -- 172.27.227.165 (Beck 6)


Red lines on chart above mean traffic overloads.

Image

Of course we tried to disconnect suspect Beck devices and traffic went to normal state.


I've attached Wireshark's log. Please look frame at:

1) 9.566243 first frame is standard broadcast frame from Dropbox IP 172.27.227.202 - it's ok

Image


2) 9.5709958 to 14.387733 same IP (cloned) but mac address is beck's 00:30:56:xx:xx:61.

Image




There's more like this, please see the logs.

It looks that every Beck clones some broadcast frames in the network. It's very strange behavior.


I found some interesting settings here:

https://www.beck-ipc.com/api_files/scxx ... /tcp7F.htm

TCPIP_IP_DBCAST_FORWARD 14
A boolean (0 or 1) to enable directed broadcast forwarding. Default: 1

What that means?

Help me please, thanks in advance.

Best regards.

Hello,

looks to me like you have connected both Ethernet interfaces to the same LAN and have enabled the CHIP.INI [IP] FORWARDING option.
(Please note that IP forwarding is enabled by default, if nothing is set in the CHIP.INI.)

Is this the case?

Regards,
André Pribil
Software Development
Beck IPC GmbH

CHIP.INI

[DEVICE]
NAME=xxx

[IP]
DHCP=0
ADDRESS=172.168.1.163
NETMASK=255.255.255.0
GATEWAY=172.168.1.254
TCP_PRIO=10
ETH_PRIO=9

[UDPCFG]
PRIO=4

[SERIAL]
SER2_RECVQUEUE=4096
SER2_SENDQUEUE=4096

[FTP]
CONNECTIONS=2
USER1=xxx
PASSWORD1=xxx
DRIVE1=0
ROOTDIR1=\
USER0=xxx
PASSWORD0=xxx
DRIVE0=0
ROOTDIR0=\

[TELNET]
USER1=xxx
PASSWORD1=xxx
USER0=xxx
PASSWORD0=xxx

[NTP]
NTP0=212.244.36.227
NTP1=212.244.36.228
NTP2=80.50.231.226
NTP3=217.96.29.26

[CLOCK]
NTP_PERIOD=600
NTP_TIMEZONE=0
DST=0
NTP_LOST_SYN=2000

[BATCH]
BATCHMODE=1

[UDP_VISUAL]
UDP_PORT1=12185
UDP_PORT2=12185
PASSWORD=xxx

[IEC103]
ADR1=1
BAUD1=9600
ANALOG1=1
ADR2=1
BAUD2=9600
ANALOG2=1

[IEC61850]
IEDNAME=A29

[GENERAL]
SET1=9
MVIDIF=5
USE_LOG=1

[IP_ETH1]
DHCP=0
NETMASK0=255.255.255.0
ADDRESS0=192.168.1.163



AUTOEXEC.BAT

eth1 192.168.1.163 255.255.255.0 192.168.1.254
MY_PROG

Hello,

okay, so IP forwarding is enabled in your case.
Do you have connected both Ethernet interfaces to the same LAN (switch)?
This would explain what you have reported.

Regards,
André Pribil
Software Development
Beck IPC GmbH

Return to RTOS


Who is online

Users browsing this forum: No registered users and 8 guests


cron