Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

vi /etc/hosts

Add the entries in bold:

Tippanel

127.0.0.1 localhost
192.168.0.1 localvmhost
192.168.1.1 vmguest-1

...

Add vmnet1 the to the daemon $dhcpd line as shown:

Tip

Wiki Markup

start() {
\[ \-x $dhcpd \] \|\| return 5
\[ \-f $conf \] \|\| return 6
pidofproc $prog >/dev/null 2>&1
RETVAL=$?
\[ $RETVAL \-eq 0 \] && return $RETVAL
echo \-n $"Starting $prog: "
daemon $dhcpd vmnet1 $DHCPDARGS 2>/dev/null
RETVAL=$?
echo
\[ $RETVAL = 0 \] && touch $lockfile
return $RETVAL
}

Configure the dhcpd service to automatically start at runlevels 3-5:

...