Also if that doesnt work, see if bypassing the router and connecting it directly will give an IP. If no, see if you get an IP when connecting to a PC, if you get an IP from the modem with the PC and not Xbox you’ve narrowed the problem down to you Xbox’s NIC.