Hi,
I am using The Cisco SG220-26P Switch and i am unable to connect a device on a local DHCP server run on a RPI. If I go through a TP-link switch i can get the DHCP server to give out IP addresses to my devices but on this Cisco switch The devices are unable to keep a connection and send DHCPRELASE packets my device is trying to get 10.0.0.6 and the server is 10.0.0.1
Oct 05 21:17:20 raspberrypi dhcpd[7102]: DHCPDISCOVER from 20:e4:07:2c:70:1b via eth0
Oct 05 21:17:21 raspberrypi dhcpd[7102]: DHCPOFFER on 10.0.0.6 to 20:e4:07:2c:70:1b via eth0
Oct 05 21:17:21 raspberrypi dhcpd[7102]: DHCPREQUEST for 10.0.0.6 (10.0.0.1) from 20:e4:07:2c:70:1b via eth0
Oct 05 21:17:21 raspberrypi dhcpd[7102]: DHCPACK on 10.0.0.6 to 20:e4:07:2c:70:1b via eth0
Oct 05 21:17:24 raspberrypi dhcpd[7102]: DHCPRELEASE of 10.0.0.6 from 20:e4:07:2c:70:1b via eth0 (found)
Oct 05 21:18:34 raspberrypi dhcpd[7102]: DHCPDISCOVER from 20:e4:07:2c:70:1b via eth0
Oct 05 21:18:35 raspberrypi dhcpd[7102]: DHCPOFFER on 10.0.0.6 to 20:e4:07:2c:70:1b via eth0
Oct 05 21:18:35 raspberrypi dhcpd[7102]: DHCPREQUEST for 10.0.0.6 (10.0.0.1) from 20:e4:07:2c:70:1b via eth0
Oct 05 21:18:35 raspberrypi dhcpd[7102]: DHCPACK on 10.0.0.6 to 20:e4:07:2c:70:1b via eth0
Oct 05 21:18:38 raspberrypi dhcpd[7102]: DHCPRELEASE of 10.0.0.6 from 20:e4:07:2c:70:1b via eth0 (found)
and from the client side logs:
Adapter index 2
MAC 20:e4:07:2c:70:1b
udhcpc (v1.21.1) started
Executing /usr/share/udhcpc/default.script deconfig
Setting IP address 0.0.0.0 on eth0
Entering listen mode: raw
Opening raw socket on ifindex 2
Got raw socket fd
Attached filter to raw socket fd
Created raw socket
Adapter index 2
MAC 20:e4:07:2c:70:1b
Sending discover...
Waiting on select 3 seconds
Adapter index 2
MAC 20:e4:07:2c:70:1b
Sending discover...
Waiting on select 3 seconds
Adapter index 2
MAC 20:e4:07:2c:70:1b
Sending discover...
Waiting on select 3 seconds
Adapter index 2
MAC 20:e4:07:2c:70:1b
Executing /usr/share/udhcpc/default.script leasefail
No lease, forking to background
Has anyone had this problem with the Cisco switch before and is there a work around or solution?
oscar