Configure Windows 2008 Server IP Routing

David Davis

Network Administration - With Windows Server 2008, there are a number of network connectivity changes as well as Routing and Remote Access. There are already network services removed in Windows Server 2008 and others you have to use instead. OSPF did not exist in Windows Server 2008 although in our opinion this may be the best dynamic routing protocol created. However, we need to understand Microsoft's decision to remove it because it can take up to 99% of Windows server administrators to use it. So what do we have?

With the removal of OSPF, we only have 1) static routing or 2) dynamic routing with RIPV2. Let's find out how they work.

Should I use dynamic or static routing?

The question is whether you should use dynamic routing or static routing, which is really a question for administrators. How to route it, the end result is still intended to properly route network traffic.

With static routing, you must create an entry on a Windows Server server for each network, each of which will be routed by that server. Thus, for a simple network with a Windows Server, routing traffic between two networks using static routing is a 'no brainer' method. You can configure it just by using two simple commands route add.

In other cases, on a network where you want the Windows Server 2008 system to route to 25 networks or exchange routes with a Cisco network that uses RIP, the way to do this is to choose a dynamic routing method.

But what are the features of dynamic routing here? Let's list their features.

  1. The ability to automatically add networks by learning them from other RIP routers
  1. The ability to automatically remove routes from the routing table when another adjacent RIP deletes them
  1. The ability to choose the best route based on routing metrics
  1. Reducing the configuration of Windows Server routing systems with multiple static routes needs to be added.

So how to configure static and dynamic routing in Windows Server 2008?

Static routing in Windows Server 2008

Static routing in Windows Server is not new. We have used the route command for many years. You can configure static routing in Windows 2008 Server by using the route command or using the user administration interface. However, if you use the GUI interface, these routes will not be listed in the GUI interface when you type route print . Therefore, I recommend that if you use static routing in Windows 2008, use the route command at the Windows command prompt.
Let's take a look at some examples of how to configure static routing using the route command :

Display static routing tables

Displaying static routing tables is quite easy, just use the route print command, see Figure 1 below:

Configure Windows 2008 Server IP Routing Picture 1
Figure 1: Displaying the IP routing table in Windows Server 2008

In the route print output, the most important thing you'll see here is the interface list. Windows Server IP interfaces are labeled with the interface number. The interface number in Figure 1 is 16, 14, 1, 15, 20, and 12. These interface numbers are used whenever you add or delete routes in the routing table.

The second important thing in the output of this command is IPv4 Route Table. This table shows us the network destinations, network mask, default gateway, interface, and metric. It tells' Windows Server to know where to route the traffic.

Below it is an IPv6 routing table

Add a static route

So how can we add a static route using the command? The answer is simple, just use the route add command as follows:

route add 1.1.1.0 mask 255.255.255.0 10.0.1.1 if 1

As you can see in Figure 2, the results for our route addition have been confirmed 'OK!'

Configure Windows 2008 Server IP Routing Picture 2
Figure 2: Using the route add command in Windows 2008

The important thing in the route add command is the network we want to add, its subnet, destination / gateway, and interface for that route.

Delete a static route

Deleting a static route is easier than adding a static route. All we need to do is use the route delete command for the network you want to delete, as shown in Figure 3 below.

Configure Windows 2008 Server IP Routing Picture 3
Figure 3: Use the route delete command in Windows 2008

Above, you have grasped the basics of configuring static routes using the command. Let's learn more about dynamic configuration.

Dynamic routing in Windows Server 2008 using RIPV2

As in the first part of the article, we talked about the advantages of configuring dynamic routing. So now we will give you the steps to configure RIPv2 in Windows 2008:

  1. The first step is to install the Routing and Remote Access (RRAS) role in Windows 2008 Server. If you go to the Add Roles Wizard, the RRAS role can be a bit difficult to find because what you really need to add is the Network Policy and Access Services role then the Routing and Remote Access Services Role (as you see in Figure 4 and 5. ).

Configure Windows 2008 Server IP Routing Picture 4

Figure 4: Adding the RRAS Role through the Network Policy and Access Services

Configure Windows 2008 Server IP Routing Picture 5
Figure 5: Win 2008 Role Services is part of the Network Policy and Access Services role

Once installed, you can configure RRAS from the Server Manager application, but in this tutorial we use the Routing and Remove Access application.

  1. The second part of this implementation is Configure Routing and Remote Access by opening the RRAS MMC, right-clicking on the server name, clicking Configure and Enable Routing and Remote Access as shown in the figure below:
Configure Windows 2008 Server IP Routing Picture 6
Figure 6: Configuring and enabling RRAS

 

Make sure that you make a configuration of what the Custom Configuration options related to RRAS protocol install. Then choose to install LAN ROUTING , then choose to launch the service.

You can see Network Interfaces controlled by RRAS and specific configurations for IPV4 and IPV6.

Here, you can expand the IPV4 section, go to General , then go to New Routing Protocol.

Configure Windows 2008 Server IP Routing Picture 7
Figure 7: Adding a new Routing Protocol

Next, select RIPV2 as your routing protocol.

Configure Windows 2008 Server IP Routing Picture 8
Figure 8: Adding RIP V2

 

  1. Now you have RIPv2 installed and it is possible to configure it. Configuring RIPv2 is really as simple as adding the interfaces you want to use to exchange RIP routes. To do so, go to RIP, right-click it, select New Interface , and then select the interface you want to add in RIP as shown in Figure 9.
Configure Windows 2008 Server IP Routing Picture 9
Figure 9: Add the RIP interface
  1. After selecting the interface, you will have the option to configure a variety of RIP connection properties (as shown in Figure 10).
Configure Windows 2008 Server IP Routing Picture 10
Figure 10: Configuring the RIP interface
  1. When you have added RIP interfaces, check to see if you are sending and receiving responses on RIP interfaces. You can also check if you have any neighboring RIPs by right-clicking on the RIP protocol, then clicking Show Neighbors.

Conclude

Windows Server 2008 has a hard static routing option and a highly flexible dynamic routing option - RIPV2. In this article, I have explained how OSPF has been removed from Windows 2008 and what we have personally felt about it. Besides, we also show you why you should use static routing more than routing. Finally, show you how to configure static routing with route commands and dynamic routing by installing RIPV2 in Windows 2008 Routing and Remote Access .

4.2 ★ | 53 Vote

May be interested

  • How to create a VPN server on Windows without using software?How to create a VPN server on Windows without using software?
    windows integrates functionality as a vpn server even if this option is hidden. this trick applies to both windows 7 and windows 8. this server uses tunneling protocols from point to point.
  • How to browse anonymously with Garlic RoutingHow to browse anonymously with Garlic Routing
    garlic routing is an improved browsing technology, utilizing multiple layers of encryption to anonymize internet traffic from companies, hackers and network service providers.
  • Set up Wi-Fi authentication in Windows Server 2008 - Part 2Set up Wi-Fi authentication in Windows Server 2008 - Part 2
    in this article, i will continue the discussion by configuring the radius function in windows server 2008, introducing how to configure wireless access points and how to configure clients.
  • Install Role, configure role on Windows Server 2012Install Role, configure role on Windows Server 2012
    like previous versions, windows server 2012 has many associated roles. roles and features are tools you need to install or enable to complete your it administration tasks, if you don't install them, you can't do anything. in this article, we will learn how to install and configure the most important roles.
  • Configure Windows Server 2008 to remotely access SSL VPN Server (Part 3)Configure Windows Server 2008 to remotely access SSL VPN Server (Part 3)
    in the previous two articles of this series on how to create an ssl vpn server on windows server 2008, we introduced the basics of vpn connection issues, then went into the configuration of the server. . in this process,
  • Deploy KMS activation on Windows Server 2008Deploy KMS activation on Windows Server 2008
    this section details the process of building and enabling the capabilities of a kms host on a specific server operating system. the operating system decides which kms host key can be installed on that host.
  • Instructions for configuring RIPng routing protocol for IPv6Instructions for configuring RIPng routing protocol for IPv6
    if you are interested in ipv6 technology, you may know that the exhaustion of ipv4 address space is only a matter of time. 2012 is the year for network engineers and people looking to become network engineers to learn how to configure routing protocols for ipv6, especially ripng, eigrp and ospfv3.
  • Configure advanced firewall in Windows Server 2008 using the MMC snap-inConfigure advanced firewall in Windows Server 2008 using the MMC snap-in
    since its inception, the windows server 2003 sp1 firewall has become the basic and necessary option for servers although it only blocks incoming attacks. in windows server 2008, the preinstalled firewall has been greatly upgraded. let's explore the new functions and how to configure the new firewall using the mmc snap-in.
  • Install and configure Windows Server 2008 DHCP ServerInstall and configure Windows Server 2008 DHCP Server
    before you can use advanced dhcp services, you need to install and configure some basic issues. that is the content we will introduce in the article.
  • How to install and configure MySQL server on PiHow to install and configure MySQL server on Pi
    databases like mysql are often the primary component of dynamic web pages and one of the best ways to store data for web applications. mysql is a database management system that allows you to store and maintain large amounts of data with ease.