Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm pretty new at networking and I'm not sure how to make all router connections go to a different subnet.

For example my subnet mask is 255.255.255.0 and I have three scopes: 10.0.1.1-255 / 10.0.2.1-255 / 10.0.3.1-255 .
I want to make all router connections go for example to 10.0.5.1-50 . So should I make some kind of policy on the DHCP server or what?

share|improve this question
    
That is way to broad a question. Maybe set down 3 points. 1. What subnets do you want to route. 2. How many routers do you want to use. 3. How are the subnets separated? –  NickW Mar 6 '13 at 13:20
    
hmm maybe i asked wrong , is it possible that dhcp server would see the difference between physical and wireless connection because they are going through the same switch and are in the same subnet scope, the only thing i need is just that from 10.0.1 they would go to 10.0.4 for example. –  Marius Mar 6 '13 at 14:16
    
You're kind of mixing and matching things, you can assign gateway (default router) addresses through DHCP, but usually you need to identify the clients in some manner to allow the DHCP server to distribute different IPs and gateway routers. You could use MAC addresses, or have traffic from different networks arrive on different NICs.. –  NickW Mar 6 '13 at 14:22
    
if its default gateway then it will only find the ones who are going outside the network, and what about if you assign access point address? –  Marius Mar 6 '13 at 14:40
    
If your default gateway is attached to all the subnets, it can let people talk to all the subnets. Anyhow, I still don't understand what you're looking to do, you need to explain what you have (subnets, routers, clients) and what you want (one router for the wireless, one for the wired, for example..). –  NickW Mar 6 '13 at 14:51

1 Answer 1

You have to alter the routing table of your router or firewall. Not the DHCP server unless this is what connects all 3 subnets. This is googlable, and you can also visit this post for more info on routing tables.

share|improve this answer
    
well i'm not sure because i'm a new intern at this company and my supervisor asked me to this and he said it doesnt have anything to do with the routing tables it should be something with policies or something like that. –  Marius Mar 6 '13 at 14:00
    
Just so we're clear, you want subnet A to talk to subnet B, correct? The only way to do that is to tell the router that they are supposed to talk to each other, otherwise they will only talk to their own subnet. –  BigHomie Mar 6 '13 at 14:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.