microsoft / microsoft/WSL

MPLS support on WSL2

Open
#5,404 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature kconfig
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

MPLS is supported in linux kernel since 4.3, however it seems its not supported in WSL kernel.

I have been using WSL2 for testing MPLS features, however i am getting the below errors, i am testing with Juniper cRPD which works well in terms of Ip routing on WSL, however MPLS isn't working, there are other features like MS SONiC which will be impacted by non-support of MPLS.

Appreciate any support to resolve the issue.

adkaul@adkaul-win10:$ uname -a Linux adkaul-win10 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 
adkaul@adkaul-win10:$ docker --version Docker version 19.03.8, build afacb8b7f0 

adkaul@adkaul-win10:$ sudo modprobe mpls_router modprobe: FATAL: Module mpls_router not found in directory /lib/modules/4.19.104-microsoft-standard 

adkaul@adkaul-win10:$ sudo modprobe mpls_iptunnel modprobe: FATAL: Module mpls_iptunnel not found in directory /lib/modules/4.19.104-microsoft-standard 
adkaul@adkaul-win10:~$

https://www.juniper.net/documentation/en_US/crpd/topics/task/multi-task/cRPD-Linux-Server-Docker-Routing-Mode.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the WSL2 kernel configuration and module availability for mpls_router and mpls_iptunnel, using the reported modprobe failures as the baseline. Done should mean those modules load on the reported WSL2 kernel and MPLS features work for the described routing use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux
Domain
networking, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.