How do I get my IP address through my router?

ScottyB

Diamond Member
Jan 28, 2002
6,677
1
0
I have a netgear router and its ip address is 192.16X.X.1 (with extra numbers) and I use that to log into my router and it assigns my computer 192.16X.X.3 but isn't that a fake one set up by the router or someting? I just want to know how I can get my real ip address so I can host games and a small web page.
 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
You should be able to get it by checking the status of the connection through your routers menu. Do you have it in there??
 

ScottyB

Diamond Member
Jan 28, 2002
6,677
1
0
Originally posted by: pillage2001
You should be able to get it by checking the status of the connection through your routers menu. Do you have it in there??

okay I got this in my router 65.4x.2xx.5x
and this 64.10x.7x.2x in game spy, but I can't get anything to work. I am trying port forwad with my router but I don't know what to forward, I also put apache in my c: drive and put a index.html file in the C:\apache_1.3.27\htdocs folder but I cna't get anything to work.
 

Willoughbyva

Diamond Member
Sep 26, 2001
3,267
0
0
Might not want to post your whole ip address.

Does your ISP give you a new ip address every time or is it static?
 

ScottyB

Diamond Member
Jan 28, 2002
6,677
1
0
Originally posted by: Willoughbyva
Might not want to post your whole ip address.

Does your ISP give you a new ip address every time or is it static?

I think it is static. I have seen the one before, I have DSL but my router dials the number and is always on. They also said I cna put up a server no prob.
 

Willoughbyva

Diamond Member
Sep 26, 2001
3,267
0
0
I'm not much on networking, but if you list the games others might have hosted them behind a router and know which ports etc. to allow. Also the game makers website might have documentation or the documantation that came with the game.

I'm not much on networking, but I am pretty good at researching stuff, so post the games and I will try to find the info.

Will
 

ScottyB

Diamond Member
Jan 28, 2002
6,677
1
0
Originally posted by: Willoughbyva
I'm not much on networking, but if you list the games others might have hosted them behind a router and know which ports etc. to allow. Also the game makers website might have documentation or the documantation that came with the game.

I'm not much on networking, but I am pretty good at researching stuff, so post the games and I will try to find the info.

Will

Well its not just games, it the whole shabang( games, html, ftp, etc.)


I can play games over the net as it is, I just want to host games on my computer.
 

gsaldivar

Diamond Member
Apr 30, 2001
8,691
1
81
You need to spend some time and read the manual for your router.

Specifically, the feature you are looking for is called "NAT (Network Address Translation)" or "Port Forwarding".

This feature allows you to specify special port numbers that the router will forward from your public IP to your private IP. Using this feature, all incoming traffic on specific port numbers will be forwarded directly to your {C behind the router, as if the router itself didn't exist. It will then become possible for you to host games on your PC from behind a firewall.
 

KingNothing

Diamond Member
Apr 6, 2002
7,141
1
0
Originally posted by: gsaldivar
You need to spend some time and read the manual for your router.

Specifically, the feature you are looking for is called "NAT (Network Address Translation)" or "Port Forwarding".

This feature allows you to specify special port numbers that the router will forward from your public IP to your private IP. Using this feature, all incoming traffic on specific port numbers will be forwarded directly to your {C behind the router, as if the router itself didn't exist. It will then become possible for you to host games on your PC from behind a firewall.

Yep. The reason you can play games is that your computer is initiating the request, so the router is sending information from the game server back to your computer. For serving stuff though, other computers initiate the request, which the router will ignore by default for security reasons. You need to figure out what ports different services are using and forward them from the router to your computer. (FYI, ftp needs 21 (and 20?) and also some ports for PASV mode up in the thousands range.) Your computer will need a static IP for this, a 192.16x.x.1 is fine as long as it stays the same.
 

PCMarine

Diamond Member
Oct 13, 2002
3,277
0
0
Yes you need to forward the ports you use. So if you run an FTP server, you open up port 21. Then someone can access your FTP server from your public IP.
 

ScottyB

Diamond Member
Jan 28, 2002
6,677
1
0
Originally posted by: PCMarine
Yes you need to forward the ports you use. So if you run an FTP server, you open up port 21. Then someone can access your FTP server from your public IP.

I tried all that but its not working.
 

fatbaby

Banned
May 7, 2001
6,427
1
0
Originally posted by: DoNotDisturb
just check it online. www.whatismyip.com

err i tried running a cs server and had a lanned computer connect to that over the internet and my server won't show up
 

Jennerstein

Member
Jan 7, 2003
83
0
0
Most routers have built-in software for Network Address Translation (mentioned by a poster above). Such software is mostly administration oriented. It will give you your real IP address, and open/route specific traffic to an IP address, etc.

You can usually access your software by typing http://192.168.0.1 in your browser. You'll then have to login with a username/password (this is where your user manual is important, because chances are you haven't actually changed the default settings). The manual will usually tell you the default username/password.

After logging in, there'll be a place to see your real IP address and assign ports to a specific local address (i.e. 192.168.0.100).

That's the process in a nutshell...my roommates and all share one Cable connection with six computers using a router and switch. I was able to program the router and setup FTP, HTTP sites even with my computer behind the switch and router.
 

darkmanlfe

Junior Member
Dec 26, 2002
21
0
0
you just need to map a port that the game can use.
you need to go to ur router config and specify it.

-> DSL(your IP) -> Router (NAT) router assigns another IP to your computer...
this is what happens if you have a router... u dont get the original ip from ur carrier...