kea-dhcp4
This commit is contained in:
		
							
								
								
									
										13
									
								
								kea-dhcp-ha/Vagrantfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								kea-dhcp-ha/Vagrantfile
									
									
									
									
										vendored
									
									
								
							@@ -63,5 +63,18 @@ Vagrant.configure("2") do |config|
 | 
				
			|||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # client DHCP .
 | 
				
			||||||
 | 
					  config.vm.define "cli" do |cli|
 | 
				
			||||||
 | 
					    cli.vm.hostname = "cli"
 | 
				
			||||||
 | 
					    #cli.vm.network :private_network, ip: "192.168.56.3"
 | 
				
			||||||
 | 
					    cli.vm.network :private_network, type: "dhcp"
 | 
				
			||||||
 | 
					    cli.vm.provider :virtualbox do |v|
 | 
				
			||||||
 | 
					      v.customize ["modifyvm", :id, "--memory", 512]
 | 
				
			||||||
 | 
					    end
 | 
				
			||||||
 | 
					    cli.vm.provision "shell",
 | 
				
			||||||
 | 
					      inline: "sudo apt-get update ; sudo apt-get install -y vim curl wget"
 | 
				
			||||||
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -359,6 +359,7 @@
 | 
				
			|||||||
            // subnet in your network. This is mandatory parameter for each
 | 
					            // subnet in your network. This is mandatory parameter for each
 | 
				
			||||||
            // subnet.
 | 
					            // subnet.
 | 
				
			||||||
            "subnet": "192.168.56.0/24",
 | 
					            "subnet": "192.168.56.0/24",
 | 
				
			||||||
 | 
						    "interface" : "eth1", 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // Pools define the actual part of your subnet that is governed
 | 
					            // Pools define the actual part of your subnet that is governed
 | 
				
			||||||
            // by Kea. Technically this is optional parameter, but it's
 | 
					            // by Kea. Technically this is optional parameter, but it's
 | 
				
			||||||
@@ -400,7 +401,7 @@
 | 
				
			|||||||
                // else.
 | 
					                // else.
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    "hw-address": "1a:1b:1c:1d:1e:1f",
 | 
					                    "hw-address": "1a:1b:1c:1d:1e:1f",
 | 
				
			||||||
                    "ip-address": "192.0.2.201"
 | 
					                    "ip-address": "192.168.56.201"
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                // This is a reservation for a specific client-id. It also shows
 | 
					                // This is a reservation for a specific client-id. It also shows
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user