I'm using a TP Link TL-WR841N wireless router (fairly nice, but sold for home use) to act as a wireless access point and provide additional network ports from an existing LAN.
I've plugged the LAN cable into a LAN port (i.e. not the WAN port), disabled DHCP and set the device to have an address on the correct subnet which I know had been made a static address. It intermittently works (I confirmed that DHCP was being given out by the DHCP server on the LAN and not this device), but most of the time my devices fail to get a DHCP address and use 169.x.x.x instead. In these instances, if I assign a static IP address to my device, I can connect to the access point but cannot connect to the default gateway on the LAN - suggesting a connection issue between the access point and the default gateway (a Cisco switch).
I'm not sure what common problems exist in this setup so don't know what to look for. I've got a Netgear Router set up in exactly the same way and this works perfectly so I'm guessing it's not port security on the LAN ports, but I'm reluctant to just go and buy a different router without knowing the reason. I saw a similar question and one response included the fact that D-Link routers are quite bad at this, so perhaps it's just hit and miss? (Can every wireless broadband router be used as an access point?) Can anyone recommend a list of common problems and methods of testing?