Ipsg Configuration Examples; Static Ipv4Sg Configuration Example - HP MSR Series Configuration Manual

Hpe flexnetwork msr router series
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

IPSG configuration examples

Static IPv4SG configuration example

Network requirements
As shown in
Configure static IPv4SG bindings on Device A and Device B to meet the following requirements:
GigabitEthernet 2/0/2 of Device A allows only IP packets from Host C to pass.
GigabitEthernet 2/0/1 of Device A allows only IP packets from Host A to pass.
GigabitEthernet 2/0/1 of Device B allows IP packets from Host B to pass.
Figure 157 Network diagram
GE2/0/2
Host A
IP: 192.168.0.1/24
MAC: 0001-0203-0406
Configuration procedure
1.
Configure Device A:
# Configure IP addresses for the interfaces. (Details not shown.)
# Enable IPv4SG on GigabitEthernet 2/0/2.
<DeviceA> system-view
[DeviceA] interface gigabitethernet 2/0/2
[DeviceA-GigabitEthernet2/0/2] ip verify source ip-address mac-address
# On GigabitEthernet 2/0/2, configure a static IPv4SG binding for Host C.
[DeviceA-GigabitEthernet2/0/2] ip source binding ip-address 192.168.0.3 mac-address
0001-0203-0405
[DeviceA-GigabitEthernet2/0/2] quit
# Enable IPv4SG on GigabitEthernet 2/0/1.
[DeviceA] interface gigabitethernet 2/0/1
[DeviceA-GigabitEthernet2/0/1] ip verify source ip-address mac-address
# On GigabitEthernet 2/0/1, configure a static IPv4SG binding for Host A.
[DeviceA-GigabitEthernet2/0/1] ip source binding ip-address 192.168.0.1 mac-address
0001-0203-0406
[DeviceA-GigabitEthernet2/0/1] quit
2.
Configure Device B:
# Configure an IP address for each interface. (Details not shown.)
# Enable IPv4SG on GigabitEthernet 2/0/2.
<DeviceB> system-view
[DeviceB] interface gigabitethernet 2/0/2
Figure
157, all hosts use static IP addresses.
GE2/0/1
Device A
GE2/0/1
Device B
Host B
IP: 192.168.0.2/24
MAC: 0001-0203-0407
GE2/0/2
Host C
IP: 192.168.0.3/24
MAC : 0001-0203-0405
519

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents