2014/01/27

en_lab3

this time we show a service dhcpd.

request: 
dhcpd service installed and down.

we add router, with active services dhcpd,ssh, ip_forward; 1 switch-ethernet
 

3 client with active dhcp-client, as show in picture. on each client delete the static ip, click rigth, configure



start in running mode and dhcpd service it was started on router

process on host-guest:

 9641 ?        S      0:00 /usr/sbin/vnoded -v -c /tmp/pycore.20386/n1 -l /tmp/pycore.20386/n1.log -p /tmp/pycore.20386/n1.pid -C /tm
 9842 ?        Ss     0:00  \_ /usr/lib/quagga/zebra -u root -g root -d
 9879 ?        Ss     0:00  \_ /usr/lib/quagga/ospf6d -u root -g root -d
 9880 ?        Ss     0:00  \_ /usr/lib/quagga/ospfd -u root -g root -d
 9883 ?        Ss     0:00  \_ /usr/sbin/sshd -f /etc/ssh/sshd_config
 9891 ?        Ss     0:00  \_ dhcpd

process on client:

 9666 ?        S      0:00 /usr/sbin/vnoded -v -c /tmp/pycore.20386/n3 -l /tmp/pycore.20386/n3.log -p /tmp/pycore.20386/n3.pid -C /tm
 9875 ?        Ss     0:00  \_ /sbin/dhclient -nw -pf /var/run/dhclient-eth0.pid -lf /var/run/dhclient-eth0.lease eth0
 9676 ?        S      0:00 /usr/sbin/vnoded -v -c /tmp/pycore.20386/n4 -l /tmp/pycore.20386/n4.log -p /tmp/pycore.20386/n4.pid -C /tm
 9874 ?        Ss     0:00  \_ /sbin/dhclient -nw -pf /var/run/dhclient-eth0.pid -lf /var/run/dhclient-eth0.lease eth0
 9686 ?        S      0:00 /usr/sbin/vnoded -v -c /tmp/pycore.20386/n5 -l /tmp/pycore.20386/n5.log -p /tmp/pycore.20386/n5.pid -C /tm
 9873 ?        Ss     0:00  \_ /sbin/dhclient -nw -pf /var/run/dhclient-eth0.pid -lf /var/run/dhclient-eth0.lease eth0


in the screen-shot below we see the dinamic ip picked: