Question:

How to apply Static IP Address given from ISP?

by  |  earlier

0 LIKES UnLike

Alright, i work for a little company in north london. They don't really have any other IT staff but me....They have told me to try and figure out how i can go around adding a static ip address to one of our linux servers (voip server).

"I" have looked at the following: -

Changing Address on server from dynamic to static.

changed address on windows computer using network adapter settings.

Now I have been told about port forwarding and all but i dont have a clue where to start.

I have a firewall and router, the router is used in bridge mode and bridged to the firewall.

These network facilities are not done by my but have all the details needed.

I want to apply one of the static ip addresses given by my isp to the router, another ip address to a linux server, and another to a computer on the network.

Any help and all answers welcome. Thank You in advance!

 Tags:

   Report

2 ANSWERS


  1. The linux server gets connected directly to the modem that the line with the static IP is on.  Set the Linux server to that IP, the correct DNS addresses, etc.  (How you do that depends on the distro.)  (If the line is shared - more than 1 address on the same line, the line shoujld go to a switch, then to the computer, router and server, each set for its static address or a dynamic address, as the case may be.)

    If your boss wants it done right, he'll either send you to a quick course (4 or 5 days)  or hire someone to do it and teach you to maintain it.


  2. your static address goes into the router, not the server. In the router you also setup port forwarding so that your server can get out on the net.

    for example, if your public address was 10.0.0.1 that would be what you would input into the router. You would set a port, lets say 2000 for example, that when the address 10.0.0.1:2000 is typed into a browser that hits your router and the router looks at the port number ,2000, which then forwards the request to what ever PRIVATE address you assigned. That private address is usually in the 192.168.0.x range...That is the server address. so to access a sever with an internal address of 192.18.0.155, you would type in 10.0.0.1:2000 from outside your network, and your network would know that everything on port 2000 goes to your server which you assigned to 192.168.0.155. make sence? all of these number are examples, your's will be different.

    If you have a web address for that server, say www.123.com, you would point the DNS server for 123.com to 10.0.0.1:2000 so that ever time www.123.com is typed in someone's browser, that takes it to your server.

    Oh and one more thing...You need to unblock what ever port you use for port forwarding in your firewall or it'll be blocked and won't work. If you still have issues, some people put servers in the DMZ section in the router config so that it's exposed to the internet and not behind the router firewall. an option if you have trouble getting it to work....Note that some routers call port forwarding virtual servers. Consult your manual for the exact steps to take configuring the router for port forwarding

    Easy as pie!

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.