# Getting ONOS controller container to communicate with BMV2 mn container

**URL:** <https://forum.p4.org/t/getting-onos-controller-container-to-communicate-with-bmv2-mn-container/721>\
**Category:** Getting Started with P4\
**Created:** [April 5, 2023, 10:36am UTC](https://forum.p4.org/t/getting-onos-controller-container-to-communicate-with-bmv2-mn-container/721 "2023-04-05T10:36:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![urib](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.p4.org/urib/32/191_2.png) [@urib](https://forum.p4.org/u/urib)\
**Post date:** [April 5, 2023, 10:36am UTC](https://forum.p4.org/t/getting-onos-controller-container-to-communicate-with-bmv2-mn-container/721/1 "2023-04-05T10:36:21Z")

</div>

Greetings,

I am trying to connect containerized onos controller to the mn-stratum BMV2 container and am confused about how the switch and controller make the first connection, (I did the EX3 of NG-SDN Tutorial which works but I want use containerized switch and controller for my experiment) but I hope this is not a stupid question. I would appreciate help in understanding how to do that.

secondly, in the NG-SDN tutorial a netconfig was push to the controller, how can I make the netconfig file if I want set off a different topology other than the 3 switches topology used in the tutorial. did I miss that part in the tutorial.

best regards

---

<div class="post-metadata">

**Author:** ![DavideS](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.p4.org/davides/32/120_2.png) [@DavideS](https://forum.p4.org/u/DavideS)\
**Post date:** [April 5, 2023, 12:38pm UTC](https://forum.p4.org/t/getting-onos-controller-container-to-communicate-with-bmv2-mn-container/721/2 "2023-04-05T12:38:33Z")

</div>

Here the reply [getting ONOS controller container to communicate with mininet container · Issue #1098 · stratum/stratum · GitHub](https://github.com/stratum/stratum/issues/1098)

---

<div class="post-metadata">

**Author:** ![urib](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.p4.org/urib/32/191_2.png) [@urib](https://forum.p4.org/u/urib)\
**Post date:** [April 5, 2023, 1:05pm UTC](https://forum.p4.org/t/getting-onos-controller-container-to-communicate-with-bmv2-mn-container/721/3 "2023-04-05T13:05:51Z")

</div>

thank you for the clarification
