Change Internet Interface Priority
Posted: Tue Dec 15, 2015 10:33 pm
I have two Interfaces.
IF1 is connected to router (static DHCP).
IF2 is static IP; no router.
Both connected to Internet.
When someone VPNs in, they get Internet access thru IF1. I want to be able to control which IF to use for Internet.
I have some static routes defined in windows which uses different Internet connection for different destinations. Softether is not respecting that and just using IF1 always. If I disable IF1, softether uses IF2.
How can I solve this issue?
I tried a few things in Layer 3 switch but no result.
Thanks.
OS: Win10x64
ipconfig /all
Ethernet adapter Amber:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 00-1D-0F-C0-D3-B8
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::d34:735a:46ee:9747%22(Preferred)
IPv4 Address. . . . . . . . . . . : 118.179.177.XXX(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . : 118.179.177.XXX
DHCPv6 IAID . . . . . . . . . . . : 164126720
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
DNS Servers . . . . . . . . . . . : 8.8.8.8
4.2.2.2
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Link3:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82579V Gigabit Network Connection
Physical Address. . . . . . . . . : C8-60-00-C6-78-13
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::681c:4e1a:8cdd:fab0%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.2.3(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, December 15, 2015 14:07:36
Lease Expires . . . . . . . . . . : Thursday, December 17, 2015 02:07:37
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DHCPv6 IAID . . . . . . . . . . . : 130572288
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
DNS Servers . . . . . . . . . . . : 192.168.2.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter 6TO4 Adapter:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2002:76b3:b1a2::76b3:b1a2(Preferred)
Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
DHCPv6 IAID . . . . . . . . . . . : 419430400
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
DNS Servers . . . . . . . . . . . : 8.8.8.8
4.2.2.2
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 94-DB-C9-8A-AA-0B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{B94A4EDE-B014-4FCD-A302-ABDBF59241E9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:90d7:3495:2dca:e46c:4c7a(Preferred)
Link-local IPv6 Address . . . . . : fe80::3495:2dca:e46c:4c7a%20(Preferred)
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 687865856
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{EC4CB179-9DF1-4C44-975C-1871C9972B04}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Softether build 9570
Softether VPN server/client
IF1 is connected to router (static DHCP).
IF2 is static IP; no router.
Both connected to Internet.
When someone VPNs in, they get Internet access thru IF1. I want to be able to control which IF to use for Internet.
I have some static routes defined in windows which uses different Internet connection for different destinations. Softether is not respecting that and just using IF1 always. If I disable IF1, softether uses IF2.
How can I solve this issue?
I tried a few things in Layer 3 switch but no result.
Thanks.
OS: Win10x64
ipconfig /all
Ethernet adapter Amber:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 00-1D-0F-C0-D3-B8
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::d34:735a:46ee:9747%22(Preferred)
IPv4 Address. . . . . . . . . . . : 118.179.177.XXX(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . : 118.179.177.XXX
DHCPv6 IAID . . . . . . . . . . . : 164126720
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
DNS Servers . . . . . . . . . . . : 8.8.8.8
4.2.2.2
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Link3:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82579V Gigabit Network Connection
Physical Address. . . . . . . . . : C8-60-00-C6-78-13
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::681c:4e1a:8cdd:fab0%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.2.3(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, December 15, 2015 14:07:36
Lease Expires . . . . . . . . . . : Thursday, December 17, 2015 02:07:37
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DHCPv6 IAID . . . . . . . . . . . : 130572288
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
DNS Servers . . . . . . . . . . . : 192.168.2.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter 6TO4 Adapter:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2002:76b3:b1a2::76b3:b1a2(Preferred)
Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
DHCPv6 IAID . . . . . . . . . . . : 419430400
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
DNS Servers . . . . . . . . . . . : 8.8.8.8
4.2.2.2
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 94-DB-C9-8A-AA-0B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{B94A4EDE-B014-4FCD-A302-ABDBF59241E9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:90d7:3495:2dca:e46c:4c7a(Preferred)
Link-local IPv6 Address . . . . . : fe80::3495:2dca:e46c:4c7a%20(Preferred)
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 687865856
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-88-3D-70-00-1D-0F-C0-D3-B8
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{EC4CB179-9DF1-4C44-975C-1871C9972B04}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Softether build 9570
Softether VPN server/client