Skip to content

Instantly share code, notes, and snippets.

@routelastresort
Created August 15, 2013 09:45
Show Gist options
  • Save routelastresort/6239650 to your computer and use it in GitHub Desktop.
Save routelastresort/6239650 to your computer and use it in GitHub Desktop.
git diff: vmnet11 added w/o dhcpd or host networking
diff --git a/netmap.conf b/netmap.conf
index 5966798..ed43cbf 100644
--- a/netmap.conf
+++ b/netmap.conf
@@ -1,8 +1,9 @@
-# This file is automatically generated.
+#This file is automatically generated.
# Hand-editing this file is not recommended.
+
network0.name = "Bridged"
network0.device = "vmnet0"
network1.name = "HostOnly"
network1.device = "vmnet1"
-network8.name = "NAT"
-network8.device = "vmnet8"
+network2.name = "NAT"
+network2.device = "vmnet8"
diff --git a/networking b/networking
index 64e76f7..72611fa 100644
--- a/networking
+++ b/networking
@@ -1,11 +1,13 @@
VERSION=1,0
+answer VNET_11_HOSTONLY_NETMASK 255.255.255.0
+answer VNET_11_HOSTONLY_SUBNET 192.168.171.0
answer VNET_1_DHCP yes
-answer VNET_1_DHCP_CFG_HASH 7148000C89F805130749C85FFC880EB1A262E07F
+answer VNET_1_DHCP_CFG_HASH 4912E544FB5DB1E79F2C48EA3186EE135FAA5A5F
answer VNET_1_HOSTONLY_NETMASK 255.255.255.0
answer VNET_1_HOSTONLY_SUBNET 192.168.69.0
answer VNET_1_VIRTUAL_ADAPTER yes
answer VNET_8_DHCP yes
-answer VNET_8_DHCP_CFG_HASH DA93CFBE2DF376C860D83C78B1E832DC5B5E4518
+answer VNET_8_DHCP_CFG_HASH 3A5941B443C5124FEA1CBF192882BEC2578F87AE
answer VNET_8_HOSTONLY_NETMASK 255.255.255.0
answer VNET_8_HOSTONLY_SUBNET 172.16.115.0
answer VNET_8_NAT yes
diff --git a/vmnet1/dhcpd/dhcpd.conf b/vmnet1/dhcpd/dhcpd.conf
index 3b8aa25..d3f215a 100644
--- a/vmnet1/dhcpd/dhcpd.conf
+++ b/vmnet1/dhcpd/dhcpd.conf
@@ -18,7 +18,7 @@
# This file will get backed up with a different name in the same directory
# if this section is edited and you try to configure DHCP again.
-# Written at: 08/15/2013 02:04:13
+# Written at: 08/15/2013 02:39:44
allow unknown-clients;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
diff --git a/vmnet1/dhcpd/dhcpd.conf.bak b/vmnet1/dhcpd/dhcpd.conf.bak
index 6e79f2e..3b8aa25 100644
--- a/vmnet1/dhcpd/dhcpd.conf.bak
+++ b/vmnet1/dhcpd/dhcpd.conf.bak
@@ -18,22 +18,22 @@
# This file will get backed up with a different name in the same directory
# if this section is edited and you try to configure DHCP again.
-# Written at: 08/15/2013 01:59:33
+# Written at: 08/15/2013 02:04:13
allow unknown-clients;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
-subnet 192.168.125.0 netmask 255.255.255.0 {
- range 192.168.125.128 192.168.125.254;
- option broadcast-address 192.168.125.255;
- option domain-name-servers 192.168.125.1;
+subnet 192.168.69.0 netmask 255.255.255.0 {
+ range 192.168.69.128 192.168.69.254;
+ option broadcast-address 192.168.69.255;
+ option domain-name-servers 192.168.69.1;
option domain-name localdomain;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
}
host vmnet1 {
hardware ethernet 00:50:56:C0:00:01;
- fixed-address 192.168.125.1;
+ fixed-address 192.168.69.1;
option domain-name-servers 0.0.0.0;
option domain-name "";
}
diff --git a/vmnet8/dhcpd/dhcpd.conf b/vmnet8/dhcpd/dhcpd.conf
index dc9d89d..4850df2 100644
--- a/vmnet8/dhcpd/dhcpd.conf
+++ b/vmnet8/dhcpd/dhcpd.conf
@@ -18,7 +18,7 @@
# This file will get backed up with a different name in the same directory
# if this section is edited and you try to configure DHCP again.
-# Written at: 08/15/2013 02:04:13
+# Written at: 08/15/2013 02:39:44
allow unknown-clients;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
diff --git a/vmnet8/dhcpd/dhcpd.conf.bak b/vmnet8/dhcpd/dhcpd.conf.bak
index ef79918..dc9d89d 100644
--- a/vmnet8/dhcpd/dhcpd.conf.bak
+++ b/vmnet8/dhcpd/dhcpd.conf.bak
@@ -18,7 +18,7 @@
# This file will get backed up with a different name in the same directory
# if this section is edited and you try to configure DHCP again.
-# Written at: 08/15/2013 01:59:33
+# Written at: 08/15/2013 02:04:13
allow unknown-clients;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment