Ip Address Configuration Example; Network Requirements; Configuration Procedure; Verifying The Configuration - H3C MSR 2600 Configuration Manual

Layer 3
Hide thumbs Also See for MSR 2600:
Table of Contents

Advertisement

IP address configuration example

Network requirements

As shown in
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
router, and to enable the hosts on the LAN to communicate with each other:
Assign a primary IP address and a secondary IP address to Ethernet 1/1 on the router.
Set the primary IP address of the router as the gateway address of the PCs on subnet 172.16.1.0/24,
and set the secondary IP address of the router as the gateway address of the PCs on subnet
172.16.2.0/24.
Figure 8 Network diagram

Configuration procedure

# Assign a primary IP address and a secondary IP address to Ethernet 1/1.
<Router> system-view
[Router] interface ethernet 1/1
[Router-Ethernet1/1] ip address 172.16.1.1 255.255.255.0
[Router-Ethernet1/1] ip address 172.16.2.1 255.255.255.0 sub
# Set the gateway address to 172.16.1.1 on the PCs attached to subnet 172.16.1.0/24, and to 172.16.2.1
on the PCs attached to subnet 172.16.2.0/24.

Verifying the configuration

# Ping a host on subnet 172.16.1.0/24 from the router to check the connectivity.
<Router> ping 172.16.1.2
Ping 172.16.1.2 (172.16.1.2): 56 data bytes, press escape sequence to break
Figure
8, Ethernet 1/1 on the router is connected to a LAN comprising two segments:
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents