Setting The Mtu Of Ipv4 Packets Sent Over An Interface; Setting Tcp Mss For An Interface - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

Configuration procedure
1.
Configure Switch A:
# Specify IP addresses for VLAN-interface 3 and VLAN-interface 2.
<SwitchA> system-view
[SwitchA] interface vlan-interface 3
[SwitchA-Vlan-interface3] ip address 1.1.1.2 24
[SwitchA-Vlan-interface3] quit
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 2.2.2.2 24
# Enable VLAN-interface 2 to forward directed broadcasts directed for the directly connected
network.
[SwitchA-Vlan-interface2] ip forward-broadcast
2.
Configure Switch B:
# Configure a static route to the host.
<SwitchB> system-view
[SwitchB] ip route-static 1.1.1.1 24 2.2.2.2
# Specify an IP address for VLAN-interface 2.
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 2.2.2.1 24
After the configurations are completed, if you ping the subnet-directed broadcast address 2.2.2.255
on the host, VLAN-interface 2 of Switch B can receive the ping packets. If you delete the ip
forward-broadcast configuration on any switch, the interface cannot receive the ping packets.
Setting the MTU of IPv4 packets sent over an
interface
When a packet exceeds the MTU of IPv4 packets sent over an interface, the device processes the
packet in one of the following ways:
If the packet disallows fragmentation, the device discards it.
If the packet allows fragmentation, the device fragments it and forwards the fragments.
Fragmentation and reassembling consume system resources, so set the MTU based on the network
environment to avoid fragmentation.
To set the MTU of IPv4 packets sent over an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Set the MTU of IPv4 packets
sent over the interface.

Setting TCP MSS for an interface

The maximum segment size (MSS) option informs the receiver of the largest segment that the
sender can accept. Each end announces its MSS during TCP connection establishment. If the size
Command
system-view
interface interface-type
interface-number
ip mtu mtu-size
140
Remarks
N/A
N/A
By default, the MTU of IPv4
packets sent over the interface is
not set.

Advertisement

Table of Contents
loading

Table of Contents