banner



How To Change Default Gateway Windows Server 2012

For the correct functioning of the network on Windows, regardless of whether the connection redundancy option is ordered for a server or non, it is necessary to set upwards link teaming (aggregate two physical interfaces into a logical one).

Servers with link aggregation accept v network ports. Two ports are continued to a pair of switches in the private network, 2 ports are connected to a pair of switches in the public network, and one port is connected to the out-of-band (OOB) management network.

Link teaming (aka link assemblage) is configured for each pair of public and private ports. We utilize the LACP protocol for link aggregation. In line with our interface naming convention, "aggi" is the name of the individual network aggregation interface, and "agge" is the proper noun of the public network assemblage interface.

Setting up link assemblage

To set upward teaming separately for the individual network and for the public network, open up Server Manager, get to the tab "Local Server" and in the "Properties" window side by side to the line "NIC Teaming" click "Disabled".

To set up teaming separately for the private network and for the public network

In the appearing window, in the "Teams" section, select "New Team" from the drop-down "Tasks" menu.

In the appearing window, in the Teams section, select New Team from the drop-down Tasks menu

Let'southward set upward a squad for the individual network showtime.

  1. Gear up the name of a squad to "aggi".
  2. Select "int1" and "int2" network adapters as member adapters.
  3. Select "LACP" in the "Teaming manner" drop-down listing.
  4. Leave "Load balancing mode" to "Dynamic" as information technology is.
  5. Click "OK".

Set the name of a team to aggi

If your system has other names listed in the "Fellow member adapters" section, delight contact our technical support.

The process of setting upwards the public network is pretty the same, except for "Squad proper name" which is "agge", and for "Member adapters" which are "ext1" and "ext2".

The process of setting up the public network is pretty the same, except for Team name which is agge, and for Member adapters which are ext1 and ext2

Configuring IPv4

After both teamed interfaces are created, IPv4 settings for each of them must be inverse. Y'all volition need to know the private IP address of your server, the public IP accost and gateways addresses which are available on the server'south Details folio in the Customer Portal:

You will need to know the private IP address of your server, the public IP address and gateways addresses which are available on the server's Details page in the Customer Portal

To make changes to IPv4 settings, open "Control Console > Network and Internet > Network and Sharing Center > Alter adapter settings" window. Correct-click on the interface named "aggi" and select "Backdrop" to view network interface settings.

To make changes to IPv4 settings, open Control Panel > Network and Internet > Network and Sharing Center > Change adapter settings

Select "Internet Protocol Version 4 (TCP / IPv4)" in the list of protocols in the appearing window and click "Properties".

Internet Protocol Version 4 (TCP / IPv4) in the list of protocols in the appearing window

Enter the post-obit values:

  • IP accost: [Private IP address of your server]
  • Subnet mask: 255.255.255.248
  • Default gateway: leave blank
  • Preferred DNS server: 192.168.8.88
  • Alternate DNS server: 192.168.8.8
  • Subsequently the data has been entered, click "OK".

After the data has been entered click ok

Practise the same procedure for the public network interface ("agge") using the following values:

  • IP address: [Public IP address of your server]
  • Subnet mask: 255.255.255.248
  • Default gateway: [Gateway IP accost for the public network]
  • Preferred DNS server: Leave bare
  • Alternate DNS server: Leave blank
  • After the data has been entered, click "OK".

Do the same procedure for the public network interface

Adding static routes

Side by side, for the right operation of the network, yous need to add together static routes. To do this, printing Ctrl + Win + R. In the actualization dialogue, type "cmd" and click "OK" to open Control Prompt. Run the following command to discover out network interfaces numbers:

netsh int ipv4 show interfaces

In this sample output, you can run across that "aggi" index is 5, and "agge" index is eight.

Adding static routes

At present you need to run the post-obit commands replacing brackets with bodily data:

road -p add 192.168.0.0 mask 255.255.0.0 [Private_Gateway_IP] if [Private_Interface_ID] route -p add 188.42.208.0 mask 255.255.248.0 [Private_Gateway_IP] if [Private_Interface_ID] route -p add together x.0.0.0 mask 255.0.0.0 [Private_Gateway_IP] if [Private_Interface_ID]        

Using data from examples above, it will be:

road -p add 192.168.0.0 mask 255.255.0.0 10.148.197.76 if 5 road -p add 188.42.208.0 mask 255.255.248.0 x.148.197.76 if 5 route -p add ten.0.0.0 mask 255.0.0.0 x.148.197.76 if five        

You're done!

Source: https://www.servers.com/support/knowledge/windows-administration/how-to-configure-network-on-windows-server-2012

Posted by: deansthiletwed.blogspot.com

0 Response to "How To Change Default Gateway Windows Server 2012"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel