Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-19-2005, 04:09 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 22

Rep: Reputation: 15
how to config. network settings for having a static ip with a router

Hi all,

I have installed Fedora 2 in a PC for which I will use it as a server for the purpose of web site launching, so I need to have a static IP to let outsiders browse of it.

My ISP only provides DNSs (but I don't know whether it will be changed from time to time although I check it remains unchanged) with dynamic IP, I have a router which should be installed behind the ISP provided modem. In Fedora 2, I have set eth1 (a general LAN card) and activated with the followings :

IP : (where xxx is randomly chosen)
subnet mask :
default gateway : (where it's the ip of the router)

It works for the connection to Internet, but I don't know how to set for an environment for the outsiders that they can just type a static URL for browsing my pages.

I know it should contain Apache and Tomcat for pages hosting, please recommend for any steps, thanks a lot !

Old 10-19-2005, 04:35 AM   #2
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
Most ISPs won't give you a static IP unless you pay for one (it'll cost substantially more) Some isps will also go as far as to block incoming traffic on well known ports such as port 80 so that you will be forced to pay for their 'server connection' (as opposed to a home user connection).
You should get a 'dynamic dns' provider account. These providers own a domain or two, and allow you to register a url with them. A program on your router or computer will periodically contact this service, reporting your current IP address so that the url resolves correctly to your IP when the dns is contacted.

You will also need to forward the port on your router to your linux box (whether it be port 80, or an alternative port to get around the afore mentioned problem). The linux box would need apache but tomcat only if you need java.
Old 10-19-2005, 05:00 AM   #3
LQ Newbie
Registered: Oct 2005
Posts: 22

Original Poster
Rep: Reputation: 15
yup yup....I know that most ISPs won't give you a fixed IP unless you pay more, but I have heard from somehwere that we can do this, but I don't know how it works and duration. It seems to be configured in linux box elsewhere......but also thanks !



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Static Network settings scott4957 Linux - Wireless Networking 2 11-16-2005 09:58 AM
"AMULE" NG :You have a lowid. Please review your network config and/or your settings. j.vilon Linux - Newbie 2 02-11-2005 11:55 PM
Static IP settings carlosinfl Linux - Networking 4 07-01-2004 06:29 AM
Need help with network settings and router evanmac Linux - Networking 3 03-14-2003 12:40 AM
Static Network config for PCMCIA NIC in RH 7.2 jboo Linux - Networking 1 01-29-2002 08:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration