Network segment routing

KTM200
KTM200 used Ask the Experts™
on
Hi all,

This is my scenario:

1 physical network with two subnets, 1st network has IP range 10.5.2.1/22 and second is 192.168.0.1/24. Each segment has its own DHCP server

My gateway is on the 1st segment 10.5.2.1.

I assume i need a router between these networks and this is where my knowledge is limited.

What kind of router is required?
How to i stop the DHCP servers broadcasting on the different networks?
How do i get network 2 to access the internet through my gateway on network 1?
What should my DHCP settings be on network 2 to access my gateway on network 1?

Much appreciated
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David AtkinTechnical Director
Top Expert 2015

Commented:
What are you trying to accomplish?  Do you just want both networks to be able to access the internet?
bbaoIT Consultant

Commented:
> What kind of router is required?

any router including a Windows computer with IP routing enabled.

the router may have a single LAN interface routing the two subnets on the same physical network. in this case, the router must be able to support multihome: multiple IP addresses on the same physical interface.

> How to i stop the DHCP servers broadcasting on the different networks?

NO way. only one DHCP and one subnet is allowed on the physical network as there is only one broadcast domain.

> How do i get network 2 to access the internet through my gateway on network 1?

through the router, if the router's default gateway is pointed to 10.5.2.1.

> What should my DHCP settings be on network 2 to access my gateway on network 1?

commonly DHCP option 03 is for default gateway. however, as mentioned above, only one DHCP server is allowed on a physical network.

hope it helps,
bbao

Author

Commented:
Thank you bbao,

regarding the router and the gateway, i assume one side of the router would have an IP on network 2 and another on network 1.

Would the gateway for network 2 be the IP address of the router (say 192.168.0.1) which then points to 10.5.2.1 on network 1?
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Author

Commented:
Hi Scorpeo,

Correct, i need both networks to access the internet and if possible to access my DC on network 1. Can i get network 2 communicating with my DC for user logons by adding the 192.168.0.x range to a second network card on my DC or can this be done at the router in the middle?
bbaoIT Consultant

Commented:
Yes and Yes.
Routers can forward dhcp requests. So only one dhcp server is needed with 2 scopes. Set up a server w/ 3 network cards, 1 for internet and the others for the 2 segments. Ive had to use Routing and remote access with nat enabled for all machines to connect to internet. Maybe more than what you need but its fairly easy and how I have my house setup.
David AtkinTechnical Director
Top Expert 2015

Commented:
What router do you have?

I believe you could do it by doing the following:

You would assign one ethernet port on your router to one network (giving it an IP in that network) and another ethernet port on the router to the other (again giving an IP in that network).

Basic Example
Port 1 could be - 192.168.0.1
Port 2 could be - 10.5.2.1
Port 3 (WAN) - Would be connected to the internet and would be the Routers default gateway.

You would set DHCP on each networks to specify the port IP as the default gateway for that network. It wont be transmitted between networks because they are on separate ports.

I am unsure how you would get this to work with the DC on the other network though.


Another idea is to use VLAN's.  Connect one network to port 1 on the router and assign it to VLAN 1.  Connect the other network to port 2 and assign to VLAN2.  Connect the DC to another port on the router and assign it to both VLAN1 and VLAN2.

Author

Commented:
Hi Scorpeo,

I dont have a router yet and that is also something i would like to get a suggestion on, is any router capable of doing this or should i be looking at some kind of Cisco device?
Technical Director
Top Expert 2015
Commented:
Not every router is capable of doing it.  You would have to do a little more research into how it would work first.

SonicWall's are a personal favorite for Routers but depending on how involving your setup is you may want to look at Cisco's.  It would be worth getting the opinion of a local service company though.
bbaoIT Consultant

Commented:
> is any router capable of doing this or should i be looking at some kind of Cisco device?

if it is for a small or test environment, a Windows server or even a Windows XP/7 computer can do that. see below.

How to Enable TCP/IP Forwarding in Windows XP
http://support.microsoft.com/kb/315236

for enterprise environment, you may consider getting a good router or a Layer 3 switch. it does not need to be a decent Cisco device, any enterprise router/switch should be capable doing two-subnet routing. :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial