Skip to content

Instantly share code, notes, and snippets.

@routelastresort
Created August 15, 2013 09:16
Show Gist options
  • Save routelastresort/6239487 to your computer and use it in GitHub Desktop.
Save routelastresort/6239487 to your computer and use it in GitHub Desktop.
Example git diff in /etc/vmware, after running Virtual Network Editor
diff --git a/netmap.conf b/netmap.conf
index 91b5934..5966798 100644
--- a/netmap.conf
+++ b/netmap.conf
@@ -4,5 +4,5 @@ network0.name = "Bridged"
network0.device = "vmnet0"
network1.name = "HostOnly"
network1.device = "vmnet1"
-network2.name = "NAT"
-network2.device = "vmnet8"
\ No newline at end of file
+network8.name = "NAT"
+network8.device = "vmnet8"
diff --git a/networking b/networking
index 0fb8b53..64e76f7 100644
--- a/networking
+++ b/networking
@@ -1,11 +1,11 @@
VERSION=1,0
answer VNET_1_DHCP yes
-answer VNET_1_DHCP_CFG_HASH 5BD804C3DD585DEE55DFBDB2143F6DF79699BF01
+answer VNET_1_DHCP_CFG_HASH 7148000C89F805130749C85FFC880EB1A262E07F
answer VNET_1_HOSTONLY_NETMASK 255.255.255.0
-answer VNET_1_HOSTONLY_SUBNET 192.168.125.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 D194D48A85D15C5B0A9DF1B2096301698D23F067
+answer VNET_8_DHCP_CFG_HASH DA93CFBE2DF376C860D83C78B1E832DC5B5E4518
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 6e79f2e..3b8aa25 100644
--- a/vmnet1/dhcpd/dhcpd.conf
+++ b/vmnet1/dhcpd/dhcpd.conf
@@ -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 ef79918..dc9d89d 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 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