FAQ  •  Register  •  Login

Windows 10 Hyper-V default switch (two network cards)

<<

haji

Serviio newbie

Posts: 3

Joined: Sat Mar 02, 2019 3:34 pm

Post Sat Mar 02, 2019 3:51 pm

Windows 10 Hyper-V default switch (two network cards)

Hi,

Since I upgrade my windows 10 to version 1809 I have a default switch (Hyper-V installed) which is can not be delete. So I have two Hyper-V virtual ethernet adapter and many times there is no bound ip address (adapter) when computer start so Serviio doesn't work (inaccessible from the network). I have to choose the proper network card via console save the settings and stop then start the server for the good working environment.

May I ask is there any permanent solution to bound the right IP address / network card ? Or is there any command line feature to script these command when the computer starts? Automatically detect settings doesn't work for me...

Thank you in advance

B.
<<

atc98092

User avatar

DLNA master

Posts: 3235

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sat Mar 02, 2019 6:43 pm

Re: Windows 10 Hyper-V default switch (two network cards)

Do your cards always have the same IP address? If so, you should be able to set the Serviio network to always use the card. If they always have a different IP address, I'd assign a static IP and try that.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku 4, Ultra and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

haji

Serviio newbie

Posts: 3

Joined: Sat Mar 02, 2019 3:34 pm

Post Sat Mar 02, 2019 7:12 pm

Re: Windows 10 Hyper-V default switch (two network cards)

first of all thank you for your answer

So, I have used fix IP address both of card (I thought) but based on your advice I have checked again and recognize that IPv6 use dhcp option so I have disable IPv6 on my network card which I want to use for Serviio.

Since then I have restarted my computer twice and it seems Serviio remember the network card settings

I hope it will be permanent

Thank you for ypur help
<<

haji

Serviio newbie

Posts: 3

Joined: Sat Mar 02, 2019 3:34 pm

Post Mon Mar 04, 2019 9:09 am

Re: Windows 10 Hyper-V default switch (two network cards)

Hi,

Finally I have found the solution. OS (windows 10 version 1809) on every start regenerated the Hyper-V default switch and changed the IP address also from a wide range pool, so I made a simple trick: I have created and scheduled a script (.cmd) at computer startup
-
PING localhost -n 10 >NUL
netsh interface ipv4 set address name="vEthernet (Default Switch)" static 172.17.135.54 255.255.255.0
-
and set Serviio service to automatic (delayed start). Therefore it always use the same ip address and Servioo keep the bound configuration properly.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 15 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.