No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Service

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Connecting a Single Device to an NLB Cluster (Using Physical Link Loopback)

Example for Connecting a Single Device to an NLB Cluster (Using Physical Link Loopback)

Networking Requirements

In Figure 2-28, the Switch connects to three NLB servers respectively through GE0/0/1, GE0/0/2, and GE0/0/3.

Figure 2-28  Connecting a single device to an NLB cluster in unicast mode

The NLB cluster works in unicast mode, the cluster IP address is 10.128.246.252/24, and the cluster MAC address is 02bf-0a80-f6fc. There are reachable routes between the Switch and Client.

The customer requires that the Switch be able to send the Client's packets destined for the NLB cluster IP address to all NLB servers.

Configuration Roadmap

The configuration roadmap is as follows:

  1. Add GE0/0/1 through GE0/0/3 that are directly connected to NLB servers to VLAN 100.
  2. Disable STP, RSTP, VBST, or MSTP on GE0/0/4 and GE0/0/5, and add the interfaces to VLAN 100 and VLAN 200 respectively in access mode.
  3. Configure an IP address for VLANIF 200 that functions as the NLB cluster's gateway.
  4. Connect GE0/0/4 and GE0/0/5.

Procedure

  1. Add GE0/0/1 through GE0/0/3 that are directly connected to NLB servers to VLAN 100.

    <HUAWEI> system-view
    [HUAWEI] sysname Switch
    [Switch] vlan batch 100 200
    [Switch] interface gigabitethernet 0/0/1
    [Switch-GigabitEthernet0/0/1] port link-type access
    [Switch-GigabitEthernet0/0/1] quit
    [Switch] interface gigabitethernet 0/0/2
    [Switch-GigabitEthernet0/0/2] port link-type access
    [Switch-GigabitEthernet0/0/2] quit
    [Switch] interface gigabitethernet 0/0/3
    [Switch-GigabitEthernet0/0/3] port link-type access
    [Switch-GigabitEthernet0/0/3] quit
    [Switch] vlan 100
    [Switch-vlan100] port gigabitethernet 0/0/1 to 0/0/3
    [Switch-vlan100] quit
    

  2. Configure GE0/0/4 and GE0/0/5.

    # Disable STP, RSTP, VBST, or MSTP on GE0/0/4 and GE0/0/5.

    [Switch] interface gigabitethernet 0/0/4
    [Switch-GigabitEthernet0/0/4] undo stp enable
    [Switch-GigabitEthernet0/0/4] quit
    [Switch] interface gigabitethernet 0/0/5
    [Switch-GigabitEthernet0/0/5] undo stp enable
    [Switch-GigabitEthernet0/0/5] quit

    # Add GE0/0/4 and GE0/0/5 to VLAN 100 and VLAN 200 respectively in access mode.

    [Switch] interface gigabitethernet 0/0/4
    [Switch-GigabitEthernet0/0/4] port link-type access
    [Switch-GigabitEthernet0/0/4] port default vlan 100
    [Switch-GigabitEthernet0/0/4] quit
    [Switch] interface gigabitethernet 0/0/5
    [Switch-GigabitEthernet0/0/5] port link-type access
    [Switch-GigabitEthernet0/0/5] port default vlan 200
    [Switch-GigabitEthernet0/0/5] quit

  3. Configure an IP address for the NLB cluster's gateway.

    [Switch] interface vlanif 200
    [Switch-Vlanif200] ip address 10.128.246.250 24
    [Switch-Vlanif200] quit
    

  4. Connect GE0/0/4 and GE0/0/5.

    After the previous configurations, connect physical links.

  5. Verify the configuration.

    Verify that Server_1 through Server_3 can receive packets destined for the NLB cluster IP address.

Configuration Files

Switch configuration file

#
sysname Switch
#
vlan batch 100 200
#                                                                               
interface Vlanif200                                                             
 ip address 10.128.246.250 255.255.255.0                                        
#                                                                               
interface GigabitEthernet0/0/1              
 port link-type access                                                          
 port default vlan 100                                                
# 
interface GigabitEthernet0/0/2              
 port link-type access                                                          
 port default vlan 100                                                  
#                                                                               
interface GigabitEthernet0/0/3              
 port link-type access                                                          
 port default vlan 100                                                  
#                                                                               
interface GigabitEthernet0/0/4              
 port link-type access                                                          
 port default vlan 100                                                          
 stp disable                                                                    
# 
interface GigabitEthernet0/0/5              
 port link-type access                                                          
 port default vlan 200                                                          
 stp disable                                                                    
# 
return
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065678

Views: 26719

Downloads: 191

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next