Getting my PC and Wireless Router Static PERMANENTLY

Need help? Post your questions here.

Moderator: moderators

Getting my PC and Wireless Router Static PERMANENTLY

Postby ck100 » Tue Jun 14, 2011 3:06 am

Ok, so I'm tired of chasing my IP addresses around for my computer on the wireless router. It's a netgear router and it currently has the computer that I run subsonic on at 192.168.1.2. I have setup this PC as 192.168.8 in the "LAN IP SETUP" tab, but it still re=registers as 192.168.2 or whatever else as new device connect to the router. My question is how do I keep these the same so they don't change everytime something happen that moves them around? Also, I can access from my subsonic.org domain from the PC that is attached to my router, but no one outside my network can login to subsonic??? How do I open this port permanently?????
ck100
 
Posts: 34
Joined: Sat Jan 09, 2010 7:26 pm

Postby alphawave7 » Tue Jun 14, 2011 4:18 am

On the pc hosting Subsonic, go into lan settings, Internet Protocol (TCP/IP), and UNcheck 'Obtain an IP address automatically' and instead select 'Use The Following IP Address'
IP 192.168.1.2
Subnet 255.255.255.0
Gateway 192.168.1.1 (assuming your router is 1.1)

Reboot after this change, and ensure the new settings stick. Then, using your router's manual, open your chosen port number (eg. 8080) for TCP, and reboot your router. Ensure the new settings stuck, and test with canyouseeme.org for your chosen port number. G'Luck!
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby vancamp » Tue Jun 14, 2011 5:18 am

alphawave7 wrote:On the pc hosting Subsonic, go into lan settings, Internet Protocol (TCP/IP), and UNcheck 'Obtain an IP address automatically' and instead select 'Use The Following IP Address'
IP 192.168.1.2
Subnet 255.255.255.0
Gateway 192.168.1.1 (assuming your router is 1.1)

Reboot after this change, and ensure the new settings stick. Then, using your router's manual, open your chosen port number (eg. 8080) for TCP, and reboot your router. Ensure the new settings stuck, and test with canyouseeme.org for your chosen port number. G'Luck!

If you hard-wire the address on the PC (rather than reserve it on the router) you should also make sure that the router doesn't think that address still belongs to its DHCP address pool. Otherwise there could be scenarios where the address is assigned twice... not so good.
vancamp
 
Posts: 40
Joined: Wed Aug 11, 2010 7:00 am

Postby alphawave7 » Tue Jun 14, 2011 6:31 am

vancamp wrote:
alphawave7 wrote:On the pc hosting Subsonic, go into lan settings, Internet Protocol (TCP/IP), and UNcheck 'Obtain an IP address automatically' and instead select 'Use The Following IP Address'
IP 192.168.1.2
Subnet 255.255.255.0
Gateway 192.168.1.1 (assuming your router is 1.1)

Reboot after this change, and ensure the new settings stick. Then, using your router's manual, open your chosen port number (eg. 8080) for TCP, and reboot your router. Ensure the new settings stuck, and test with canyouseeme.org for your chosen port number. G'Luck!

If you hard-wire the address on the PC (rather than reserve it on the router) you should also make sure that the router doesn't think that address still belongs to its DHCP address pool. Otherwise there could be scenarios where the address is assigned twice... not so good.


Routers query/ack before assigning IP's, but if his server is down when a router is booting, this indeed could happen, to which he'd simply get a duplicate IP warning on his server, another router reboot cures. Typically, most folks run their routers many months without a reboot, and even when they do, routers tend to automatically allocate the same IP map from previous sessions. To the OP, you can also establish the DHCP IP pool to start well above the number of devices you posess (eg. 192.168.1.90 through 192.168.1.99) and manually assign IP's to all devices you own, with router starting on 1.1, server 1.2 and so on.
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby GJ51 » Tue Jun 14, 2011 4:21 pm

I just assign my fixed internal ip addresses from the top down at the highest addresses in the range. My servers are at 192.168.1.254,253,252 ...249

Routers typically assign DHCP from the bottom up. By assigning the fixed ip addresses from the top down it is unlikley that DHCP will conflict with the fixed addresses.

It's probably overkill, but I define the fixed addresses both in the router AND at the NIC in the server. It might be overkill, but it is rock solid. I've never had a fixed ip get changed set up this way.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby carbonrough » Tue Jun 14, 2011 6:53 pm

@ ck100

Do as alphawave7 suggests in his first post.

Generally the LAN Setup in a Netgear router pertains to the IP address of the ROUTER not your PC. Also within this section of the router, DHCP can be turned on or off along with configuring you DHCP scope for dishing out IP addresses dynamically(sp?).

If was setting this up, I would change the LAN Setup(LAN TCP/IP Setup) back to 192.168.1.1 then follow alphaware7 suggestion .... then all should work :-)

Anyways hope that helps.

Peace

CR.
User avatar
carbonrough
 
Posts: 28
Joined: Thu Oct 22, 2009 2:36 pm

Postby carbonrough » Tue Jun 14, 2011 6:54 pm

@ ck100

Do as alphawave7 suggests in his first post.

Generally the LAN Setup in a Netgear router pertains to the IP address of the ROUTER not your PC. Also within this section of the router, DHCP can be turned on or off along with configuring you DHCP scope for dishing out IP addresses dynamically(sp?).

If was setting this up, I would change the LAN Setup(LAN TCP/IP Setup) back to 192.168.1.1 then follow alphaware7 suggestion .... then all should work :-)

Anyways hope that helps.

Peace

CR.

e2a: oops twitchy fingers, any mods, could you please delete this duplicate post. Thanks.
User avatar
carbonrough
 
Posts: 28
Joined: Thu Oct 22, 2009 2:36 pm

Postby itsthesource » Tue Jun 21, 2011 4:10 am

As an alternative, some routers have the ability to reserve an ip address based upon your network card's MAC address.
User avatar
itsthesource
 
Posts: 22
Joined: Thu Jan 06, 2011 2:30 am
Location: Richmond, VA


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests