Second NIC on "local bridge settings" not visible

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
sdonnet31
Posts: 3
Joined: Tue Oct 11, 2022 3:39 pm

Second NIC on "local bridge settings" not visible

Post by sdonnet31 » Tue Oct 11, 2022 4:03 pm

Hi,

I need to create a LAN-2-LAN between 2 sites, as specified in :
https://www.softether.org/4-docs/1-manu ... L2_Bridge)

I created on one site, on a W2016 server, the main SE VPN Server,

I created on second site, on a W2016 server, a SE VPN Bridge.
This server is a VM under ESXi 6.7, and has 2 NIC (identical : VMXNET3).

When trying to create the Local Bridge, it displays only the first NIC. Not the second one.
But for me, they are identical.

I need a second NIC, because relying on the first NIC (which has in this case 2 local networks) create CPU hungs, and huge latencies (loops ?).

Of course, I deleted/recreated second NIC, rebooted several times, ...
Also changed "ShowAllinterfaces" to true, in SE Settings :

Code: Select all

declare LocalBridgeList
	{
		bool EnableSoftEtherKernelModeDriver true
		bool ShowAllInterfaces true
	}
But in all cases, second NIC is not visible.

So, no more ideas for me. If someone has a good idea ?

Sylvain

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: Second NIC on "local bridge settings" not visible

Post by solo » Tue Oct 11, 2022 10:10 pm

Please post as code from the SE Bridge VM:

Code: Select all

ipconfig /all
PS> Get-NetAdapter | Format-List -Property ifAlias,InterfaceDescription,PromiscuousMode
vpncmd localhost:port /server /password:*** /cmd BridgeDeviceList
vpncmd localhost:port /server /password:*** /cmd BridgeList
//replace: *** with SE admin password

sdonnet31
Posts: 3
Joined: Tue Oct 11, 2022 3:39 pm

Re: Second NIC on "local bridge settings" not visible

Post by sdonnet31 » Wed Oct 12, 2022 7:40 pm

Hi,

Thanks a lot for your reply.

Get-Adapter returns my 2 NICs, same driver, different names, one with promiscuousmode TRUE, the other FALSE.

BridgeDeviceList returns also the 2 NIC.

BridgeList returns ONE association VPN<->NIC, with VPN Name="BRIDGE" (which is NOT the name of my vHUB, which is "VPN"), and with the NIC, not visible in the admin GUI.

Is "BridgeList" supposed to list the "local VPN Bridges" ?

So, I decided to re-read the documentation to well understand the concepts. Is there any tuto or doc more detailed on installing a LAN2LAN sith SE ?

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: Second NIC on "local bridge settings" not visible

Post by solo » Wed Oct 12, 2022 8:55 pm

sdonnet31 wrote:
Wed Oct 12, 2022 7:40 pm
Get-Adapter returns... one with promiscuousmode TRUE, the other FALSE.
That's it. To get the 'FALSE' NIC visible on "local bridge" settings, in ESXi set:
  • promiscuous mode enabled
  • mac address changes enabled
  • forged transmits enabled

sdonnet31
Posts: 3
Joined: Tue Oct 11, 2022 3:39 pm

Re: Second NIC on "local bridge settings" not visible

Post by sdonnet31 » Sat Oct 15, 2022 4:06 pm

Yes, thanks a lot for these informations.
I have already set promiscuousmode=Enabled, on ESXi, but not the 2 others settings.

Unfortunately, even after reboot of the VM, nothing changed.
Strange thing : both NIC card are same type (VMXNET3), and one is promiscuous=ON, the other OFF.

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: Second NIC on "local bridge settings" not visible

Post by solo » Sat Oct 15, 2022 10:49 pm

Enable the 2 other settings and on the host run "esxcli network firewall set -enabled false", reboot. If still no go...
Please post as code from the SE Bridge VM:

Code: Select all

ipconfig /all
PS> Get-NetAdapter | Format-List -Property ifAlias,InterfaceDescription,PromiscuousMode
vpncmd localhost:port /server /password:*** /cmd BridgeDeviceList
vpncmd localhost:port /server /password:*** /cmd BridgeList
//replace: *** with SE admin password
VERBATIM data output, not your commentary about it. In addition, from the VM host:

Code: Select all

ipconfig /all
esxcli network ip interface list
esxcli network nic list
esxcli network vswitch standard list
esxcli network vswitch standard portgroup list
Redact public IP and private info, if any, but do not remove anything.

Post Reply