Set WP as dhcp server


#1

Hi,

I am trying to set my FX30 (WP8548) to act as a DHCP server on the ethernet interface.

FW is:
root@fx30:~# legato version
16.10.1_f8947ec5fd286f5b9d2c25ebb9ad81a4_modified
root@fx30:~# fwupdate query
Connecting to service …
Firmware Version: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
Bootloader Version: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
Linux Version: 3.14.29ltsi-a00e464379_3f15cd39ad #2 PREEMPT Mon Feb 20 11:11:17 PST 2017
FX30 Version: R13.1.2.004

I have un-commented line 116 in dnsmasq.conf file to lease following IP addresses:
dhcp-range=192.168.13.100,192.168.13.150,12h

/etc/network/interfaces file lists following:
auto eth0
iface eth0 inet static
address 192.168.13.31
netmask 255.255.255.0

my iptables rules do allow port 67 and 68:
-I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT

any idea welcome,


#2

Hi nmp,
Please try with the below iptables rule and let me know whether it works or not.

iptables -I INPUT -i eth0 -p udp --dport 67:68 -j ACCEPT

Regards,
Muralidhara N.