Getting a New WAN IP Address via DHCP from Spectrum Internet (2022)

transpute1 pts0 comments

Getting a new IP address via DHCP from Spectrum Internet - Jeff GeerlingGetting a new IP address via DHCP from Spectrum Internet<br>Apr 5, 2022

Recently this website's been the target of malicious DDoS attacks.<br>But after accidentally leaking my home IP address in some network benchmarking clips in a recent YouTube video, the same attacker (I assume) decided to point the DDoS cannon at my home IP.<br>I have things relatively locked down here—more on homelab security coming soon!—but a DDoS isn't something most residential ISPs take too kindly. So it was time for me to recycle my home IP. Lucky for me, I don't pay for a static IP address. That makes home hosting more annoying sometimes, since I have to deal with tunnels and dynamic DNS, but it also means I can hop to a new IP address if one is under attack.<br>Getting a new IP address<br>At least with the DOCSIS 3.1 modem I'm using, the overall process is as follows:<br>Turn off the cable modem.<br>Set a new MAC address on the router.<br>Restart the router.<br>Restart the cable modem.<br>As an alternative for #2, you could just plug a different device directly into the cable modem. The main thing is, if the cable modem (and thus your ISP's endpoint) sees a new MAC address for the device attached to the modem, it will assign a new IP address via DHCP.<br>On my own router, an ASUS, there's a simple method you can use to change the MAC address—you go into the WAN settings, then under 'Special Requirement from ISP', there's a custom MAC address field.<br>You can either clone your current computer's MAC address into the field by clicking 'MAC Clone', or enter a valid MAC address for some other device here. Press 'Apply', and wait for the router to restart before turning the cable modem back on.<br>If you want to drop the custom MAC address and switch back to the router's default WAN MAC address, you could do that at some point—but I'd give it a day or two, since that's the typical DHCP address timeout. If you switch back right away, your ISP will probably hand out the same IP address you just had.<br>Thanks to this Spectrum community discussion for the idea.<br>Aside: When I contacted Spectrum's support this morning, their recommendation was to replace both my cable modem and router. It technically would achieve the same goal, but I wasn't about to spend a few hundred bucks replacing equipment! I'm surprised they don't have a mechanism internally to release an IP, but maybe that's not available to their lower support tiers.

Further reading:<br>I tested every IP KVM in my Homelab<br>Self-hosting with AT&T Fiber Internet<br>Simple MAMP/MAMP Pro VirtualHosts in Parallels / Windows XP

Comments

address modem cable router dhcp spectrum

Related Articles