Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

DHCP

527 bytes added, 21:36, 31 May 2008
no edit summary
Instructions largely borrowed from http://oob.freeshell.org/nzwireless/dhcpd.htmlAssumes you have set up vzbr0, as described on [[Virtual Ethernet device]]
<pre>
402 vzctl create 144 --ostemplate centos-4-i386-minimal
404 vzctl start 144
405 vzyum 144 install dhcp
408 vzctl set 144 --netif_add eth0 --save
409 brctl show
412 brctl addif vzbr0 veth144.0
413 ifconfig vzbr0
414 cat /proc/sys/net/ipv4/conf/vzbr0/forwarding
415 cat /proc/sys/net/ipv4/conf/vzbr0/proxy_arp
417 echo 1 > /proc/sys/net/ipv4/conf/vzbr0/forwarding
418 echo 1 > /proc/sys/net/ipv4/conf/vzbr0/proxy_arp
</pre>
<Instructions largely borrowed from http:/pre>/oob.freeshell.org/nzwireless/dhcpd.html
== Sample DHCPD.conf
38
edits