problems with Hyper-v ethernet external connection
I am using Hyper-v with ubuntu20.04. I want to set static IP. I created external virtual switch. I try few things to set address. Through ifconfig (ifconfig eth0 192.168.0.70/24), through netplan. When I change from default switch to external switch eth0 is down. What I am doung wrong.
2: etho: <NO-CARRIER BROADCAST, MULTICAST UP> mtu 1500 con qdisc mq state down group default qlen 1000 link/ether ..
inet 192.168.0.70/2 brd 192.168.0.255 scope global eth0 4 Reset to default