LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2003, 02:35 AM   #1
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Rep: Reputation: 15
Static IP Address


Hi

Although I am studying an IT degree, I am still pretty new to all of this.

My question is in regard to static IP addresses. How do I get a static IP address so that i can run a full time web server? IS this something I need to get from my ISP or is it something I have to apply to another organisation for?

Thank you,
Pete
 
Old 06-14-2003, 02:37 AM   #2
evslin
LQ Newbie
 
Registered: Jun 2003
Location: Omaha, NE
Distribution: Fedora Core 2
Posts: 21

Rep: Reputation: 15
Talk to your ISP. If you're on cable/DSL chances are you've been assigned one, but they'll probably yell at you for running servers ... but what they don't know can't hurt them right?
 
Old 06-14-2003, 02:48 AM   #3
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Original Poster
Rep: Reputation: 15
I am on ADSL, and I think i get a new one assigned to me each time I reconnect. So I will give my ISP a call now.

Thanks
 
Old 06-14-2003, 04:09 AM   #4
hornet
LQ Newbie
 
Registered: May 2003
Posts: 27

Rep: Reputation: 15
Most Australian ADSL providers dont issue static IP's. Some will assign you one if you ask, and charge you $20 a month or so for it. Others only allow it on their business plans.

I use TPG how ever, with unlimited downloads and a static IP standard, as well as allowing servers, its good value at $70/mo for 256k and $80/mo for 512k

Other than that you can buy a domain, then signup with www.dyndns.org who can have that domain pointed to your dynamic IP, with in about 5 seconds of updating thier database with the new IP, via a client program running on your computer.
 
Old 06-14-2003, 07:49 AM   #5
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Original Poster
Rep: Reputation: 15
the dyndns is quite cheap for what it does. Has this a stable reputation?
 
Old 06-14-2003, 08:18 AM   #6
hornet
LQ Newbie
 
Registered: May 2003
Posts: 27

Rep: Reputation: 15
I have use it with one of the subdomains they provide free. And it was very stable and reliable. I have a static IP now, so its not much of a concern with me.

One of my instructors uses with with his Telstra ADSL connection and speaks very highly of it.
 
Old 06-14-2003, 06:50 PM   #7
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Original Poster
Rep: Reputation: 15
I might try that then. I am with Telstra and they want to charge me ADSL Subscription + $20 per month + 20c per Mb Dowload from what I can read.

This may be a stupid question, but when I have 2 computers on the same router, does each computer have a seperate IP address or do they share the same when on the net?

Last edited by bytebrowser; 06-14-2003 at 06:52 PM.
 
Old 06-14-2003, 10:50 PM   #8
hornet
LQ Newbie
 
Registered: May 2003
Posts: 27

Rep: Reputation: 15
Your router will be assigned the IP address. your computers will most probably have internal ip addresses, such as 192.168.0.*
 
Old 06-14-2003, 10:55 PM   #9
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Original Poster
Rep: Reputation: 15
yeah that's right, but what i don't understand is that the external IP address will point at the router, but from there how do things happen? ie. how will the outside world know to go to the linux box directly. is there some concatinated IP address like 144.139.135.89.192.168.0.1 or how does it work?
 
Old 06-14-2003, 11:07 PM   #10
hornet
LQ Newbie
 
Registered: May 2003
Posts: 27

Rep: Reputation: 15
its a setup called NAT (Network Adress Translation) i think in the packets that it sends, it encapsulates the internal IP, so when the packets are sent back, it knows what internal IP to forward the data on to. try doing a google search for NAT or Network Adress Translation.

You will need to setup port forwarding on your router though. You want the router for forward all requests made on port 80 to go to ur linux box. port 80 is the standard http port.
 
Old 06-16-2003, 05:13 AM   #11
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Network Address Translation quite literaly means what it says.

192.168.*.* networks do not exist on the internet. This means yo can use them internally without clashing with a real internet site.

The downside of this is that if you send a packet to an internet host with a source address of 192.168.0.1, which will get there as the internet does not check source addresses of packets, the host will have no way of responding to you as the network you appear to be comming from doesn't exist.

So we have to use NAT to pretend that you are comming from a real network.

When an inside (your lan) host sends packets to an outside (the internet) host the source address of the packets is edited so that what used to read 192.168.0.34 now reads 144.139.135.89.

Outside hosts can now respond to the globally unique address and because the NAT box (your router) builds a translation table to keep track of outgoing sessions it can translate the destination address of the packets comming back.

So NAT does the job, however Incomming connections now have a problem.

No one can HTTP to your inside address as it doesn't exist from the internets point of view. Of course they can connect to your real global address, but because your router doesn't have a port 80 listener, anyone trying to HTTP to your global address won't succeed. Unless you tell your router to forward requests for this port to somewhere else (i.e your inside web server). Once you tell the router where port 80 connect requests are sent, it will NAT and forward the request to the inside host.

(some routers have management access via port 80 which you may need to turn off as it may override any port forwarding you configure).
 
Old 06-16-2003, 05:26 AM   #12
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Original Poster
Rep: Reputation: 15
ok Pete,

I fully understand what you have explained to me. Is there some name for this section in my router.

The sections I have in the config are:
Inital Setup
System Setup
Phonebook
Dial-in
Routing
PPP
CIP
PPTP
Bridge
DHCP
DNS
Upgrade
Save All

Under which of these sections would I config the 80 port?
Peter

I can give you my IP address if it helps

Last edited by bytebrowser; 06-16-2003 at 05:37 AM.
 
Old 06-16-2003, 05:30 AM   #13
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Original Poster
Rep: Reputation: 15
Also the router is an Alcatel Speed Touch Pro
 
Old 06-16-2003, 06:06 AM   #14
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Check this out -

http://www.speedtouchdsl.com/pdf/stprowf_guide.pdf

It has a section on nat and how to configure it. You can do it all from a browser page by the looks of it. The way I read it, you need to enable nat on the PPPoE interface, then add a 0.0.0.0 nat entry which takes care of the dynamic address problem.

Also if you only have one externally accessible server then simply add a default server entry to your server.

If it were a cisco I could be more specific.
 
Old 06-16-2003, 06:36 AM   #15
bytebrowser
Member
 
Registered: Jun 2003
Location: QLD Australia
Distribution: Redhat 9.0 was but now like Fedora Core 2
Posts: 57

Original Poster
Rep: Reputation: 15
Well i am not a cisco!

That site did help. I also found my manual which i thought i had lost. I think this is the area that i need to make my changes. Have a look at http://www.users.bigpond.com/terry_s...n/linux/ss.htm

Last edited by bytebrowser; 06-16-2003 at 06:39 AM.
 
  


Reply


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
Setting up a static I.P. address partyk1d24 Linux - Networking 13 12-29-2005 06:23 AM
Static IP address mikz Slackware 4 11-28-2005 04:30 PM
How to set a static IP address? dx0r515t Slackware 12 04-17-2005 01:33 PM
setup the static ip address hansi umayangan SUSE / openSUSE 1 04-04-2005 02:54 AM
Getting static IP address etc. chapzilla Linux - Newbie 2 06-16-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:51 AM.

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