IP Address

raZer said:
Thanks guys, I think I understand this now.

Could you please tell me how to setup my computer to have a static IP?

Thanks

open network connections, select the network card you want, select TCP/IP.

Deselect the "obtain ip auto." option, and then enter the values as I specified above.
If all works well, good.

(
If not, you can always set Auto back on (do the same for DNS if you need to!!), and then you can get back here and ask another question :D
)

No need to worry about coming unstuck - you can always set back to Auto settings.
 
Gangrel said:
AFAIK mine listens on port 80... dlink dsl504t (I do think however that the listening port can be changed, haven't played around with my router too much for a while), so yes forwarding port 80 would most likely do prevent access to my router config.

Not true - the router only forwards inbound connections NOT internal. So, it will only forward traffic coming from "the outside", not traffic originating in the network.
 
raZer said:
It asks me for 'Public Port Start' 'Public Port End' 'Private Port' 'Port Type' (TCP/UDP) and 'Host IP Address'.

start and end both set to 80 (you could set it for 21-110 and then you will forward FTP, internet, SMTP and POP3 to the web server, but rather stick with 80 only until you are more comfortable).
TCP/UDP = TCP
host IP = your web server IP (10.0.0.50).
 
Moederloos said:
Deselect the "obtain ip auto." option, and then enter the values as I specified above.
OK I'm going to deselect 'Obtain an IP Auto' and 'Obtain DNS Auto', but what must I enter for 'Subnet Mask', 'Default Gateway', 'Preferred DNS Server' and 'Alternate DNS Server'?

I know I will enter '10.0.0.50' for IP addy.

Thanks
 
raZer said:
OK I'm going to deselect 'Obtain an IP Auto' and 'Obtain DNS Auto', but what must I enter for 'Subnet Mask', 'Default Gateway', 'Preferred DNS Server' and 'Alternate DNS Server'?

I know I will enter '10.0.0.50' for IP addy.

Thanks

OK - ip = 10.0.0.50
subnet = 255.255.255.0
default GW = 10.0.0.1 (if this is the address you used in the browser to access the router settings, otherwise whatever you used)
DNS server is the same as default GW

Remember, if it does not work, simply switch the autos back on and come tell us what happened.
 
Thanks moederloos, but I get an error saying that Alternate DNS can't be same as preferred DNS. What should I set the Alternate DNS to?
 
Last edited:
OK, I've set my IP to 10.0.0.50, but now I can't connect to my router.
(btw I set my Alternate DNS to 10.0.0.3)
I try connect to 10.0.0.2 (my router) and I eventually get a 404 Page Not Found!

I suppose this is what Gangrel was talking about.
How do I connect to my router now?

Thanks
 
Is your router not 10.0.0.1 (the default gateway)?

I would actually tend to agree with Mooederloos that it will only really forward external traffic.
 
The thing is, I haven't setup forwarding yet.
I've only changed my computer IP to 10.0.0.50.

My router has always been at 10.0.0.2, I'm using the 4Port Ethernet Marconi from telskum.
 
Last edited:
Ok, I've done this with SmoothWall, but the same principle applies :

196.24.12.34 (public IP address) ---> Teklom Router --> 10.0.0.1 (Internal IP address) ---> rest of network

Now, on the router, you specify that ANY incoming requests for port 80 be forwarded to IP address 10.0.0.50 (your webserver's IP address).

You make sure that your webserver's IP is 10.0.0.50 (or whatever IP you specified on the router).

That's all to it.
 
OK, I will do that, but I first need to be able to access my router which I can't do at the moment. When I try go to 10.0.0.1 or 10.0.0.2 I just get an error 404.
 
raZer said:
How can I gain access to my router now?

OK - you must ensure that your default gateway is set to whatever the router address is (the ip you specify in the browser).

Also, as I said before, if all else fails, simply set the network settings back to AUTO (There is no reason that the router would become inaccessible, it is most likely just a bad setting). You also do not need to have an alternate DNS server - the router has the DNS servers it needs- you just need to tell the PC to use the router for DNS (and you did that by specifying the router IP as the primary DNS)
 
OK, I've reset my router and set it up again.
I then setup port forwarding on port 80 to the IP 10.0.0.51

I set the computer on my network that I want to run the server to have a static IP at 10.0.0.51.

Now when I run my server I can still access the router at 10.0.0.2 but when I enter my real IP address (165.165.xxx.xxx) I get taken to my router. Back where I started!

Why isn't the port forwarding working?
 
I did click 'Save Settings & Reboot' for the router, btw.
 
raZer said:
OK, I've reset my router and set it up again.
I then setup port forwarding on port 80 to the IP 10.0.0.51

I set the computer on my network that I want to run the server to have a static IP at 10.0.0.51.

Now when I run my server I can still access the router at 10.0.0.2 but when I enter my real IP address (165.165.xxx.xxx) I get taken to my router. Back where I started!

Why isn't the port forwarding working?
If you set up everything correctly you would be able to access your webserver using (165.*.*.*) from outside your network (internet). The reason why you can't do if from inside is that your router most probably doesn't support loopback.
 
AdLo said:
If you set up everything correctly you would be able to access your webserver using (165.*.*.*) from outside your network (internet). The reason why you can't do if from inside is that your router most probably doesn't support loopback.

Correct. I did mention this in one of my very first posts (where I also suggested using a dial up or remote PC to test). It would seem the router interprets its public ip address as being equivalent to its local IP from within the network.
 
That's great!
So if I try connect to 165.*.*.* from my pc I will go to my router but if I go to 165.*.*.* from another pc it will take me to my webserver?

Thanks
 
raZer said:
That's great!
So if I try connect to 165.*.*.* from my pc I will go to my router but if I go to 165.*.*.* from another pc it will take me to my webserver?

Thanks

Not quite. If you go to 165.x.x.x from OUTSIDE your network, you will get sent to the web site, from INSIDE the network, to the router.
 
Top
Sign up to the MyBroadband newsletter
X