# DHCP from lan network (bridge)

**URL:** <https://forums.suse.com/t/dhcp-from-lan-network-bridge/330>\
**Category:** Rancher 1.x\
**Created:** [August 26, 2015, 3:05pm UTC](https://forums.suse.com/t/dhcp-from-lan-network-bridge/330 "2015-08-26T15:05:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxpao](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@maxpao](https://forums.suse.com/u/maxpao)\
**Post date:** [August 26, 2015, 3:05pm UTC](https://forums.suse.com/t/dhcp-from-lan-network-bridge/330/1 "2015-08-26T15:05:47Z")

</div>

Hello Everyone.

We are testing rancher (moving from kvm virtualization) how can i get DHCP address in a container (from the LAN DHCP server) ?. We want to move our VM definition (networking, config ,etc) from VMs in KVM --\> docker. We are DHCP reservation for some VMs and we need to kept this.

thanks in adavance

Regards.

---

<div class="post-metadata">

**Author:** ![wlan0](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/wlan0/32/49_2.png) [@wlan0](https://forums.suse.com/u/wlan0)\
**Post date:** [August 27, 2015, 12:00am UTC](https://forums.suse.com/t/dhcp-from-lan-network-bridge/330/2 "2015-08-27T00:00:14Z")

</div>

@maxpao - If I understand you correctly, you want to assign DHCP ip address to your containers, right?

To do that, start the docker daemon with the -b (bridge) option and specify the name of the lan bridge interface as the value to the -b flag.

---

<div class="post-metadata">

**Author:** ![maxpao](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@maxpao](https://forums.suse.com/u/maxpao)\
**Post date:** [August 27, 2015, 2:46pm UTC](https://forums.suse.com/t/dhcp-from-lan-network-bridge/330/3 "2015-08-27T14:46:16Z")

</div>

Hello, thanks, but… mmm. Can i do this from the web interface? if not, the is any plugin like socketplane (supported?) o other SDN that can I configure in the rancher web interface?

thanks  
Regards.
