diff --git a/cmd/minikube/cmd/start_flags.go b/cmd/minikube/cmd/start_flags.go index 473816fdee..95c1ad331e 100644 --- a/cmd/minikube/cmd/start_flags.go +++ b/cmd/minikube/cmd/start_flags.go @@ -205,7 +205,7 @@ func initDriverFlags() { startCmd.Flags().Int(kvmNUMACount, 1, "Simulate numa node count in minikube, supported numa node count range is 1-8 (kvm2 driver only)") // virtualbox - startCmd.Flags().String(hostOnlyCIDR, "192.168.99.1/24", "The CIDR to be used for the minikube VM (virtualbox driver only)") + startCmd.Flags().String(hostOnlyCIDR, "192.168.59.1/24", "The CIDR to be used for the minikube VM (virtualbox driver only)") startCmd.Flags().Bool(dnsProxy, false, "Enable proxy for NAT DNS requests (virtualbox driver only)") startCmd.Flags().Bool(hostDNSResolver, true, "Enable host resolver for NAT DNS requests (virtualbox driver only)") startCmd.Flags().Bool(noVTXCheck, false, "Disable checking for the availability of hardware virtualization before the vm is started (virtualbox driver only)") diff --git a/pkg/minikube/config/profile_test.go b/pkg/minikube/config/profile_test.go index 4b79487228..a31600337d 100644 --- a/pkg/minikube/config/profile_test.go +++ b/pkg/minikube/config/profile_test.go @@ -280,7 +280,7 @@ func TestGetPrimaryControlPlane(t *testing.T) { expectedName string }{ {"old style", "p1", "192.168.64.75", 8443, "minikube"}, - {"new style", "p2_newformat", "192.168.99.136", 8443, "m01"}, + {"new style", "p2_newformat", "192.168.59.136", 8443, "m01"}, } for _, tc := range tests { diff --git a/pkg/minikube/config/testdata/.minikube/profiles/p1/config.json b/pkg/minikube/config/testdata/.minikube/profiles/p1/config.json index c4214bf442..b563e38c3b 100644 --- a/pkg/minikube/config/testdata/.minikube/profiles/p1/config.json +++ b/pkg/minikube/config/testdata/.minikube/profiles/p1/config.json @@ -13,7 +13,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -47,4 +47,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/.minikube/profiles/p2_newformat/config.json b/pkg/minikube/config/testdata/.minikube/profiles/p2_newformat/config.json index 2c0e986c36..5d9f13bc07 100644 --- a/pkg/minikube/config/testdata/.minikube/profiles/p2_newformat/config.json +++ b/pkg/minikube/config/testdata/.minikube/profiles/p2_newformat/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,11 +46,11 @@ "Nodes": [ { "Name": "m01", - "IP": "192.168.99.136", + "IP": "192.168.59.136", "Port": 8443, "KubernetesVersion": "v1.15.0", "ControlPlane": true, "Worker": true } ] -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/.minikube/profiles/p5_partial_config/config.json b/pkg/minikube/config/testdata/.minikube/profiles/p5_partial_config/config.json index a99c56efe8..58b037cbaa 100644 --- a/pkg/minikube/config/testdata/.minikube/profiles/p5_partial_config/config.json +++ b/pkg/minikube/config/testdata/.minikube/profiles/p5_partial_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -44,4 +44,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p1/config.json b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p1/config.json index 6c826ebfc6..fc8753225c 100644 --- a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p1/config.json +++ b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p1/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p4_partial_profile_config/config.json b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p4_partial_profile_config/config.json index a99c56efe8..58b037cbaa 100644 --- a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p4_partial_profile_config/config.json +++ b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p4_partial_profile_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -44,4 +44,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p5_missing_machine_config/config.json b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p5_missing_machine_config/config.json index 6680e4b784..824a77dc75 100644 --- a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p5_missing_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p5_missing_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p6_empty_machine_config/config.json b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p6_empty_machine_config/config.json index 2bab758640..2f7228f639 100644 --- a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p6_empty_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p6_empty_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p7_invalid_machine_config/config.json b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p7_invalid_machine_config/config.json index d56f53688d..98f9f98f0a 100644 --- a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p7_invalid_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p7_invalid_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p8_partial_machine_config/config.json b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p8_partial_machine_config/config.json index 26324fc366..f371911c14 100644 --- a/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p8_partial_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-all/.minikube/profiles/p8_partial_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", diff --git a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p1/config.json b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p1/config.json index 6c826ebfc6..fc8753225c 100644 --- a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p1/config.json +++ b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p1/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p4_partial_profile_config/config.json b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p4_partial_profile_config/config.json index a99c56efe8..58b037cbaa 100644 --- a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p4_partial_profile_config/config.json +++ b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p4_partial_profile_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -44,4 +44,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p5_missing_machine_config/config.json b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p5_missing_machine_config/config.json index 6680e4b784..824a77dc75 100644 --- a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p5_missing_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p5_missing_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p6_empty_machine_config/config.json b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p6_empty_machine_config/config.json index 2bab758640..2f7228f639 100644 --- a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p6_empty_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p6_empty_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p7_invalid_machine_config/config.json b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p7_invalid_machine_config/config.json index d56f53688d..98f9f98f0a 100644 --- a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p7_invalid_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p7_invalid_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p8_partial_machine_config/config.json b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p8_partial_machine_config/config.json index 26324fc366..f371911c14 100644 --- a/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p8_partial_machine_config/config.json +++ b/pkg/minikube/config/testdata/delete-single/.minikube/profiles/p8_partial_machine_config/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", diff --git a/pkg/minikube/config/testdata/profile/.minikube/profiles/p1/config.json b/pkg/minikube/config/testdata/profile/.minikube/profiles/p1/config.json index a48578f8ee..b190aeb44a 100644 --- a/pkg/minikube/config/testdata/profile/.minikube/profiles/p1/config.json +++ b/pkg/minikube/config/testdata/profile/.minikube/profiles/p1/config.json @@ -13,7 +13,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -46,4 +46,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/profile/.minikube/profiles/p2_newformat/config.json b/pkg/minikube/config/testdata/profile/.minikube/profiles/p2_newformat/config.json index b29f9295d7..8c96ffeabc 100644 --- a/pkg/minikube/config/testdata/profile/.minikube/profiles/p2_newformat/config.json +++ b/pkg/minikube/config/testdata/profile/.minikube/profiles/p2_newformat/config.json @@ -12,7 +12,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -45,11 +45,11 @@ "Nodes": [ { "Name": "m01", - "IP": "192.168.99.136", + "IP": "192.168.59.136", "Port": 8443, "KubernetesVersion": "v1.15.0", "ControlPlane": true, "Worker": true } ] -} \ No newline at end of file +} diff --git a/pkg/minikube/config/testdata/profile/.minikube/profiles/p5_partial_config/config.json b/pkg/minikube/config/testdata/profile/.minikube/profiles/p5_partial_config/config.json index 1ad106caec..a51a82c0dc 100644 --- a/pkg/minikube/config/testdata/profile/.minikube/profiles/p5_partial_config/config.json +++ b/pkg/minikube/config/testdata/profile/.minikube/profiles/p5_partial_config/config.json @@ -11,7 +11,7 @@ "DockerEnv": null, "InsecureRegistry": null, "RegistryMirror": null, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HypervVirtualSwitch": "", "KVMNetwork": "default", "KVMQemuURI": "qemu:///system", @@ -42,4 +42,4 @@ "ShouldLoadCachedImages": true, "EnableDefaultCNI": false } -} \ No newline at end of file +} diff --git a/pkg/minikube/kubeconfig/kubeconfig_test.go b/pkg/minikube/kubeconfig/kubeconfig_test.go index 0ee7095dd3..add06fd4f9 100644 --- a/pkg/minikube/kubeconfig/kubeconfig_test.go +++ b/pkg/minikube/kubeconfig/kubeconfig_test.go @@ -559,7 +559,7 @@ func minikubeConfig(config *api.Config) { // cluster clusterName := "minikube" cluster := api.NewCluster() - cluster.Server = "https://192.168.99.100:" + strconv.Itoa(constants.APIServerPort) + cluster.Server = "https://192.168.59.100:" + strconv.Itoa(constants.APIServerPort) cluster.CertificateAuthority = "/home/tux/.minikube/apiserver.crt" config.Clusters[clusterName] = cluster diff --git a/pkg/minikube/machine/client_test.go b/pkg/minikube/machine/client_test.go index cb9091fb51..1d0d1d831b 100644 --- a/pkg/minikube/machine/client_test.go +++ b/pkg/minikube/machine/client_test.go @@ -32,7 +32,7 @@ import ( const vboxConfig = ` { - "IPAddress": "192.168.99.101", + "IPAddress": "192.168.59.101", "MachineName": "minikube", "SSHUser": "docker", "SSHPort": 33627, @@ -50,7 +50,7 @@ const vboxConfig = ` "Boot2DockerURL": "file:///home/sundarp/.minikube/cache/iso/minikube-v1.0.6.iso", "Boot2DockerImportVM": "", "HostDNSResolver": false, - "HostOnlyCIDR": "192.168.99.1/24", + "HostOnlyCIDR": "192.168.59.1/24", "HostOnlyNicType": "82540EM", "HostOnlyPromiscMode": "deny", "UIType": "headless", diff --git a/pkg/minikube/service/service_test.go b/pkg/minikube/service/service_test.go index 5f79facee1..cf6fa7d30c 100644 --- a/pkg/minikube/service/service_test.go +++ b/pkg/minikube/service/service_test.go @@ -364,9 +364,9 @@ func TestOptionallyHttpsFormattedUrlString(t *testing.T) { }{ { description: "no https for http schemed with no https option", - bareURLString: "http://192.168.99.100:30563", + bareURLString: "http://192.168.59.100:30563", https: false, - expectedHTTPSFormattedURLString: "http://192.168.99.100:30563", + expectedHTTPSFormattedURLString: "http://192.168.59.100:30563", expectedIsHTTPSchemedURL: true, }, { @@ -378,9 +378,9 @@ func TestOptionallyHttpsFormattedUrlString(t *testing.T) { }, { description: "https for http schemed with https option", - bareURLString: "http://192.168.99.100:30563", + bareURLString: "http://192.168.59.100:30563", https: true, - expectedHTTPSFormattedURLString: "https://192.168.99.100:30563", + expectedHTTPSFormattedURLString: "https://192.168.59.100:30563", expectedIsHTTPSchemedURL: true, }, { @@ -568,7 +568,7 @@ func TestGetCoreClient(t *testing.T) { mockK8sConfig := `apiVersion: v1 clusters: - cluster: - server: https://192.168.99.102:8443 + server: https://192.168.59.102:8443 name: minikube contexts: - context: diff --git a/pkg/minikube/tunnel/route_windows_test.go b/pkg/minikube/tunnel/route_windows_test.go index 10e99d5a71..89c9b11fa7 100644 --- a/pkg/minikube/tunnel/route_windows_test.go +++ b/pkg/minikube/tunnel/route_windows_test.go @@ -119,18 +119,18 @@ Network Destination Netmask Gateway Interface Metric 192.168.56.0 255.255.255.0 On-link 192.168.56.1 281 192.168.56.1 255.255.255.255 On-link 192.168.56.1 281 192.168.56.255 255.255.255.255 On-link 192.168.56.1 281 - 192.168.99.0 255.255.255.0 On-link 192.168.99.1 281 - 192.168.99.1 255.255.255.255 On-link 192.168.99.1 281 + 192.168.59.0 255.255.255.0 On-link 192.168.59.1 281 + 192.168.59.1 255.255.255.255 On-link 192.168.59.1 281 10.211.55.0 255.255.255.0 192.168.1.2 10.211.55.3 281 - 192.168.99.255 255.255.255.255 On-link 192.168.99.1 281 + 192.168.59.255 255.255.255.255 On-link 192.168.59.1 281 224.0.0.0 240.0.0.0 On-link 127.0.0.1 331 224.0.0.0 240.0.0.0 On-link 10.211.55.3 281 224.0.0.0 240.0.0.0 On-link 192.168.56.1 281 - 224.0.0.0 240.0.0.0 On-link 192.168.99.1 281 + 224.0.0.0 240.0.0.0 On-link 192.168.59.1 281 255.255.255.255 255.255.255.255 On-link 127.0.0.1 331 255.255.255.255 255.255.255.255 On-link 10.211.55.3 281 255.255.255.255 255.255.255.255 On-link 192.168.56.1 281 - 255.255.255.255 255.255.255.255 On-link 192.168.99.1 281 + 255.255.255.255 255.255.255.255 On-link 192.168.59.1 281 =========================================================================== Persistent Routes: None` diff --git a/pkg/util/crypto_test.go b/pkg/util/crypto_test.go index d8773778d3..e285bc8363 100644 --- a/pkg/util/crypto_test.go +++ b/pkg/util/crypto_test.go @@ -94,7 +94,7 @@ func TestGenerateSignedCert(t *testing.T) { certPath := filepath.Join(tmpDir, "cert") keyPath := filepath.Join(tmpDir, "key") - ips := []net.IP{net.ParseIP("192.168.99.100"), net.ParseIP("10.0.0.10")} + ips := []net.IP{net.ParseIP("192.168.59.100"), net.ParseIP("10.0.0.10")} alternateDNS := []string{"kubernetes.default.svc.cluster.local", "kubernetes.default"} var tests = []struct { diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md index fdf64a0c61..4a9349c675 100644 --- a/site/content/en/docs/commands/start.md +++ b/site/content/en/docs/commands/start.md @@ -54,7 +54,7 @@ minikube start [flags] --force Force minikube to perform possibly dangerous operations --force-systemd If set, force the container runtime to use systemd as cgroup manager. Defaults to false. --host-dns-resolver Enable host resolver for NAT DNS requests (virtualbox driver only) (default true) - --host-only-cidr string The CIDR to be used for the minikube VM (virtualbox driver only) (default "192.168.99.1/24") + --host-only-cidr string The CIDR to be used for the minikube VM (virtualbox driver only) (default "192.168.59.1/24") --host-only-nic-type string NIC Type used for host only network. One of Am79C970A, Am79C973, 82540EM, 82543GC, 82545EM, or virtio (virtualbox driver only) (default "virtio") --hyperkit-vpnkit-sock string Location of the VPNKit socket used for networking. If empty, disables Hyperkit VPNKitSock, if 'auto' uses Docker for Mac VPNKit connection, otherwise uses the specified VSock (hyperkit driver only) --hyperkit-vsock-ports strings List of guest VSock ports that should be exposed as sockets on the host (hyperkit driver only) diff --git a/site/content/en/docs/drivers/virtualbox.md b/site/content/en/docs/drivers/virtualbox.md index b9158788ad..0e84f58c60 100644 --- a/site/content/en/docs/drivers/virtualbox.md +++ b/site/content/en/docs/drivers/virtualbox.md @@ -15,7 +15,8 @@ VirtualBox is minikube's original driver. It may not provide the fastest start-u minikube start supports some VirtualBox specific flags: -* **`--host-only-cidr`**: The CIDR to be used for the minikube VM (default "192.168.99.1/24") +* **`--host-only-cidr`**: The CIDR to be used for the minikube VM (default "192.168.59.1/24") + * On Linux, Mac OS X and Oracle Solaris with VirtualBox >= 6.1.28, [only IP addresses in the 192.68.56.0/21 range are allowed for host-only networking by default](https://www.virtualbox.org/manual/ch06.html#network_hostonly). Passing a disallowed value to `--host-only-cidr` will result in a VirtualBox access denied error: `VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)`. * **`--no-vtx-check`**: Disable checking for the availability of hardware virtualization ## Issues diff --git a/site/content/en/docs/handbook/vpn_and_proxy.md b/site/content/en/docs/handbook/vpn_and_proxy.md index 5b92601853..44e938c167 100644 --- a/site/content/en/docs/handbook/vpn_and_proxy.md +++ b/site/content/en/docs/handbook/vpn_and_proxy.md @@ -20,7 +20,7 @@ If a HTTP proxy is required to access the internet, you may need to pass the pro The NO_PROXY variable here is important: Without setting it, minikube may not be able to access resources within the VM. minikube uses two IP ranges, which should not go through the proxy: -* **192.168.99.0/24**: Used by the minikube VM. Configurable for some hypervisors via `--host-only-cidr` +* **192.168.59.0/24**: Used by the minikube VM. Configurable for some hypervisors via `--host-only-cidr` * **192.168.39.0/24**: Used by the minikube kvm2 driver. * **192.168.49.0/24**: Used by the minikube docker driver's first cluster. * **10.96.0.0/12**: Used by service cluster IP's. Configurable via `--service-cluster-ip-range` @@ -34,7 +34,7 @@ One important note: If NO_PROXY is required by non-Kubernetes applications, such ```shell export HTTP_PROXY=http:// export HTTPS_PROXY=https:// -export NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24 +export NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.59.0/24,192.168.39.0/24 minikube start ``` @@ -46,7 +46,7 @@ To make the exported variables permanent, consider adding the declarations to ~/ ```shell set HTTP_PROXY=http:// set HTTPS_PROXY=https:// -set NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24 +set NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.59.0/24,192.168.39.0/24 minikube start ``` @@ -107,7 +107,7 @@ The supplied value of `HTTPS_PROXY` is probably incorrect. Verify that this valu minikube requires access from the host to the following IP ranges: -* **192.168.99.0/24**: Used by the minikube VM. Configurable for some hypervisors via `--host-only-cidr` +* **192.168.59.0/24**: Used by the minikube VM. Configurable for some hypervisors via `--host-only-cidr` * **192.168.39.0/24**: Used by the minikube kvm2 driver. * **10.96.0.0/12**: Used by service cluster IP's. Configurable via `--service-cluster-ip-range`