I think DCP is layer 2 traffic which is not routable. You need openvp tap for that but that is more complicated to setup. RFC1006 is iso-tp4 over tcp IIRC and has nothing to do with DCP.
As the user michiel mentions, Layer 2 traffic isn’t routable. Therefore you’d have to setup OpenVPN via TAP. We do have a configuration example available, which I’ll link below:
These two examples should allow you to set everything up.
I would not be surprised if wifi doesn’t work either for that, haven’t tried that myself. It may depend on what sort of wifi…
Do yourself a favour and do configuring and detection of Siemens profinet stuff locally at a wired or bridged connection. You probably don’t want profinet-io over wifi But you can up/download & monitor over ip (routable = tun).
Sry, it’s.. a bit complicated. But try tun and let us know.
Hello,
Thank you very much.
So uploading/downloading works via the TUN.
I have one more question: would it be theoretically possible to use different subnets between side A and side B with a TAP connection? Or does it have to be the same subnet?
I beg to differ: tap is indeed bridging networks which is a layer2. Subnets are layer3 routing concept which runs on top of a (bridged ) layer 2. So onm a bridged connection (tap) you are free to route whatever subnet you want. Assuming your bandwidth is sufficient to deal with all layer2 comms, broadcast and all that jazz.
Please correct me if I’m wrong. Or just try and let us know!
My plan would then be (if it were theoretically possible) as follows: Locally, a VPN server (192.168.150.0/24) to which the RUT956 connects via a TAP tunnel and then, on the Teltonika, make the LAN (192.168.2.0/24) available to the server. But I don’t think DCP will work then either, since the routing is Layer 3 again, right?
Correct me if I’m wrong.