# Adding CNI plugins to Rancher

**URL:** <https://forums.suse.com/t/adding-cni-plugins-to-rancher/5379>\
**Category:** Rancher 1.x\
**Created:** [February 1, 2017, 11:44am UTC](https://forums.suse.com/t/adding-cni-plugins-to-rancher/5379 "2017-02-01T11:44:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Andrey](https://forums.suse.com/u/Andrey)\
**Post date:** [February 1, 2017, 11:44am UTC](https://forums.suse.com/t/adding-cni-plugins-to-rancher/5379/1 "2017-02-01T11:44:34Z")

</div>

Hi,

I’d like to try macvlan networking with Rancher. But I don’t know how to add and configure the corresponding plugin. I cannot find any documentation on the topic.

Please advice, if possible.

Thanks,  
–Andrey

---

<div class="post-metadata">

**Author:** ![leodotcloud](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/leodotcloud/32/3103_2.png) [@leodotcloud](https://forums.suse.com/u/leodotcloud)\
**Post date:** [February 1, 2017, 8:43pm UTC](https://forums.suse.com/t/adding-cni-plugins-to-rancher/5379/2 "2017-02-01T20:43:28Z")

</div>

Hi @Andrey, currently Rancher supports IPsec and VXLAN networking plugins and these plugins take care of overlay networking across different hosts. To get a network driver using MACVLAN, one would have to take care of the cross host networking, IPAM, etc.

Can you please elaborate on your needs so that I can assist you better?

---

<div class="post-metadata">

**Author:** ![Andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Andrey](https://forums.suse.com/u/Andrey)\
**Post date:** [February 6, 2017, 2:30pm UTC](https://forums.suse.com/t/adding-cni-plugins-to-rancher/5379/3 "2017-02-06T14:30:04Z")

</div>

Hi @leodotcloud,

Thank you for your response. I needed to enable restarting containers (e.g. after host or OS crash) with same IP addresses, so that they could still be reached from non-containerized applications (pre-configured to access containerized servers by particular IPs).

But seems that it’s easier to solve this problem by using symbolic address (not IPs) and Mesos DNS to resolve the names.
