# Container with host network IP

**URL:** <https://forums.suse.com/t/container-with-host-network-ip/987>\
**Category:** Rancher 1.x\
**Created:** [November 17, 2015, 10:05pm UTC](https://forums.suse.com/t/container-with-host-network-ip/987 "2015-11-17T22:05:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amala](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/amala/32/448_2.png) [@Amala](https://forums.suse.com/u/Amala)\
**Post date:** [November 17, 2015, 10:05pm UTC](https://forums.suse.com/t/container-with-host-network-ip/987/1 "2015-11-17T22:05:28Z")

</div>

I am currently using docker with Pipework to assign IPs of the host network to my containers. Can this be automated with Rancher?

I want this because our gateway does custom routing based on the source IP. If I don’t have a host network IP then we cannot route properly. The alternative is to assign multiple IP’s to the host and then route them per container.

I hope I am framing my question correctly.

thanks,
