Wireless router, ADSL connection...


Recommended Posts

I have a Wireless-G Broadband Router (WRT54G, 2.4 GHz), which gets connects to the net through an ADSL connection.

My ISP provides me with 200.x.x.x type IP addresses, which allow me to do things like hosting my own website, remote asistance, etc.

I don't know a lot about networking, but I know that, if I connect my PC directly to the ADSL modem, I get that type of IP address.

On the other hand, if I connect the modem to the router, and my PC to the router, then I get 192.x.x.x type IP addresses.

This type of IP address doesn't allow me to do things like the ones I mentioned.

I don't know how to configure this. I right-clicked on TCP/IP properties, and saw the "Obtain an IP address automatically" and "Obtain DNS server address automatically" are checked.

Please, help :$

P.D.

This is the result if I connect directly to the modem:

Sufijo de conexi?n espec?fica DNS : cantv.net

Direcci?n IP. . . . . . . . . . . : 200.84.160.23

M?scara de subred . . . . . . . . : 255.255.254.0

Puerta de enlace predeterminada : 200.84.160.1

If I connect through the modem:

Sufijo de conexi?n espec?fica DNS : cantv.net

Direcci?n IP. . . . . . . . . . . : 192.168.1.100

M?scara de subred . . . . . . . . : 255.255.255.0

Puerta de enlace predeterminada : 192.168.1.1

Link to comment
Share on other sites

well when you connect directly to the modem, your PC is getting an IP address directly from the modem, but when you connect from the router you are getting a private IP address from the router, the 192.x.x.x address you are getting is for your private network only, but to the outside internet your address is still 200.x.x.x. look in your documentation to look for port forwarding to forward the ports required for http, ftp, remote desktop etc... to your computer.

edit: someone correct me if i'm wrong

Link to comment
Share on other sites

But my ISP says, on my service features, that I can have up to two certified (200.x.x.x type) IP addresses... All I want is to know how to set up my router, so I can take advantage of those two IP addresses, and that it doesn't generate private internal addresses...

Is this possible?

Link to comment
Share on other sites

I think for that, you'd need a hub. It's because the router is acting like a DHCP server and is assigning your PCs their IP addresses. You really only need 1 IP address if you want to do any of that. Just look in your documentation about port forwarding. You can then forward ports to certain PCs.

IE: forward port 21 to 192.168.1.100 to run an ftp server

A hub won't act like a DHCP server, and I think that may be your answer. But that won't be a wireless connection, AFAIK.

Link to comment
Share on other sites

Just forward all the ports to the computer you want to have all those features ;)

How can I do that?

You're all right: It's a router, and it's working as a DCHP server.

Anyways, I'll include two images. The first one shows the current configuration:

Link to comment
Share on other sites

Does anybody have/know this router's configuration? It can work as a gateway and a router... Seeing as advanced as it is, I think it should be easy to make it work like a simple hub.

My ISP provides two certified IP addresses, so I would like each of my two computers to "grab" its own IP.

Link to comment
Share on other sites

As far as i can see, you dont need to configure anything on the pictures posted. Its all good, you get all from DHCP, both local IP and internet IP. As said earlier you need to forward f.example port 21 to 192.168.1.100 to get a ftp server to work.

Look for port forwarding.

Link to comment
Share on other sites

:whistle: the guys above are right.... but heres my 2 cents...

When your ISP say that you have 2 Static IP addresses, that means u can choose between the two. The way to use these IP addresses, is that the ADSL modem/router or whatever actually is possesses that IP address. Your computers cannot obtain either of them IP addresses, and recieve a local netowrk IP (192.168.x.x). Your computers go on the internet using the modem/router which itself is connected to the internet.

To utilize the static IP addresses that u are able to use, you must use port forwarding. Whenever u want to do something on the internet, you use a specific port. Web is port 80, ftp is port 21, email is 110 and 25. So, to use some sort of this such as a web server on your machine (ie. hosting your own webpage) or have an ftp server or whatever, u need to work out what port they use, and go into your modem/router and forward all requests on that port to whatever machine you have the ftp server or whatever u want to use on. You will need to assign a static internal netowrk address ie 192.168.5 to that machine so that your IP for that computer doesnt change. Im assuming u know what DHCP is, so you will know that if u dont assign an IP to your computer that u want the server program to run on, your IP could change making the port forwarding settings that you set up in your router not to work.

So... if you want to run a web server on your machine, you will firstly assign a static ip of 192.168.0.5 (for example) to the machine. THen set up the webserver on that machine however u want to do that. THen go into your router and forward all requests on port 80 (becuase its a web request, remebering all requests for web use port 80) to 192.168.0.5

and thats pretty much it. So once youve done this, if someone types your address into internet explorer or any other browser, it will hit your router, then the router will forward that request to 192.168.0.5 and viola they have your webpage from your web server on your machine.

If your want to use some other server, just change the port that u forward with, and it will all be sweet!

PS. Being a gateway and router has nothing to do with what u want to do. All you need to set when u set uip a static IP on your local computer (remember its an internal address, not hte static ones that ur ISP gave you, is that your DNS will be whatever ur ISP said u should use, and the gateway will be the LOCAL address of the router)

EDIT: If i learnt to read better it would be good! :unsure:

anyway,your router tells your modem to connect to the internet, so the reason if u connect ur machine directly to the modem it dials, and therefore gets the static IP.

In the router you can specify what IP u want for the internet, and also specify the internal netowrk one too. This should be easy to work out. So the best way to set it up is to attach the modem to the router, and set the router up with the port forwarding as discussed above. Then set it up to continuously connect the modem's ADSL connction, and set the gateway of all the local computers to the LOCAL ip of the ROUTER.

Edited by peeete
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.