As I've documented in this blog, I've been fighting with AT&T's 2WIRE device, their customer service, and random other elements for months, trying to get the static IP addresses I'm leasing from AT&T to be accessible through the 2WIRE. I finally found someone at AT&T who knew what the hell I was talking about, and was able to help me make it happen. Here are the basic steps, for any who care.
- Go to 'Settings -> Broadband -> Link Configuration' on the 2WIRE's Web UI and set up your static IP address block. AT&T should have told you the netmask, broadcast address, and other details. The 'Router Address' should be the last valid address in the block (broadcast - 1).
- Disconnect from the 2WIRE's LAN all the NICs that you want to have static public IP addresses ('publish').
- Make a note of all the MACs of the NICs you're going to publish.
- On their hosts, update them to get their addresses via DHCP, and 'ifdown' (or equivalent) them.
- In the 2WIRE Web UI, go to 'Settings -> LAN -> Status' and choose 'Clear List'.
- In the 2WIRE Web UI, go to 'Settings -> Firewall' and make sure there are no rules relating the the NICs you're publishing. (Check the MACs in the pinholes/applications tab.)
- Reconnect the NICs to the 2WIRE's LAN, and reload them with 'ifup' or equivalent. Pay no attention to the IP addresses they actually get assigned.
- Once your NICs are up, go to 'Settings -> LAN -> IP Address Allocation' and you should see all your NICs, probably named 'unknownXXXXXXXXXXXX'. For each one,
- Set the Firewall pulldown to 'Disabled';
- Set the 'Address Assignment' pulldown value to 'Public (select WAN IP Mapping)';
- Set the 'WAN IP mapping' pulldown to 'Public Fixed:' -- choose the IPA you want for that particular NIC.
- Once you've changed 'em, click 'Save' in the lower-right corner of the page.
- Go back to the systems with the NICs you've assigned, shut down the NICs (e.g., 'ifdown eth12'), wait a moment (12-15 seconds), and then start them up again ('ifup'). They should come up with the public IP addresses they were assigned.
- (Optional) Go to 'Settings -> LAN -> Status' in the 2WIRE's Web UI. Some of your 'devices' may have an 'Edit name' link next to them, and some may not. The devices are assigned ID numbers within the interface in the order they appear in this list. The first device is 0, the second is 1, and so on. To rename a device that doesn't have the 'Edit name' link, make note of what its position is, click on an existing 'Edit name' link (doesn't matter which), and then change the last number in the URL address bar to the ID of the device you want to rename and press enter. Then change the name on the new page to what you want, and click OK.
Lather, rinse, repeat.