Static IP question

Jump to First Reply
Posted:
in Genius Bar edited January 2014
Hi Guys I hope somebody here might know something about IP networking and might be able to help me out?



I want to be able to access ALL of my data whilst I am out of the studio ? so I signed up for a broadband connection with a single static IP address, and I purchased one of the new AirPort Extreme base stations. The idea was that instead of trying to set up a server, all of the data would be held on a couple of USB hard disks that thanks to the AirDisk feature effectively became NAS devices.



The AirDisk feature works perfectly whilst I'm in the studio, but not when I'm out of the studio. Someone has suggested that I need not one, but two static IP addesses, because the first one has to be assigned to the router supplied by my ISP ? and without a second static IP address the AirPort Extreme will be assigned a private dynamic IP address that can't be seen from anywhere but the LAN itself?



Is this correct? My ISP has told me repeatedly that the IP address of the AirPort Extreme base station should be exactly the same as the address of the router ? but as they are two separate devices on the LAN can this be right?



Cheers for any help guys!

Comments

  • Reply 1 of 5
    Marvinmarvin Posts: 15,585moderator
    By default, routers have a pool of dynamic IPs usually in the range 0-100 after your base addrees e.g 192.168.1.0 - 192.168.1.100. When you connect, you can be given any number between 1 and 100. It probably only matters on networks with multiple machines but it's still better to use a static IP so that you know what the IP is when you configure the router.



    Check your router setup and see what range your dynamic IP pool is, like I say it's usually 100 but check anyway. Go into your mac system prefs and in the network section under airport and go to the TCP/IP panel. Change DHCP to DHCP with manual address and use for example 192.168.1.110 - use the correct base address for your router so just change the last number from the address you were assigned automatically.



    Next you have to forward the ports on your router to your IP. So in the router settings go into the port forwarding section and forward the AFP port 548 to the static IP you just chose.



    You should now be able to access your home machine externally by visiting your IP using connect to server and entering in your ISP address. What you can do is go to sites like http://www.dyndns.com/ and you can setup a free URL that redirects to your home address. This way you don't have to remember a number. This is also sort of a way round a dynamic IP but you still have to update it manually when the IP changes. I use this to access the network drive I have at work, which is on a dynamic external IP.
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 5
    messiahmessiah Posts: 1,689member
    Hi Marvin, thanks for the reply.



    I have a single static IP address - 217.35.88.xxx. This static IP address is assigned to the DSL modem that my ISP provided. The Airport Extreme base station then takes a 192.168.1.xxx address – which I assume is supplied via DHCP.



    If I go in to the AirPort Utility and give the router the correct address 217.35.88.xxx and I give the AirPort Extreme base station a 192.168.1.xxx address the utility tells me that the router and WAN IP addresses are incompatible with each other. If I give the router and the AirPort base station the same static IP address, the utility tells me that they can't have the same IP address.



    Am I right in saying that the static IP address that I have at the moment (218.35.88.xxx) is a public address (that I can connect to across the internet) and that the dynamic IP addresses (192.168.1.xxx) are private addresses that can only be seen fom within the LAN – or can you connect to a 192.168.1.xxx address from across the internet?



    Many thanks for you help...
     0Likes 0Dislikes 0Informatives
  • Reply 3 of 5
    Marvinmarvin Posts: 15,585moderator
    Quote:
    Originally Posted by Messiah View Post


    I have a single static IP address - 217.35.88.xxx. This static IP address is assigned to the DSL modem that my ISP provided. The Airport Extreme base station then takes a 192.168.1.xxx address ? which I assume is supplied via DHCP.



    If I go in to the AirPort Utility and give the router the correct address 217.35.88.xxx and I give the AirPort Extreme base station a 192.168.1.xxx address the utility tells me that the router and WAN IP addresses are incompatible with each other. If I give the router and the AirPort base station the same static IP address, the utility tells me that they can't have the same IP address.



    It seems like your modem is a modem/router with NAT. This means that you essentially have two routers joined together. I presume you needed the airport for the wireless. This means you have two DHCP servers running. You should disable DHCP on the Airport Extreme in the airport admin so that it acts as a network switch. Then you should be able to assign your computer a static private IP (e.g 192.168.1.110).



    Quote:
    Originally Posted by Messiah View Post


    Am I right in saying that the static IP address that I have at the moment (218.35.88.xxx) is a public address (that I can connect to across the internet) and that the dynamic IP addresses (192.168.1.xxx) are private addresses that can only be seen fom within the LAN ? or can you connect to a 192.168.1.xxx address from across the internet?



    Yes the 218.35... is a public IP and the others can only be seen inside the LAN, you cannot access 192.168.1.xxx from outside. What happens is that your ISP is using a public IP of 218.35.88... and when you type this into a browser or connect to server, it connects to your home network.



    Your DSL modem/router then uses a DHCP server to assign LAN IPs to local machines. This is called Network Address Translation (NAT) as it translates one external IP to many local IPs. The reason you use port forwarding is so that the modem/router knows which machine on the LAN to forward the incoming data to. Now because you have a second router in the Airport Base, it would try to take that generated IP it gets from the first router and generate a subset of IPs. To avoid that you turn off the DHCP.



    So, set the first router IP to your static one 218.35...

    Turn off DHCP in the Airport Base

    Assign your computer a static IP using DHCP with manual address of 192.168.1.110 or similar
     0Likes 0Dislikes 0Informatives
  • Reply 4 of 5
    messiahmessiah Posts: 1,689member
    Hi Marvin,



    No, I don't need the AirPort Extreme for wireless ? the DSL modem is already wireless and all I need the AirPort base station for is the AirDisk utility. My understanding is that if I switch the wireless side of the AirPort base station off, the AirDisks can still be accessed via my existing wired LAN.



    As far as other computers on the LAN - there don't need to be any. All this setup is meant to achieve is to provide access to the data on the USB hard drives attached to the AirPort base.



    If I do connect other computers to the network, they will either connect to the LAN physically or wirelessly with the DSL modem itself.
     0Likes 0Dislikes 0Informatives
  • Reply 5 of 5
    Marvinmarvin Posts: 15,585moderator
    Quote:
    Originally Posted by Messiah View Post


    Hi Marvin,



    No, I don't need the AirPort Extreme for wireless ? the DSL modem is already wireless and all I need the AirPort base station for is the AirDisk utility. My understanding is that if I switch the wireless side of the AirPort base station off, the AirDisks can still be accessed via my existing wired LAN.



    As far as other computers on the LAN - there don't need to be any. All this setup is meant to achieve is to provide access to the data on the USB hard drives attached to the AirPort base.



    If I do connect other computers to the network, they will either connect to the LAN physically or wirelessly with the DSL modem itself.



    I see what you're doing now. What you might want to try is setting up the Airport as a repeater:



    http://weblogs.java.net/blog/inder/a...rport_e_1.html



    This means that you don't have to turn off the wireless on the Airport and it can extend your wireless range. I presume the Airdisk feature gives the USB drive an IP address of its own or does it take the IP of the base station?



    If it uses the IP of the base, I'd imagine you need to set the Airport with a static IP. I'm not sure why that gave you an error before. Did you try to give it a few different addresses other than the one it had been assigned e.g 192.168.1.120 etc?
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.