EasyManuals Logo

HPE FlexNetwork 5130 EI Series Layer 3-Ip Services Configuration Guide

HPE FlexNetwork 5130 EI Series
265 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #133 background imageLoading...
Page #133 background image
123
[SwitchA-Vlan-interface2] ip address 10.154.5.1 24
# Enable IRDP on VLAN-interface 2.
[SwitchA-Vlan-interface2] ip irdp
# Specify preference 1000 for advertised IP addresses on VLAN-interface 2.
[SwitchA-Vlan-interface2] ip irdp preference 1000
# Specify the multicast address 224.0.0.1 as the destination IP address for RAs sent by
VLAN-interface 2.
[SwitchA-Vlan-interface2] ip irdp multicast
# Specify the IP address 192.168.1.0 and preference 400 for VLAN-interface 2 to
proxy-advertise.
[SwitchA-Vlan-interface2] ip irdp address 192.168.1.0 400
2. Configure Switch B:
# Specify an IP address for VLAN-interface 2.
<SwitchB> system-view
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 10.154.5.2 24
# Enable IRDP on VLAN-interface 2.
[SwitchB-Vlan-interface2] ip irdp
# Specify preference 500 for advertised IP addresses on VLAN-interface 2.
[SwitchB-Vlan-interface2] ip irdp preference 500
# Specify the multicast address 224.0.0.1 as the destination IP address for RAs sent by
VLAN-interface 2.
[SwitchB-Vlan-interface2] ip irdp multicast
# Specify the IP address 192.168.2.0 and preference 400 for VLAN-interface 2 to
proxy-advertise.
[SwitchB-Vlan-interface2] ip irdp address 192.168.2.0 400
Verifying the configuration
# Display the routing table for Host A.
[HostA@localhost ~]$ netstat -rne
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.154.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 10.154.5.1 0.0.0.0 UG 0 0 0 eth1
The output shows that the default route on Host A points to IP address 10.154.5.1, and Host A has
routes to 192.168.1.0/24 and 192.168.2.0/24.
# Display the routing table for Host B.
[HostB@localhost ~]$ netstat -rne
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.154.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 10.154.5.1 0.0.0.0 UG 0 0 0 eth1
The output shows that the default route on Host B points to IP address 10.154.5.1, and Host B has
routes to 192.168.1.0/24 and 192.168.2.0/24.

Table of Contents

Other manuals for HPE FlexNetwork 5130 EI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork 5130 EI Series and is the answer not in the manual?

HPE FlexNetwork 5130 EI Series Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork 5130 EI Series
CategorySwitch
LanguageEnglish

Related product manuals