Nethserver as dhcp relay agent

Hi!

I have it working now!

I just install dnsmasq 2.78 manually from here:

https://rpm.pbone.net/index.php3/stat/4/idpl/42477240/dir/centos_7/com/

specifically this:

ftp://ftp.pbone.net/mirror/rnd.rajven.net/centos/7.0.1406/os/x86_64/dnsmasq-2.78-1cnt7.x86_64.rpm

And I copied /etc/dnsmasq.conf to /etc/e-smith/templates-custom/etc/dnsmasq.conf and I configured the last adding:

dhcp-relay=<ip’s relay server on green net >,<ip’s dhcp server on orange net>

I expand it:

$ sudo /sbin/e-smith/expand-template /etc/dnsmasq.conf

And, after I restarted the service, all is working now.

2 Likes