Multicast arp configuration example i, Network requirements – H3C Technologies H3C S10500 Series Switches User Manual
Page 20

9
# Create VLAN 10.
[Switch] vlan 10
[Switch-vlan10] quit
# Add interface GigabitEthernet 1/0/1 to VLAN 10.
[Switch] interface GigabitEthernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-type trunk
[Switch-GigabitEthernet1/0/1] port trunk permit vlan 10
[Switch-GigabitEthernet1/0/1] quit
# Create interface VLAN-interface 10 and configure its IP address.
[Switch] interface vlan-interface 10
[Switch-vlan-interface10] ip address 192.168.1.2 24
[Switch-vlan-interface10] quit
# Configure a static ARP entry that has IP address 192.168.1.1, MAC address 00e0-fc01-0000, and
output interface GigabitEthernet 1/0/1 in VLAN 10.
[Switch] arp static 192.168.1.1 00e0-fc01-0000 10 GigabitEthernet 1/0/1
# Display information about static ARP entries.
[Switch] display arp static
Type: S-Static D-Dynamic A-Authorized
IP Address MAC Address VLAN ID Interface Aging Type
192.168.1.1 00e0-fc01-0000 10 GE1/0/1 N/A S
Multicast ARP configuration example I
Network requirements
As shown in
, a small data center uses Microsoft multicast-mode NLB. To enable the switch to
cooperate with NLB, perform the following configuration:
•
Use the interfaces on the EB, EA, or SE card of the switch to connect to the hosts and servers.
•
Add GigabitEthernet 4/0/2 and GigabitEthernet 4/0/3 into VLAN 10, and specify IP address
16.1.1.1/24 for VLAN-interface 10.
•
Add GigabitEthernet 3/0/4 and GigabitEthernet 3/0/1 into VLAN 20, and specify IP address
10.0.0.1/24 for VLAN-interface 20.
•
Disable the ARP entry check function so that the switch can learn dynamic ARP entries containing
multicast MAC addresses.
•
Configure a static multicast MAC address entry so that only interfaces GigabitEthernet 4/0/2 and
GigabitEthernet 4/0/3 can receive multicast information.
•
Specify 10.0.0.1/24 as the default gateway of Host A and Host B.
•
Specify 16.1.1.1/24 as the default gateway of Server A and Server B.