Announcement

Collapse
No announcement yet.

VMware DHCP Server?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • VMware DHCP Server?

    Hello all!, I have a small question..

    I have installed a VMware server in a Debian and the Debian machine is on my Office Network..

    The question is.. the DHCP Server of my VMware Server can asign IP address to other machines into my Office Network and affect it machines by change his ip address? ..

    My english is very bad, sorry..

    I stoped my VMware server in this moment to prevent it..

    Lab:~# /etc/init.d/vmware stop
    Stopping VMware services:
    Virtual machine monitor done
    Bridged networking on /dev/vmnet0 done
    DHCP server on /dev/vmnet1 done
    Host-only networking on /dev/vmnet1 done
    DHCP server on /dev/vmnet8 done
    NAT service on /dev/vmnet8 done
    Host-only networking on /dev/vmnet8 done
    Virtual ethernet done
    Lab:~#

    Thank´s for all !
    Last edited by xclom13; 12th March 2009, 15:27.

  • #2
    Re: VMware DHCP Server?

    Vmware comes with its own in built DHCP service. Simply disable it or disable the service it runs under. Note you can also set the Nics to host only. I notice you have /dev/vmnet0 bridged.When bridged to your LAN it will route packets to your physical network hence the DHCP issue.

    Comment


    • #3
      Re: VMware DHCP Server?

      Try changing your network connection from "Bridged" to "NAT" or "Custom".

      To disable DHCP:
      Options 1:
      Try VMware solutions: http://kb.vmware.com/selfservice/mic...xternalId=2002

      Option 2:
      1. Close your VMware program
      2. Edit vmnet's DHCP Server config file in "/etc/vmware/vmnet<num>/dhcp/dhcp.config"


      Example: /etc/vmware/vmnet1/dhcpd/dhcpd.conf

      "dhcpd.conf" contain below information, just add a remark "#" at the very first beginning of each lines and save.

      allow unknown-clients;
      default-lease-time 1800; # default is 30 minutes
      max-lease-time 7200; # default is 2 hours

      subnet 172.16.121.0 netmask 255.255.255.0 {
      range 172.16.121.129 172.16.121.254; # default allows up to 125 VM's
      option broadcast-address 172.16.121.255;
      option domain-name-servers 172.16.121.1;
      option domain-name localdomain;
      default-lease-time 1800; # default is 30 minutes
      max-lease-time 7200; # default is 2 hours



      After Remark:
      #allow unknown-clients;
      #default-lease-time 1800; # default is 30 minutes
      #max-lease-time 7200; # default is 2 hours

      #subnet 172.16.121.0 netmask 255.255.255.0 {
      # range 172.16.121.129 172.16.121.254; # default allows up to 125 VM's
      # option broadcast-address 172.16.121.255;
      # option domain-name-servers 172.16.121.1;
      # option domain-name localdomain;
      # default-lease-time 1800; # default is 30 minutes
      # max-lease-time 7200; # default is 2 hours
      #}
      Last edited by victor.peng; 14th March 2009, 19:21. Reason: Revised version

      Comment

      Working...
      X