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 Stack to an NLB Cluster (Using Physical Link Loopback)

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

Networking Requirements

In Figure 2-30, Switch_1 and Switch_2 form a stack and are directly connected to two NLB servers respectively through GE0/0/1 and GE1/0/1.

Figure 2-30  Connecting a stack to an NLB cluster in multicast mode

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

The customer requires that the stack 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 and GE1/0/1 that are directly connected to NLB servers to VLAN 100.
  2. Add GE0/0/4 and GE1/0/4 to Eth-Trunk 4, and GE0/0/5 and GE1/0/5 to Eth-Trunk 5.
  3. Disable STP, RSTP, VBST, or MSTP on Eth-Trunk 4 and Eth-Trunk 5, and add Eth-Trunk 4 and Eth-Trunk 5 to VLAN 100 and VLAN 200 respectively in access mode.
  4. Configure an IP address for VLANIF 200 that functions as the NLB cluster's gateway.
  5. Configure a static ARP entry. In the static ARP entry, the IP address is the cluster IP address, the MAC address is the cluster multicast MAC address, and the outbound interface is the interface where the VLAN to which the NLB cluster's gateway belongs is configured.
  6. Connect GE0/0/4 and GE0/0/5 as well as GE1/0/4 and GE1/0/5.

Procedure

  1. Add interfaces directly connected to NLB servers to VLAN 100.

    # Add GE0/0/1 to VLAN 100.

    <HUAWEI> system-view
    [HUAWEI] sysname Stack
    [Stack] vlan batch 100 200
    [Stack] interface gigabitethernet 0/0/1
    [Stack-GigabitEthernet0/0/1] port link-type access 
    [Stack-GigabitEthernet0/0/1] port default vlan 100
    [Stack-GigabitEthernet0/0/1] quit
    

    # Add GE1/0/1 to VLAN 100.

    [Stack] interface gigabitethernet 1/0/1
    [Stack-GigabitEthernet1/0/1] port link-type access 
    [Stack-GigabitEthernet1/0/1] port default vlan 100
    [Stack-GigabitEthernet1/0/1] quit
    

  2. Add interfaces to Eth-Trunks.

    # Add GE0/0/4 and GE1/0/4 to Eth-Trunk 4.

    [Stack] interface eth-trunk 4
    [Stack-Eth-Trunk4] quit
    [Stack] interface gigabitethernet 0/0/4
    [Stack-GigabitEthernet0/0/4] eth-trunk 4
    [Stack-GigabitEthernet0/0/4] quit
    [Stack] interface gigabitethernet 1/0/4
    [Stack-GigabitEthernet1/0/4] eth-trunk 4
    [Stack-GigabitEthernet1/0/4] quit

    # Add GE0/0/5 and GE1/0/5 to Eth-Trunk 5.

    [Stack] interface eth-trunk 5
    [Stack-Eth-Trunk5] quit
    [Stack] interface gigabitethernet 0/0/5
    [Stack-GigabitEthernet0/0/5] eth-trunk 5
    [Stack-GigabitEthernet0/0/5] quit
    [Stack] interface gigabitethernet 1/0/5
    [Stack-GigabitEthernet1/0/5] eth-trunk 5
    [Stack-GigabitEthernet1/0/5] quit

  3. Configure Eth-Trunk 4 and Eth-Trunk 5.

    # Disable STP, RSTP, VBST, or MSTP on Eth-Trunk 4 and Eth-Trunk 5.

    [Stack] interface eth-trunk 4
    [Stack-Eth-Trunk4] undo stp enable
    [Stack-Eth-Trunk4] quit
    [Stack] interface eth-trunk 5
    [Stack-Eth-Trunk5] undo stp enable
    [Stack-Eth-Trunk5] quit
    

    # Add Eth-Trunk 4 and Eth-Trunk 5 to VLAN 100 and VLAN 200 respectively in access mode.

    [Stack] interface eth-trunk 4
    [Stack-Eth-Trunk4] port link-type access
    [Stack-Eth-Trunk4] port default vlan 100
    [Stack-Eth-Trunk4] quit
    [Stack] interface eth-trunk 5
    [Stack-Eth-Trunk5] port link-type access
    [Stack-Eth-Trunk5] port default vlan 200
    [Stack-Eth-Trunk5] quit

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

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

  5. Configure a static ARP entry. In the static ARP entry, the IP address is the cluster IP address 10.128.246.252, the MAC address is the cluster multicast MAC address 03bf-0a80-f6fc, and the outbound interface is Eth-Trunk 5 in VLAN 200.

    [Stack] arp static 10.128.246.252 03bf-0a80-f6fc vid 200 interface eth-trunk 5 

  6. Connect GE0/0/4 and GE0/0/5 on Switch_1, and GE1/0/4 and GE1/0/5 on Switch_2.

    After the previous configurations, connect physical links.

  7. Verify the configuration.

    Verify that Server_1 and Server_2 can receive packets destined for the NLB cluster IP address.

Configuration Files

Stack configuration file

#
sysname Stack
#
vlan batch 100 200
#                                                                               
interface Vlanif200                                                             
 ip address 10.128.246.250 255.255.255.0                                        
#
interface Eth-Trunk4                                                            
 port link-type access                                                          
 port default vlan 100                                                          
 stp disable                                                                    
#                                                                                
interface Eth-Trunk5                                                            
 port link-type access                                                          
 port default vlan 200                                                          
 stp disable                                                                    
#                                                                                
interface GigabitEthernet0/0/1                                                 
 port link-type access                                                          
 port default vlan 100                                               
# 
interface GigabitEthernet0/0/4
 eth-trunk 4
# 
interface GigabitEthernet0/0/5
 eth-trunk 5
# 
interface GigabitEthernet1/0/1                                                 
 port link-type access                                                          
 port default vlan 100                                                
#                                                                               
interface GigabitEthernet1/0/4                                                 
 eth-trunk 4                                                                    
#                                                                               
interface GigabitEthernet1/0/5                                                 
 eth-trunk 5                                                                    
#
arp static 10.128.246.252 03bf-0a80-f6fc vid 200 interface Eth-Trunk5 
#
return
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065678

Views: 25073

Downloads: 163

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