Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fighting with MTU on VirtualBox #57

Open
nickbash11 opened this issue Jan 5, 2021 · 0 comments
Open

fighting with MTU on VirtualBox #57

nickbash11 opened this issue Jan 5, 2021 · 0 comments

Comments

@nickbash11
Copy link

nickbash11 commented Jan 5, 2021

I noticed that there is a ticket with number 30, but I am not sure that it is a relative.

My problem revealed on Virtualbox's OpenWrt 19 x86_64, where the packets with size more than 1448 bytes do not reach other node, and I just increased MTU of device up to 1536. It is a rough hack and I hope this problem can be fixed another way.

Correct me if I made a mistake:

/etc/config/network

---cut---
config device 'eth0_mtu1536'
	option name 'eth0'
	option mtu '1536'

config device 'eth0_30'
	option type '8021ad'
	option name 'eth0_30'
	option ifname 'eth0'
	option vid '30'

config interface 'eth0_30_ad'
	option ifname 'eth0_30'
	option auto '1'
---cut---

/etc/config/bmx7

config 'plugin'
        option 'plugin' 'bmx7_config.so'

config 'plugin'
        option 'plugin' 'bmx7_json.so'

config 'plugin'
        option 'plugin' 'bmx7_sms.so'

config 'dev' 'mesh_1'
        option 'dev' 'eth0_30'

config 'plugin'
        option 'plugin' 'bmx7_tun.so'

config tunDev 'tmain'
	option tunDev 'tmain'
	option tun4Address '172.16.1.1/32'

config tunOut 'cloud'
	option tunOut 'cloud'
	option network '172.16.0.0/16'
	option minPrefixLen '24'

/etc/openwrt_release

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.4'
DISTRIB_REVISION='r11208-ce6496d796'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt 19.07.4 r11208-ce6496d796'
DISTRIB_TAINTS=''
@nickbash11 nickbash11 changed the title fighting with MTU again fighting with MTU on VirtualBox Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant