Ip Addressing Configuration Example - H3C S5820X Series Configuration Manual

Layer 3 - ip services
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

To do...
Enter interface view
Assign an IP address to the
interface
An interface can have only one primary IP address. A newly configured primary IP address
overwrites the previous one.
You cannot assign secondary IP addresses to an interface that uses BOOTP, or DHCP to obtain
an IP address.
The primary and secondary IP addresses assigned to an interface can be located on the same
network segment, but the IP addresses of different interfaces must be on different network
segments.

IP Addressing Configuration Example

Network requirements
As shown in
Figure
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.
Use the command...
interface interface-type
interface-number
ip address ip-address { mask |
mask-length } [ sub ]
4-3, a port in VLAN 1 on a switch is connected to a LAN comprising two segments:
––
Required
No IP address is assigned by default.
4-4
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents