Ubuntu 20.04 LTS WSL2 Windows 10 Networking/connectivity issue

fresh install
Linux mybox 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I am unable to ping. it seems that there are no netplan configs, the folder is there but not .yaml configs.

”’/etc/network$ ls -lta
total 16
drwxr-xr-x 92 root root 4096 Aug 10 08:21 ..
drwxr-xr-x 2 root root 4096 Apr 22 23:42 if-up.d
drwxr-xr-x 2 root root 4096 Apr 22 23:42 if-pre-up.d
drwxr-xr-x 4 root root 4096 Apr 22 23:41 .”’

I am unable to ifconfig -a :
”’$ ifconfig -a

Command ‘ifconfig’ not found, but can be installed with:

sudo apt install net-tools”’

no interfaces file:
”/etc/network$ ls -lta
total 16
drwxr-xr-x 92 root root 4096 Aug 10 08:21 ..
drwxr-xr-x 2 root root 4096 Apr 22 23:42 if-up.d
drwxr-xr-x 2 root root 4096 Apr 22 23:42 if-pre-up.d
drwxr-xr-x 4 root root 4096 Apr 22 23:41 .””

”’$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 96::2e brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether a6::70 brd ff:ff:ff:ff:ff:ff
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00::09 brd ff:ff:ff:ff:ff:ff
inet 172.23.69.191/20 brd 172.23.79.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fe52:ea09/64 scope link
valid_lft forever preferred_lft forever
5: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0”’

tried to restart, uninstall/reinstall no luck with the same result.

Please advise

Go to Source
Author: ninjaneer