Hyper-V SoftEther Vlan
-
- Posts: 9
- Joined: Sun Jun 28, 2015 1:20 pm
Hyper-V SoftEther Vlan
Hello EveryBody
Here is my topology
i have one site with 3 vlans and a remote site
i want to carry on the vlan functionality to remote site so i can use in the virtual machines there.
however i tried every possible way i can think of but no luck
is softether not compatible with microsoft hyper-v virtual switch drivers ?
or is there another way that i am missing
Thank you in advance
MK
Here is my topology
i have one site with 3 vlans and a remote site
i want to carry on the vlan functionality to remote site so i can use in the virtual machines there.
however i tried every possible way i can think of but no luck
is softether not compatible with microsoft hyper-v virtual switch drivers ?
or is there another way that i am missing
Thank you in advance
MK
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Hyper-V SoftEther Vlan
What kind of setup do you want?
1. A virtual hub passing VLAN tags
2. A virtual hub per VLAN
1. A virtual hub passing VLAN tags
2. A virtual hub per VLAN
-
- Posts: 9
- Joined: Sun Jun 28, 2015 1:20 pm
Re: Hyper-V SoftEther Vlan
I want a Virtual Hub Passing Vlans
thanks
thanks
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Hyper-V SoftEther Vlan
Can you show your original setup?
-
- Posts: 9
- Joined: Sun Jun 28, 2015 1:20 pm
Re: Hyper-V SoftEther Vlan
Please see attached config files for both locations
thank you very much
thank you very much
You do not have the required permissions to view the files attached to this post.
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Hyper-V SoftEther Vlan
It seems that you are bridging the virtual hub to the Virtual Ethernet adapter of your server. However, I find that it does not pass VLANs(test with Windows 8.1).
I think you should install a client on your server as well.
Assign VLANs to different accounts in the Security Policies in the Softether VPN Server.
Add one connection in the vpn client per VLAN and bridge each connection to the virtual switch.
I think you should install a client on your server as well.
Assign VLANs to different accounts in the Security Policies in the Softether VPN Server.
Add one connection in the vpn client per VLAN and bridge each connection to the virtual switch.
Last edited by kh_tsang on Mon Jun 29, 2015 11:17 am, edited 1 time in total.
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Hyper-V SoftEther Vlan
Otherwise, you can have two NICs on your server and connect them together outside your server.
One NIC for bridging with the virtual hub and another NIC for the Vritual Switch in Hyper-V.
Finally, assign VLANs to the VMs.
One NIC for bridging with the virtual hub and another NIC for the Vritual Switch in Hyper-V.
Finally, assign VLANs to the VMs.
-
- Posts: 9
- Joined: Sun Jun 28, 2015 1:20 pm
Re: Hyper-V SoftEther Vlan
that seems to be a reasonable solution
i will try and let you know
thanks
i will try and let you know
thanks
-
- Posts: 9
- Joined: Sun Jun 28, 2015 1:20 pm
Re: Hyper-V SoftEther Vlan
Finally made it :)
here are the steps to resolve the issue
softether vpn servers need to be installed under the virtual machines
enable mac address spoofing and both virtual machine networks need to be in trunk mode here is the powershell command
Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "1,10-..." -VMName "VMName" -NativeVlanId 0
after this just do regular installation and everything should work flawlessly
hope this helps someone with the same issue
Thank you kh_tsang for making me think differently
here are the steps to resolve the issue
softether vpn servers need to be installed under the virtual machines
enable mac address spoofing and both virtual machine networks need to be in trunk mode here is the powershell command
Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "1,10-..." -VMName "VMName" -NativeVlanId 0
after this just do regular installation and everything should work flawlessly
hope this helps someone with the same issue
Thank you kh_tsang for making me think differently
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Hyper-V SoftEther Vlan
In the documentation, similar command also applies to the management OS.
https://technet.microsoft.com/en-us/lib ... .630).aspx
Therefore, passing VLANs on the virtual Ethernet adapter on the host operating system may also work if the command line tool is used. Have you tried that before?
https://technet.microsoft.com/en-us/lib ... .630).aspx
Therefore, passing VLANs on the virtual Ethernet adapter on the host operating system may also work if the command line tool is used. Have you tried that before?
-
- Posts: 551
- Joined: Wed Jul 24, 2013 12:09 pm
Re: Hyper-V SoftEther Vlan
Yes, the following really works so that the VPN server can be installed on the host.
Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "1,10-..." -ManagementOS -NativeVlanId 0
Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "1,10-..." -ManagementOS -NativeVlanId 0
-
- Posts: 9
- Joined: Sun Jun 28, 2015 1:20 pm
Re: Hyper-V SoftEther Vlan
kh_tsang;
I confirm it works as well
thank you very much for your time
I confirm it works as well
thank you very much for your time
-
- Posts: 4
- Joined: Mon Jun 12, 2017 3:14 am
Re: Hyper-V SoftEther Vlan
Worked to get me the MAC addresses in the list but don't show up in the IP list...
So close, what did I miss?
So close, what did I miss?