Hi Ramaswamy,

The Camarillo release already comes with a DHCP client, so no need to 
install it.

At this time, only the DHCP server and the DHCP relay are integrated into 
the router CLI -- so when you login as 'vyatta/vyatta', you can only 
manipulate the DHCP server and relay configurations.

You can still use the DHCP client functionality, but only through the 
regular root bash console, and you would have to manually modify the startup 
files to automatically restart the DHCP client after a reboot.

To take out a DHCP lease with the DHCP client on interface eth0 through the 
root bash console, perform the following command:

'dhclient eth0'

If you put this line into '/etc/rc.local', it will get automatically 
executed after each reboot.

Note that because the DHCP client functionality is not yet integrated, the 
leased out DHCP IP will not automatically appear in the router CLI 
configuration accessible via the 'vyatta/vyatta' login.


-- Marat

----- Original Message ----- 
From: "Ramaswamy S" <[EMAIL PROTECTED]>
To: <vyatta-users@mailman.vyatta.com>
Sent: Tuesday, September 11, 2007 3:19 AM
Subject: [Vyatta-users] Setting up DHCP client


> Hi,
>
> I have a setup where I need to have an IP address
> assigned through DHCP on eth0. I installed the DHCP
> client package, with
> "dpkg -i dhcp3-client_3.0.4-13_i386.deb". It works
> when I start it manually. After a reboot it stops
> working. I have made changes to
> /etc/network/interfaces:
> auto eth0 lo
> iface lo inet loopback
> iface eth0 inet dhcp
>
> After rebooting, I notice the dhcp3-client running,
> but no IP address has been set.
>
> I also noticed 'dpkg-query -l '*dhcp*'' listing more
> than one dhcp package.Is this a problem ? Can someone
> who has experience setting up DHCP client on Vyatta
> Router help me out please?
>
> Thanks and Regards
> Ramaswamy
>
>
> 
> ____________________________________________________________________________________
> Shape Yahoo! in your own image.  Join our Network Research Panel today! 
> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>
>
> _______________________________________________
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
> 

_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to