Posted on September 3, 2015 12:49 pm
 |  Asked by Ronald David Hurtado Ulfe
Print Friendly, PDF & Email

If i have working the switch in layer 3 doing intervlan routing is it possible to have the switch working as dhcp server?

Posted by Philippe Bureau
Answered on September 3, 2015 1:26 pm


There is no DHCP server natively in EOS.  Because EOS gives you full linux access, you can install one.

1) Verify the Fedora Core Version running on the Arista switch, by
issuing the following command:

switch1#show version detail | grep -i fc
Eos-udev 167 8.fc14
audit-libs 2.1.3 1.fc14
authconfig 6.1.11 1.fc14
bash 4.1.7 4.fc14

In the above example, the EOS is running FC 14.
2) Download the correct RPM from the following URL:
NOTE: Download the RPM from the correct FC Directory.
3) Copy the DHCP RPM to the extensions directory, by issuing the following command
copy scp://server/file/to/dhcp.rpm extension:

4) Install the DHCP RPM
extension dhcp.i686.rpm
5) Make the extension persist over reboots
copy installed-extensions boot-extensions
6) At this point the DHCP RPMs are installed and ready to be configured

To configure the server drop in bash and follow normal linux dhcp server configuration methods



Following yours, I manage to install dhcpd on Arista 7150S

Drop to Bash and assigning root password, configure dhcpd.conf

but failed to start dhcpd service

Any suggestion ?

bash-4.1# /etc/init.d/dhcpd start
Starting dhcpd: [FAILED]

(Budi Ezeddin at September 10, 2015 5:02 am)

I tried this with 4.15,0F, amd it refused to work, due to a a ton of missing depencies. Is there a tutorial that would walk through every single dependendicy rquired to get it to work?

(Roger Wilco at September 13, 2015 3:20 am)

Post your Answer

You must be logged in to post an answer.