On Wed, Feb 3, 2010 at 8:50 PM, J.D. Bronson <[email protected]> wrote: > On 2/3/10 7:11 PM, Dave Donovan wrote: >> >> 1) Set the interface to DHCP, obtain an IP and then tell your ISP's >> equipment that it's static (or reserved, or whatever they're doing). >> 2) Change the IP of your WAN interface. Move it up by 10 or >> something. As longs as you've only got a few interfaces in your >> router, you're unlikely to overlap anything doing it that way. >> 3) Disable then enable the WAN interface so that it requests a new DHCP >> lease >> 4) Since you have a new MAC address, they'll give you a new IP address >> at which point, you can go into their equipment and flag it as static. >> 5) Rinse and repeat: You can repeat this process several times until >> you have leased and then reserved the IPs that you need. >> 6) Setup all your new IPs as Virtual IPs under Firewall -> Virtual IPs >> > > How does a 'new' MAC come into play here though? Where does the new MAC > come from? > > thanks...
Short answers: New MAC means new IP. And, you just make it up. Long answer: The DHCP server uses MAC addresses to keep track of which clients have received IPs. If you use your regular MAC address and receive an IP, then to get another IP, you may need to use a different IP. MAC addresses are supposed to be assigned to each NIC by the manufacturer to make them globally unique an prevent two NICs from having duplicate addresses. In your case, you're only going to use a fictitious one for a few minutes so there's no harm in it. As for getting the new MAC, you can pretty much make it up. You can look at your existing MAC under Status -> Interfaces. Look at your WAN interface and you'll see a string that looks like: 00:08:5b:b2:7e:e2 If your WAN interface is set to DHCP, you'll also see the IP that was assigned to you by your ISP. Chances are, you'll see the same address every time you reboot the system. That's because your ISP remembers your MAC and tries to assign the same number to you. If you want another address, you need to use another MAC. Make a change to the MAC, for instance, change the b2 to b3. Put the new, made up 'new' MAC in the appropriate field in Interfaces->WAN, and pick up at step 3 in my previous instructions. I should say that this is an unconventional approach. From your initial email, I assumed that your ISP supported reserving IPs through some configuration portal once you had obtained them by DHCP. If you're not comfortable with the details of how DHCP works, I'd hate to see you mess up your environment. I hope this helps, Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] Commercial support available - https://portal.pfsense.org
