Q

Gateway-IP for subnets

I defined five subnets in my W2k network with the private IP 192.168.0.0. What I want to know is which Gateway-IP should I use for the subnets?

The default gateway defines the address of the router for your network. The default gateway for each client would point at the router interface for that subnet.

For instance, if you defined a subnet 192.168.1.0 and the IP address for the router interface on that subnet were 192.168.1.254, then all the clients in that subnet would have their default gateway set for 192.168.1.254.

You can have a single DHCP server with separate scopes for each subnet. Set the IP Helper in the router to point at this DHCP server.

Are you using a Windows 2000 server as the router? If so, then you would need to have one address from each subnet bound to the NIC in that server. Use the TCP/IP Properties | Advanced option to do this.

You also need to enabled Routing and Remote Access Services (RRAS) in a Network Router configuration. The console for this is under Programs | Administrative Tools.

The Windows 2000 server acting as a router would have no default gateway unless you want it to route to another network such as the Internet. If so, then define a default gateway in RRAS that points at the Internet router.

This was first published in March 2001

Dig deeper on Windows Server and Network Security

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close