Page 1 of 1

Second NIC on "local bridge settings" not visible

Posted: Tue Oct 11, 2022 4:03 pm
by sdonnet31
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

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

Posted: Tue Oct 11, 2022 10:10 pm
by solo
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

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

Posted: Wed Oct 12, 2022 7:40 pm
by sdonnet31
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 ?

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

Posted: Wed Oct 12, 2022 8:55 pm
by solo
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

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

Posted: Sat Oct 15, 2022 4:06 pm
by sdonnet31
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.

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

Posted: Sat Oct 15, 2022 10:49 pm
by solo
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.