Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Quick IP address question..

  • 31-03-2005 9:37am
    #1
    Registered Users, Registered Users 2 Posts: 968 ✭✭✭


    How many static IP addresses would I need for my current setup which is :
    2 x PCs both needing internet access
    1 x PC running Apache to host a .com address (as the server)

    All these are running through a Linksys Router wirelessly except the Server which is connected to the Router via Cat 5 patch cable. Would I need 2 i.e. 1 for the router and one for the server?
    Quick reply would be appreciated thanks guys. ;)


Comments

  • Registered Users, Registered Users 2 Posts: 3,317 ✭✭✭Chalk


    id presume only the router would neeed a static external ip,
    ports on which would then be forwared to the server...

    basically if the server is not internet facing, an internet ip wouldnt be able to be assigned to it?
    ie 123.123.123.123 would point directly to the router
    and 123.123.123.123:80 would go the server?


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    Chalk wrote:
    id presume only the router would neeed a static external ip,
    ports on which would then be forwared to the server...

    basically if the server is not internet facing, an internet ip wouldnt be able to be assigned to it?
    ie 123.123.123.123 would point directly to the router
    and 123.123.123.123:80 would go the server?

    Ah right ok. That sounds right. Cheers!


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    On the same subject then.. Is it possible to get an ADSL Modem that has 2 Ethernet ports so I could connect one directly to the Server and the other to my Router through which my other pcs can gain web access? In which case I would then have 2 Static IPs.. :o


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    If I understand correctly......

    There are two groups of IP's in that scenario:

    The router / DSL modem has an external (i.e. internet) IP address. With two machines connected to it, they each get assigned a local (i.e. non-internet or LAN) IP address.

    Your external IP address (on the router) will look like 123.198.213.111 while the internal IP's for your two machines will have 192.168.1.2 and 192.168.1.3 etc...

    Internet requests would be routed through the lan by the router.

    I have a linksys wireless router for this (it also has 4 lan ports on the back) and have found it to be excellent.


  • Registered Users, Registered Users 2 Posts: 3,317 ✭✭✭Chalk


    On the same subject then.. Is it possible to get an ADSL Modem that has 2 Ethernet ports so I could connect one directly to the Server and the other to my Router through which my other pcs can gain web access? In which case I would then have 2 Static IPs.. :o
    even if you had a another router you still only have one internet connection,
    in this setup the adsl router would route traffic onm port 80 to the server and all other traffic to the other router which in turn would route it to the other pcs.


  • Advertisement
  • Closed Accounts Posts: 95 ✭✭Dr_MalPractice


    one static ip is all you need.
    if you have a dhcp server running on your linux box all you have to do is specificy the range of addresses you want it to asign from, e.g. 192.168.0.100 to 192.168.0.200. this leaves you with plenty of addresses to work with if you decide to have your clan over for a spot of gaming. i usually leave lower ip's unassigned to allow for network attached storage, printers etc.

    hope it's helpful.


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    Khannie wrote:
    If I understand correctly......

    There are two groups of IP's in that scenario:

    The router / DSL modem has an external (i.e. internet) IP address. With two machines connected to it, they each get assigned a local (i.e. non-internet or LAN) IP address.

    Your external IP address (on the router) will look like 123.198.213.111 while the internal IP's for your two machines will have 192.168.1.2 and 192.168.1.3 etc...

    Internet requests would be routed through the lan by the router.

    I have a linksys wireless router for this (it also has 4 lan ports on the back) and have found it to be excellent.

    Yeah that's all fine and I have something similar to yourself (Linksys Wireless Router with speed booster) but I just felt that if it was possible to get a BB modem with two ethernet ports I could skip all the extra hassle of port forwarding and leave my system setup pretty much the way it is for the two pcs on Wireless setup anyway, while just connecting my server directly to the BB modems other ethernet port... Yes No..?


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    one static ip is all you need.
    if you have a dhcp server running on your linux box all you have to do is specificy the range of addresses you want it to asign from, e.g. 192.168.0.100 to 192.168.0.200. this leaves you with plenty of addresses to work with if you decide to have your clan over for a spot of gaming. i usually leave lower ip's unassigned to allow for network attached storage, printers etc.

    hope it's helpful.
    Chalk wrote:
    even if you had a another router you still only have one internet connection,
    in this setup the adsl router would route traffic onm port 80 to the server and all other traffic to the other router which in turn would route it to the other pcs.


    Ok thanks lads1 I will give it a go that way but if I get stuck can I pester you both till the ends of the earth lol
    Only kidding. I just know the hassle I've had trying to get the initial configuration set up thats my only worry. :o


  • Registered Users, Registered Users 2 Posts: 396 ✭✭ai ing


    Easy way to avoid port forwarding would be to stick the server in the DMZ if your router supports this.


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    Yeah I think I was only confusing matters. I know what you mean now. I only have one inetrnet connection so I can only have one static IP address which is what the BB Modem would be and everything else I connect to that would be applicable to that sole IP. Doh!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    ai ing wrote:
    Easy way to avoid port forwarding would be to stick the server in the DMZ if your router supports this.

    Yeah I tried doing this at one stage but I then couldn't connect to my Router at all through the Linksys (192.168.1.1/index.asp) setup screen. It just kept coming up as a timeout and I had to turn it of and reset it. Maybe I was doing something wrong but I followed the guidelines..


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    Yeah that's all fine and I have something similar to yourself (Linksys Wireless Router with speed booster)

    Mine is also a DSL modem....it's like the original modem you got from esat / iol / eircom / whoever but it has four LAN ports and wireless too.

    It's still possible to do what you want...just a bit more of a pain with your current setup (though not much more of a pain).

    instead of
    compa -> router/modem
    compb -> router/modem

    you'll have

    compa->router
    compb->router
    router->modem

    HTH.


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    Khannie wrote:
    you'll have

    compa->router
    compb->router
    router->modem

    HTH.

    Thats what I have at the moment anyway. Eircom BB Modem - Wireless Router - Wireless pcs but with the addition of my 3rd pc ( running Apache as Server) connected to a LAN port on the back of the Router/Gateway. So its not gonna change much. Its just getting the setup right when you're a bit wet behind the ears at it..


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    From what I can tell...you have everything set up correctly so far....you just need to port forward port 80 requests (assuming Apache's running on that port...) to the IP address of your third machine. You may need to do that twice, since there are effectively two routers....the broadband modem is a router, and you have your linksys router. That is if you want it visible to the external world.

    Would you like me to move this to the networking forum Guru?

    The heads in there really know their stuff. More than me anyway :)


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    Khannie wrote:
    From what I can tell...you have everything set up correctly so far....you just need to port forward port 80 requests (assuming Apache's running on that port...) to the IP address of your third machine. You may need to do that twice, since there are effectively two routers....the broadband modem is a router, and you have your linksys router. That is if you want it visible to the external world.

    Would you like me to move this to the networking forum Guru?

    The heads in there really know their stuff. More than me anyway :)

    Sorry Khannie! :o I didn't read that last post till now.. I have my static IP now but need some help configuring it so it links to my website name. That might be a good idea to move it but I presume nobody frequents that forum at this time of the evening...?
    I have my site up as far as I can tell but not to the LAN IP of the host pc ie. 192.168.1.101. Its seems to be coming through on the Router/Gateway LAN IP address of 192.168.1.1 which is the IP I normally use to configure it. Can't get into it now at all but this happened before and I just unplugged it and hit the reset button and then its accessible again. Hair wearing thin... :(


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    bumpetybump


Advertisement