Change MTU on iSCSI interfaces

Ste
133 Posts
March 17, 2025, 11:44 amQuote from Ste on March 17, 2025, 11:44 amHello,
i'm trying to change the MTU to 9000 on iSCSI interfaces (eth3 and eth5), which were left to 1500 at installation time. I went to the file /opt/petasan/config/etc/network/interfaces, but i see only the management interface:
auto eth2
iface eth2 inet static
address 10.0.2.131
netmask 255.255.252.0
gateway 10.0.2.1
dns-nameservers 10.0.2.11
I guess i should add a section dedicated to eth3 and eth5, but I cannot set it as static neither dhcp, i'm afraid. Is there another way to do it in PetaSAN ?
Thanks and bye, Ste
Hello,
i'm trying to change the MTU to 9000 on iSCSI interfaces (eth3 and eth5), which were left to 1500 at installation time. I went to the file /opt/petasan/config/etc/network/interfaces, but i see only the management interface:
auto eth2
iface eth2 inet static
address 10.0.2.131
netmask 255.255.252.0
gateway 10.0.2.1
dns-nameservers 10.0.2.11
I guess i should add a section dedicated to eth3 and eth5, but I cannot set it as static neither dhcp, i'm afraid. Is there another way to do it in PetaSAN ?
Thanks and bye, Ste
Last edited on March 17, 2025, 11:45 am by Ste · #1

admin
2,957 Posts
March 18, 2025, 1:07 amQuote from admin on March 18, 2025, 1:07 amnetwork configuration is in
/opt/petasan/config/cluster_info.json
It is pretty easy to follow, but it may be easier to create a test vm, deploy it with desired network configuration then grab the above file.
/etc/network/interfaces is only used during node boot.
network configuration is in
/opt/petasan/config/cluster_info.json
It is pretty easy to follow, but it may be easier to create a test vm, deploy it with desired network configuration then grab the above file.
/etc/network/interfaces is only used during node boot.

Ste
133 Posts
March 26, 2025, 10:43 amQuote from Ste on March 26, 2025, 10:43 amOk, after changing this file do i need to reboot the nodes ?
Thanks, Ste
Ok, after changing this file do i need to reboot the nodes ?
Thanks, Ste

admin
2,957 Posts
March 26, 2025, 3:58 pmQuote from admin on March 26, 2025, 3:58 pmyes, you should also make sure you set them on switch ports and on your clients.
yes, you should also make sure you set them on switch ports and on your clients.
Change MTU on iSCSI interfaces
Ste
133 Posts
Quote from Ste on March 17, 2025, 11:44 amHello,
i'm trying to change the MTU to 9000 on iSCSI interfaces (eth3 and eth5), which were left to 1500 at installation time. I went to the file /opt/petasan/config/etc/network/interfaces, but i see only the management interface:
auto eth2
iface eth2 inet static
address 10.0.2.131
netmask 255.255.252.0
gateway 10.0.2.1
dns-nameservers 10.0.2.11I guess i should add a section dedicated to eth3 and eth5, but I cannot set it as static neither dhcp, i'm afraid. Is there another way to do it in PetaSAN ?
Thanks and bye, Ste
Hello,
i'm trying to change the MTU to 9000 on iSCSI interfaces (eth3 and eth5), which were left to 1500 at installation time. I went to the file /opt/petasan/config/etc/network/interfaces, but i see only the management interface:
auto eth2
iface eth2 inet static
address 10.0.2.131
netmask 255.255.252.0
gateway 10.0.2.1
dns-nameservers 10.0.2.11
I guess i should add a section dedicated to eth3 and eth5, but I cannot set it as static neither dhcp, i'm afraid. Is there another way to do it in PetaSAN ?
Thanks and bye, Ste
admin
2,957 Posts
Quote from admin on March 18, 2025, 1:07 amnetwork configuration is in
/opt/petasan/config/cluster_info.json
It is pretty easy to follow, but it may be easier to create a test vm, deploy it with desired network configuration then grab the above file.
/etc/network/interfaces is only used during node boot.
network configuration is in
/opt/petasan/config/cluster_info.json
It is pretty easy to follow, but it may be easier to create a test vm, deploy it with desired network configuration then grab the above file.
/etc/network/interfaces is only used during node boot.
Ste
133 Posts
Quote from Ste on March 26, 2025, 10:43 amOk, after changing this file do i need to reboot the nodes ?
Thanks, Ste
Ok, after changing this file do i need to reboot the nodes ?
Thanks, Ste
admin
2,957 Posts
Quote from admin on March 26, 2025, 3:58 pmyes, you should also make sure you set them on switch ports and on your clients.
yes, you should also make sure you set them on switch ports and on your clients.