Interface metric – Rockwell Automation 1756-EN2TSC EtherNet/IP Secure Communication User Manual User Manual

Page 41

Advertising
background image

Rockwell Automation Publication ENET-UM003B-EN-P - September 2013

41

Configure a Secure Connection to a Microsoft Windows Client

Chapter 3

Interface Metric

The interface metric specifies an integer cost metric (1…9999) for the route. This
metric is used when choosing among multiple routes in the routing table that
most closely match the destination address of a packet being forwarded.

Use the ipconfig command to identify the IP address of the default

gateway.

Use the route print command to identify the metric of the default gateway.

If you do not want all network traffic to go through the VPN tunnel, set the
metric of the route though the VPN connection to be larger than the metric of
the route through the default gateway. In the example below, the metric is 10; the
interface field metric must be 11 or greater.

C:\>route print

===========================================================================

Interface List

34...........................1.EN2TSC VPN Connection

11...f0 4d a2 20 ee d7 ......Broadcom NetXtreme 57xx Gigabit Controller

18...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1

20...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8

1...........................Software Loopback Interface 1

12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter

13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface

19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2

21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3

22...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4

===========================================================================

IPv4 Route Table

===========================================================================

Active Routes:

Network Destination Netmask Gateway Interface Metric

0.0.0.0 0.0.0.0 10.76.16.1 10.76.16.127

10 <- metric of default gateway

10.76.16.0 255.255.252.0 On-link 10.76.16.127 266

10.76.16.127 255.255.255.255 On-link 10.76.16.127 266

10.76.18.110 255.255.255.255 On-link 10.76.16.127 11

10.76.19.255 255.255.255.255 On-link 10.76.16.127 266

127.0.0.0 255.0.0.0 On-link 127.0.0.1 306

127.0.0.1 255.255.255.255 On-link 127.0.0.1 306

127.255.255.255 255.255.255.255 On-link 127.0.0.1 306

192.168.1.0 255.255.255.0 192.168.1.1 192.168.1.2

11 <- interface field metric for client

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Advertising