openmptcprouter icon indicating copy to clipboard operation
openmptcprouter copied to clipboard

MacVLAN DHCP

Open himekifee opened this issue 3 years ago • 9 comments

Is your feature request related to a problem? Please describe.

When adding mptcp wan interface, only normal device has protocol DHCP support.

Describe the solution you'd like

Enable DHCP when choosing MacVLAN.

Describe alternatives you've considered

Manually add a macvlan device and use it when choosing base device. However, the existing device will be overwritten when config changed.

himekifee avatar Sep 10 '22 16:09 himekifee

I'd also like a mac address setting for that as my internet provider requires mac registration. Thanks.

himekifee avatar Sep 10 '22 16:09 himekifee

DHCP on MacVLAN interface is not supported Why do you need this ?

Ysurac avatar Sep 11 '22 17:09 Ysurac

By what means not supported? My apartment has ask4 restricting mac address. I'm trying to have single eth but multiple interfaces with different mac address to aggregation.

himekifee avatar Sep 11 '22 18:09 himekifee

Why not using Static IP on each different WAN using single ETH? Forget about DHCP, it won't work on this setup

I am assuming you are trying to get DHCP as client for each WAN, right?

ccmks avatar Sep 13 '22 09:09 ccmks

Why not using Static IP on each different WAN using single ETH? Forget about DHCP, it won't work on this setup

I am assuming you are trying to get DHCP as client for each WAN, right?

No, it does not work with static IP. Their weird implementation forbids you. I tried but only have internet access through DHCP. I don't really wanna do reverse engineering on this. For your question, the answer is yes.

himekifee avatar Sep 13 '22 10:09 himekifee

You can set what you want using Network->Interfaces.

Ysurac avatar Sep 18 '22 17:09 Ysurac

I mean, I can. But MPTCP luci setting will override my manual modifications on interfaces so If change anything in MPTCP, I need to manually reconfigure the interfaces over and over again.

himekifee avatar Sep 20 '22 14:09 himekifee

At least you tried and confirm it's working ?

Ysurac avatar Sep 20 '22 14:09 Ysurac

Well, not really. It showed all green but the link speed is only one portion. From ifconfig can see all traffic went through the first interface. Not sure if it is isp blocking. If I use mptcp over wg VPN, the mptcp check won't pass(without VPN won't pass either).

himekifee avatar Sep 20 '22 14:09 himekifee

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Dec 19 '22 19:12 github-actions[bot]