Nick wrote:
> Hi,
>
> I am running Suse Pro 9.1. I have running Apache 2 on it. I have
> a linksys router and a cable Internet connection.
>
> Right three of my computers are obtaining IP addresses automatically.
> I want to set up my Suse computer with a static IP address so that
> I can do port forwarding with my router. Can someone please tell
> me how to get my computer a static IP address?
>
> Thanks
> Nick
Do you mean static outward facing IP address so that your Ip resolves to
a domain name, eg <a style='text-decoration: underline;' href="http://www.fred.com," target="_blank">www.fred.com,</a> or do you just mean a static IP address
on you local lan
If you mean the former, first of all you need an ISP that provides you
with atleast 1 static IP address.
This should ideally be assigned to your router as you network IP
address, you then have all your computers get local address 192.168.x.x,
or 10.10.x.x etc, and port forward to one of these machines. This can
all be done via DHCP from your router, and can even be configured to
allow each machine to get a static local IP, by having the DHCP server
always give each MAC address the same IP address
Once you can resolve to a global static IP from the outside, configure
your router to port forward to which ever machine on your local lan is
running your web server.
So if you static ip address is 1.2.3.240, and you have 2 machines on the
local lan 192.168.1.2 ( desktop ), and 192.168.1.3 ( wwww ), port
forward 1.2.3.240:80 to 192.168.1.3:80
hopefully !!!<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Setting up a Static IP address