Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Computer Technical Help
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2006, 09:27 PM
Fryguy Fryguy is offline
Senior Member
 
Join Date: Jul 2004
Posts: 1,227
Default How can I get my network set up the way I want?

I have a gateway/modem that does NAT routing. Along with the gateway, which is assigned an IP, I also have 5 static IPs. The problem is, I assign static IPs to a couple of key computers on the network, and NAT the rest (mostly my wireless connections through a wireless switch used as an access point only, no connection to the wan port, and dhcp turned off). Computers with static IPs can talk to each other, but computers that get an IP from dhcp can't.

How can I fix this, short of using something like hamachi? It seems like I should be able to do this routing in hardware easily, but I can't figure it out.

Here is a pic of my current setup:

http://fryguy.nevercontent.com/mycurrentnetwork.jpg
Reply With Quote
  #2  
Old 09-23-2006, 09:54 PM
goldtoes goldtoes is offline
Senior Member
 
Join Date: Feb 2006
Posts: 1,918
Default Re: How can I get my network set up the way I want?

Ok. NAT means Network Address Translation and really what it does is takes your internal IPs on your network and makes them work on the internet (so it basically goes out to the internet using your one assigned IP from your ISP).

[ QUOTE ]
dhcp turned off). Computers with static IPs can talk to each other, but computers that get an IP from dhcp can't.

[/ QUOTE ]
ok, you say dhcp is turned off...so how can addresses be assigned by dhcp?

i would use static IP's for your certain computers that you want, and use DHCP for the rest that you don't care about.

to ensure that they can talk to each other, you need to make sure their ip's match and subnet masks match.

so say it's a Linksys router, you would want your static IP's to be:
IP: 192.168.1.101 Subnet Mask: 255.255.255.0
IP: 192.168.1.102 Subnet Mask: 255.255.255.0
IP: 192.168.1.103 Subnet Mask: 255.255.255.0
IP: 192.168.1.104 Subnet Mask: 255.255.255.0
IP: 192.168.1.105 Subnet Mask: 255.255.255.0

And you want to enable DHCP and have it start assigning addresses at say, 192.168.1.106, since the others are reserved for your statics.

Hope this made sence, and if you need more help post again.
Reply With Quote
  #3  
Old 09-24-2006, 11:55 AM
Fryguy Fryguy is offline
Senior Member
 
Join Date: Jul 2004
Posts: 1,227
Default Re: How can I get my network set up the way I want?

yah I think you totally misread my post. I got things working.

I turned off dhcp on the wifi router, and had it act as a switch only (layer2). This way the gateway handled all IP allocation.

But because IPs behind the NAT are behind a NAT, the NAT drops broadcast packets, so things like finding windows computernames doesn't work. Just need to set up a local DNS server and I'll be set, for now I'm just using IPs, which are all 1-hops.
Reply With Quote
  #4  
Old 09-24-2006, 05:00 PM
goldtoes goldtoes is offline
Senior Member
 
Join Date: Feb 2006
Posts: 1,918
Default Re: How can I get my network set up the way I want?

ah, sorry for misunderstanding. is it possible to use the ethernet ports on the back of the wifi router instead? would be alot easier than having to mess with DNS.
Reply With Quote
  #5  
Old 09-24-2006, 06:34 PM
Fryguy Fryguy is offline
Senior Member
 
Join Date: Jul 2004
Posts: 1,227
Default Re: How can I get my network set up the way I want?

Well the wifi router is just being used as a switch/access point now, so those ports have the exact same purpose as the ones on the gateway.

If I connect the router as a router, then I lose the ability to give wireless users static IPs.
Reply With Quote
  #6  
Old 09-24-2006, 10:51 PM
goldtoes goldtoes is offline
Senior Member
 
Join Date: Feb 2006
Posts: 1,918
Default Re: How can I get my network set up the way I want?

i don't understand why you would not be able to give the wireless users static IP's. i have a linksys wireless router and i can enable dhcp, but i have the option to change the starting address for the assisnged addresses.

so i use my static ips first, so say .1, .2, .3 and then start dhcp assigning at .4

this should be able to be done within the router, unless you have a cheap brand or maybe an older router?
Reply With Quote
  #7  
Old 09-24-2006, 11:23 PM
Fryguy Fryguy is offline
Senior Member
 
Join Date: Jul 2004
Posts: 1,227
Default Re: How can I get my network set up the way I want?

Statics as in real statics, not internal IPs.
Reply With Quote
  #8  
Old 09-24-2006, 11:29 PM
goldtoes goldtoes is offline
Senior Member
 
Join Date: Feb 2006
Posts: 1,918
Default Re: How can I get my network set up the way I want?

so when you say they "can't see each other" you're specifically talking about hostnames, but they can reach each other via IP.

then i guess DNS is the only problem. but it may be easier just to go add entries into your Hosts file instead of setting up an internal DNS server.
Reply With Quote
  #9  
Old 09-25-2006, 10:45 AM
Shroomy Shroomy is offline
Senior Member
 
Join Date: Apr 2006
Location: Miami FLA
Posts: 465
Default Re: How can I get my network set up the way I want?

[ QUOTE ]
Statics as in real statics, not internal IPs.

[/ QUOTE ]

Oh .. much different problem.
The issue is that your DNS server has your static IP's but not your NAT ip's the only way I can think of to have things work like you want is to set up a domain.
Reply With Quote
  #10  
Old 09-25-2006, 10:49 AM
Shroomy Shroomy is offline
Senior Member
 
Join Date: Apr 2006
Location: Miami FLA
Posts: 465
Default Re: How can I get my network set up the way I want?

[ QUOTE ]
then i guess DNS is the only problem. but it may be easier just to go add entries into your Hosts file instead of setting up an internal DNS server.

[/ QUOTE ]

the host file is a good idea, but I dont think it will work.
The problem is that the static IP's are listed in his ISP's DNS server so the the machines with the NAT internal IP's can see the static machines, but the static machines can not see the NAT ones.

The host file wont work because the NAT machines IP's will change sometimes.

and all the dns lookups are happening not at the router, but past the router at the ISP's dns servers.


Thinking about it a bit, the easiest thing would be if the wifi router can do ip forwarding, and just plug all the PC's into the wifi router instead of the cablemodem/router.

So all yor static ips would have an internal and external IP. That way all the machines can talk to each other.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.