The setup: I have a DSL modem. That DSL modem goes to my Airport Extreme base station. Extreme base station is bridged with an Express base station with the former being the main one. I have miscellaneous things plugged into both - speakers, printers, whatever. For the sake of simplicity assume that there are two computers on the network - one is wireless (iBook on 10.4) and the other is a wired desktop (linux) that's connected to the Express base station.
What I need: Both computers need a particular IP address for the purpose of port forwarding and things for bittorrent, ssh, apache, vnc, dns, et cetera. (I mean, by next week would be great...I do occasionally take a quick trip to the lab or pop open my laptop to grab homework from my desktop that i forgot to bring
and things like that) The computers used to have nice IP addresses for short amounts of time but after a while they sometimes get assigned something different from the port mapping and it's truly annoying.
Attempt 1: Assigned static IPs to both computers (yes, I filled out everything, not just the IP). Manually, DHCP with manual address, blah blah. Both are utterly useless for anything beyond the local network (network is unreachable, no route to host). That's despite resetting things multiple times and such. (or, was it wrong to do sudo ifconfig eth0 192.168.1.3 ..., ifup eth0...dhclient..whatever.. or what?)
Attempt 2: Changed DHCP lease period from the Airport's default 4 hours to like 999 days, to see if machines could keep the same IP address for a long period of time. Although this sort of worked (okay, so I could get on IRC and stuff...), the Airport DHCP server refused to assign a mass of IP addresses (mostly ones that were convenient to me). i.e. I wanted the two base stations to have 192.168.1.1 and 192.168.1.2, the desktop to have 192.168.1.3 and the iBook to have 192.168.1.4. No matter how many times the base stations were reset (reset reset to default values), it refused to assign particular IP addresses, and instead assigned ridiculous ones like 192.168.1.70 which would change every time I changed the port mapping to map to the new IP addresses. Dug around a bit with nmap, checked out the MAC address that was given to me in some random OS X error dialog,...nothing had 192.168.1.x (2<x<255) and the MAC address was like...wtf? Does OS X regularly make up MAC addresses or what?
Attempt 3: Tried to figure out a way to disable DHCP but not NAT on the base stations in an effort to use my own dhcp server (as in, configure dhcpd to give a predetermined IP address to specific MAC addresses, to say the least...much more flexible than what Airport seems to have..). Not entirely pleasant to have two DHCP servers on the same network
It's possible to disable NAT...it's possible to disable DHCP and NAT...but it's not possible to disable DHCP but leave NAT. (Or is this a bad idea? I'm not entirely too sure...should I just turn off both?)
So, having thought about and attempted all three possible solutions I could come up with in all sorts of different ways (with only one base station, or with only the desktop, or only the laptop...), I googled around a bit.
This is when I find out about this supposedly very useful Java Airport Configurator by Jonathan Sevy. I mean...there are actually people out there who were stuck in the same situation, and they used this tool, and it solved all their problems for them. [like http://www.gnegg.ch/archives/airport_basesation_and_external_dhcp_server.html and http://slacker.com/~nugget/aebx.php] But...It's not entirely useful in that the only site to get a copy of said configurator is...dead.
Edit: wait...its not dead...that link is just bad I guess... new link: http://edge.cs.drexel.edu/GICL/people/sevy/airport/index.html#Configurator
[But short of running dhcpd on my desktop and getting a copy of the airport configurator sometime soon] Without having to deal with the Airport configurator and an external DHCP server, is there a fix for problems encountered above, or something I haven't tried that works? Or some explanation as to why 192.168.1.4 (or 5, or 100...) is assigned to a machine that seems to have a nonexistant MAC address? Or why Airport hates static IPs?
Any help would be much appreciated
What I need: Both computers need a particular IP address for the purpose of port forwarding and things for bittorrent, ssh, apache, vnc, dns, et cetera. (I mean, by next week would be great...I do occasionally take a quick trip to the lab or pop open my laptop to grab homework from my desktop that i forgot to bring
Attempt 1: Assigned static IPs to both computers (yes, I filled out everything, not just the IP). Manually, DHCP with manual address, blah blah. Both are utterly useless for anything beyond the local network (network is unreachable, no route to host). That's despite resetting things multiple times and such. (or, was it wrong to do sudo ifconfig eth0 192.168.1.3 ..., ifup eth0...dhclient..whatever.. or what?)
Attempt 2: Changed DHCP lease period from the Airport's default 4 hours to like 999 days, to see if machines could keep the same IP address for a long period of time. Although this sort of worked (okay, so I could get on IRC and stuff...), the Airport DHCP server refused to assign a mass of IP addresses (mostly ones that were convenient to me). i.e. I wanted the two base stations to have 192.168.1.1 and 192.168.1.2, the desktop to have 192.168.1.3 and the iBook to have 192.168.1.4. No matter how many times the base stations were reset (reset reset to default values), it refused to assign particular IP addresses, and instead assigned ridiculous ones like 192.168.1.70 which would change every time I changed the port mapping to map to the new IP addresses. Dug around a bit with nmap, checked out the MAC address that was given to me in some random OS X error dialog,...nothing had 192.168.1.x (2<x<255) and the MAC address was like...wtf? Does OS X regularly make up MAC addresses or what?
Attempt 3: Tried to figure out a way to disable DHCP but not NAT on the base stations in an effort to use my own dhcp server (as in, configure dhcpd to give a predetermined IP address to specific MAC addresses, to say the least...much more flexible than what Airport seems to have..). Not entirely pleasant to have two DHCP servers on the same network
So, having thought about and attempted all three possible solutions I could come up with in all sorts of different ways (with only one base station, or with only the desktop, or only the laptop...), I googled around a bit.
This is when I find out about this supposedly very useful Java Airport Configurator by Jonathan Sevy. I mean...there are actually people out there who were stuck in the same situation, and they used this tool, and it solved all their problems for them. [like http://www.gnegg.ch/archives/airport_basesation_and_external_dhcp_server.html and http://slacker.com/~nugget/aebx.php] But...It's not entirely useful in that the only site to get a copy of said configurator is...dead.
Edit: wait...its not dead...that link is just bad I guess... new link: http://edge.cs.drexel.edu/GICL/people/sevy/airport/index.html#Configurator
[But short of running dhcpd on my desktop and getting a copy of the airport configurator sometime soon] Without having to deal with the Airport configurator and an external DHCP server, is there a fix for problems encountered above, or something I haven't tried that works? Or some explanation as to why 192.168.1.4 (or 5, or 100...) is assigned to a machine that seems to have a nonexistant MAC address? Or why Airport hates static IPs?
Any help would be much appreciated