Avatar of Sid_F

asked on 

Subnet question

I have four nics in a server, each of the networks connected to each nic require access to the internet.
The nics ips are below, the default gateway is so the first nic works perfect. What subnet should I use for all the networks so they can all communicate with the gateway, thanks.

10.10.224 /24
10.10.225 /24
10.10.226 /24
10.10.227 /24

Avatar of undefined
Last Comment
Brian Murphy
Avatar of lruiz52
Flag of United States of America image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Qlemo
Flag of Germany image

If you want the networks to be isolated from each other, you would have to run RRAS on that server, and use it as default gateway (with the correpsonding NIC address for each network). The default gatewy always needs to be on the same subnet, so you cannot use the correct one directly but on the first subnet.
On the server your only gateway setting should be on the first NIC.
Avatar of Sid_F


Avatar of Qlemo
Flag of Germany image

If you do that (expand the network mask), what sense does using 4 NICs with separate sub-subnets make?
Avatar of Brian Murphy
Brian Murphy
Flag of United States of America image

Depends on whether or not you are using the same switching architecture.

You can have 4 NICs in one server just assign a default gateway to one of them and use static routes.

This is highly contingent on DNS.  You could install Windows DNS on that server and create a "Forwarder" if each NIC represents a different DNS domain then assign the suffix domain on the advanced properties of the NIC configuration.  Simply create a stub zone or forwarder for each of the four.

Does each NIC range of IP's get DHCP addresses?  Where is the DNS for Internet resolution come from?

Are you trying to use that server with 4 NICs as a hub?  Like internet sharing?

Again, assign a gateway to the NIC that has the actual Internet connection.  Install Microsoft DHCP and DNS on that server.  You can bind scopes for those ranges by static IP assigned to your NICs.

You have or want 4 networks of 24-bit mask.

I would consider that you are using an internal IP range.  If this were a true private network I would advise you leverage the correct IPV4 address ranges as defined by RFC-1918.

Technically your 10(dot) range is a class A. IP addresses: --

This is strategically important as it relates to routing.  You can assign 24 bit masks to 4 networks but your switch is layer 2.  Something has to route that traffic between those networks.   This impacts your DHCP scope configuration.  The impacts are too many for listing.

If you have a single internet connection that connection terminates to a single device or modem.  Depending on that equipment that "modem" might terminate to a Internet port on a layer 2 switch or hub that offers DHCP ability from that device.  

The point being the Internet connection uses a single routable IP that might be a NAT or might be a PAT (Cisco PIX Firewall).

You are basically NAT'ing all your internal IP with a address based on information provided.

I would start with one connection, one Gateway and verify your connection.  Discover your ISP routable IP with http://www.whatsmyip.org/.

Take a look at this basic diagram.  Would you agree your in the box?  If you have other servers, other switches and so forth you need the routing piece.

User generated image

Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo