cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Change MTU Size of Windows TAP-Adapter

Change MTU Size of Windows TAP-Adapter

abdufa
Member

Dear Community,

I am having issues running a snap on the VirtualCore. The snap runs just fine on a native Linux system but when installed on the VirtualCore, connection issues occurs. The error is linked to the MTU size of the network card. On a native linux system the MTU size is changed easily but I do not know how to accomplish this on a (Virtual)Core. 

In Windows I do have access to the settings of the TAP-Adapter of VirtualCore but I cannot go higher than MTU = 1500. I need at least 3000.

I would appreciate any help to solve this issue.


Kind regards

abdufa

5 REPLIES 5

FooFighter
Established Member

Hello,

the setting of our TAP-Win32 adapters MTU defaults to "1500" which is the required setting for ethernet bridging.

For standard use cases this should work. You can find further infos about tap-adapter configurations here:

https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/#tun-tap-driver-setup

As a workaround of your problem you can try to run a virtual control with port forewarding (advanced setting) this may solve your problem.

Regards,

Oliver

Hello,

thank you for the reply. I tried your suggested solution to use port forwarding in the advanced settings section. This comes with more issues because after activating port forwarding the installed snap cannot connect to other devices in the network even if you add the necessary ports to the settings.

Is there any way to increase the size of MTU of the TAP-Adapter?


Regards

abdufa

FooFighter
Established Member

Hello,

I am sorry, but I do not know a solution how to change the MTU size of a TAP-Adapter. This software is used as it is for our use-case.

But do you have checked the posibility with port-forewarding?

From the virtual ctrlX the Windows host PC has the IP address 10.0.2.2.

Maybe you can install a proxy on your pc (px.exe for example) then you need to adjust the fireawall inside the virtual control to use proxy enabled and direct to the px proxy (10.0.2.2:3128).

Regards, Oliver

 

 

Hello,

thank you for your anwer and apologies for the delayed reply! I tried using port forwarding but it came with more issues regarding which ports to forward (which we do not know exactly). Another solution we found was to use a more powerful host pc. That reduced the connections drops.

The question now is: how to run the snap on the realtime cores on the ctrlx so that there are no performance issues? If I install the snap on the ctrlx, it runs on the non-realtime core. 

Regards

CodeShepherd
Community Moderator
Community Moderator

Same questions was posted to this topic. Please have a look there.

In short you have to write a celix bundle to be able to run deterministic with the system.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist