# Would it be a problem to connect 10.1 to 192.0?

**URL:** <https://discourse.nodered.org/t/would-it-be-a-problem-to-connect-10-1-to-192-0/70044>\
**Category:** General\
**Created:** [3 November 2022 16:04 UTC](https://discourse.nodered.org/t/would-it-be-a-problem-to-connect-10-1-to-192-0/70044 "2022-11-03T16:04:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zmarcoz1](https://avatars.discourse-cdn.com/v4/letter/z/6a8cbe/32.png) [@zmarcoz1](https://discourse.nodered.org/u/zmarcoz1)\
**Post date:** [3 November 2022 16:04 UTC](https://discourse.nodered.org/t/would-it-be-a-problem-to-connect-10-1-to-192-0/70044/1 "2022-11-03T16:04:47Z")

</div>

New to NodeRed. I am following a Youtube video to use NodeRed on RaspberryPi to talk to a Allen Bradley PLC. My PLC ip is 192.0.x.x. My raspberrypi ip address is 10.1.x.x. Would it be OK to communicate between those two ip addresses via NodeRed?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [3 November 2022 16:14 UTC](https://discourse.nodered.org/t/would-it-be-a-problem-to-connect-10-1-to-192-0/70044/2 "2022-11-03T16:14:59Z")

</div>

That should work - if you define a (static) route on the default gateway, both devices have a default gateway set where traffic should be send if the destination is not on the same lan segment.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [3 November 2022 16:15 UTC](https://discourse.nodered.org/t/would-it-be-a-problem-to-connect-10-1-to-192-0/70044/3 "2022-11-03T16:15:27Z")

</div>

If there is routing between the two OR your PI is multi-homed, then sure.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [3 November 2022 16:20 UTC](https://discourse.nodered.org/t/would-it-be-a-problem-to-connect-10-1-to-192-0/70044/4 "2022-11-03T16:20:47Z")

</div>

> [@zmarcoz1](#):
>
> My PLC ip is 192.0.x.x. My raspberrypi ip address is 10.1.x.x.

How are the two networks connected?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 January 2023 16:21 UTC](https://discourse.nodered.org/t/would-it-be-a-problem-to-connect-10-1-to-192-0/70044/5 "2023-01-02T16:21:00Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
