Skip to content

Commit 16a5623

Browse files
Mention Jumbo Frames for VPC MTU (#7221) (#5180)
Signed-off-by: Modular Magician <[email protected]>
1 parent 0680a77 commit 16a5623

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.changelog/7221.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
compute: fixed wrong maximum limit description for possible VPC MTUs
3+
```

google-beta/resource_compute_network.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@ If the field is not speficied, then a /48 range will be randomly allocated from
9797
Computed: true,
9898
Optional: true,
9999
ForceNew: true,
100-
Description: `Maximum Transmission Unit in bytes. The minimum value for this field is 1460
101-
and the maximum value is 1500 bytes.`,
100+
Description: `Maximum Transmission Unit in bytes. The default value is 1460 bytes.
101+
The minimum value for this field is 1300 and the maximum value is 8896 bytes (jumbo frames).
102+
Note that packets larger than 1500 bytes (standard Ethernet) can be subject to TCP-MSS clamping or dropped
103+
with an ICMP 'Fragmentation-Needed' message if the packets are routed to the Internet or other VPCs
104+
with varying MTUs.`,
102105
},
103106
"routing_mode": {
104107
Type: schema.TypeString,

website/docs/r/compute_network.html.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,11 @@ The following arguments are supported:
9696

9797
* `mtu` -
9898
(Optional)
99-
Maximum Transmission Unit in bytes. The minimum value for this field is 1460
100-
and the maximum value is 1500 bytes.
99+
Maximum Transmission Unit in bytes. The default value is 1460 bytes.
100+
The minimum value for this field is 1300 and the maximum value is 8896 bytes (jumbo frames).
101+
Note that packets larger than 1500 bytes (standard Ethernet) can be subject to TCP-MSS clamping or dropped
102+
with an ICMP `Fragmentation-Needed` message if the packets are routed to the Internet or other VPCs
103+
with varying MTUs.
101104

102105
* `enable_ula_internal_ipv6` -
103106
(Optional)

0 commit comments

Comments
 (0)