Ip Address Configuration Example Ii - H3C S5100-SI Series Operation Manual

Hide thumbs Also See for S5100-SI Series:
Table of Contents

Advertisement

Operation Manual – IP Address and Performance Optimization
H3C S5100-SI/EI Series Ethernet Switches
III. Configuration procedure
# Configure an IP address for VLAN-interface 1.
<Switch> system-view
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] ip address 129.2.2.1 255.255.255.0

1.4.2 IP Address Configuration Example II

I. Network requirements
As shown in
two segments: 172.16.1.0/24 and 172.16.2.0/24.
To enable the hosts on the two network segments to communicate with the external
network through the switch, and the hosts on the LAN can communicate with each
other, do the following:
Assign two IP addresses to VLAN-interface 1 on the switch.
Set the switch as the gateway on all PCs in the two networks.
II. Network diagram
Figure 1-4 Network diagram for IP address configuration
III. Configuration procedure
# Assign a primary IP address and a secondary IP address to VLAN-interface 1.
<Switch> system-view
[Switch] interface Vlan-interface 1
[Switch-Vlan-interface1] ip address 172.16.1.1 255.255.255.0
[Switch-Vlan-interface1] ip address 172.16.2.1 255.255.255.0 sub
Figure
1-4, a port in VLAN 1 on a switch is connected to a LAN comprising
Chapter 1 IP Addressing Configuration
1-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents