Editing Running Scratchbox in KVM
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 53: | Line 53: | ||
This will create a virtual virbr0 device and setup iptables forwarding rules for it. Those should be mostly fine, but you may want to check them. | This will create a virtual virbr0 device and setup iptables forwarding rules for it. Those should be mostly fine, but you may want to check them. | ||
- | Next, you'll probably want to run a DHCP server to provide an address for your virtual | + | Next, you'll probably want to run a DHCP server to provide an address for your virtual host(s). Assuming the server in the 'dhcp' package is used, add virbr0 to the served interfaces in /etc/default/dhcp, and add a subnet definition to /etc/dhcpd.conf - e.g. |
subnet 192.168.122.0 netmask 255.255.255.0 { | subnet 192.168.122.0 netmask 255.255.255.0 { | ||
range 192.168.122.2 192.168.122.254; | range 192.168.122.2 192.168.122.254; |
Learn more about Contributing to the wiki.