summaryrefslogtreecommitdiffstats
path: root/virtualization
diff options
context:
space:
mode:
authorVolker Uhrig2007-05-14 14:59:24 +0200
committerVolker Uhrig2007-05-14 14:59:24 +0200
commit8b88f3b308666f2dfda683870fa09489ebe3f5ff (patch)
tree49ff26aad1d94ebf8db29e3262a2cb0190199b98 /virtualization
parentMinor fixes (diff)
downloadcore-8b88f3b308666f2dfda683870fa09489ebe3f5ff.tar.gz
core-8b88f3b308666f2dfda683870fa09489ebe3f5ff.tar.xz
core-8b88f3b308666f2dfda683870fa09489ebe3f5ff.zip
dhcpd.conf and nat.conf for vmware-vmnet8 added
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1079 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'virtualization')
-rw-r--r--virtualization/templates/dhcpd.conf22
-rw-r--r--virtualization/templates/nat.conf46
2 files changed, 68 insertions, 0 deletions
diff --git a/virtualization/templates/dhcpd.conf b/virtualization/templates/dhcpd.conf
new file mode 100644
index 00000000..6bc581a4
--- /dev/null
+++ b/virtualization/templates/dhcpd.conf
@@ -0,0 +1,22 @@
+#
+# Configuration file for ISC 2.0b6pl1 vmnet-dhcpd operating on vmnet8.
+#
+# This file was automatically generated by the VMware configuration program.
+# If you modify it, it will be backed up the next time you run the
+# configuration program.
+#
+# We set domain-name-servers to make some DHCP clients happy
+# (dhclient as configued in SuSE, TurboLinux, etc.).
+# We also supply a domain name to make pump (Red Hat 6.x) happy.
+#
+allow unknown-clients;
+default-lease-time 1800; # 30 minutes
+max-lease-time 7200; # 2 hours
+
+subnet 192.168.100.0 netmask 255.255.255.0 {
+ range 192.168.100.100 192.168.100.101;
+ option broadcast-address 192.168.100.255;
+ option domain-name-servers 192.168.100.2;
+ option domain-name "localdomain";
+ option routers 192.168.100.2;
+}
diff --git a/virtualization/templates/nat.conf b/virtualization/templates/nat.conf
new file mode 100644
index 00000000..07d684f0
--- /dev/null
+++ b/virtualization/templates/nat.conf
@@ -0,0 +1,46 @@
+# Linux NAT configuration file
+[host]
+# NAT gateway address
+ip = 192.168.100.2
+netmask = 255.255.255.0
+# or ip = 172.16.184.2/24
+
+# enable configuration; disabled by default for security reasons
+#configport = 33445
+
+# VMnet device if not specified on command line
+device = /dev/vmnet8
+
+# Allow PORT/EPRT FTP commands (they need incoming TCP stream...)
+activeFTP = 1
+
+# Allows the source to have any OUI. Turn this one if you change the OUI
+# in the MAC address of your virtual machines.
+#allowAnyOUI = 1
+
+[udp]
+# Timeout in seconds, 0 = no timeout, default = 60; real value might
+# be up to 100% longer
+timeout = 60
+
+[incomingtcp]
+# Use these with care - anyone can enter into your VM through these...
+
+# FTP (both active and passive FTP is always enabled)
+# ftp localhost 8887
+#8887 = 172.16.184.128:21
+
+# WEB (make sure that if you are using named webhosting, names point to
+# your host, not to guest... And if you are forwarding port other
+# than 80 make sure that your server copes with mismatched port
+# number in Host: header)
+# lynx http://localhost:8888
+#8888 = 172.16.184.128:80
+
+# SSH
+# ssh -p 8889 root@localhost
+#8889 = 172.16.184.128:22
+
+[incomingudp]
+# UDP port forwarding example
+#6000 = 172.16.184.128:6001