networking - USB Modem changed IPV4 route table Metric of LAN to 4237 windows 7 -


i using 2 network interfaces (below).

scenario 1: lan connected metric=12 of ipv4 route table.

      ipv4 route table     ===========================================================================     active routes:      network destination        netmask          gateway       interface  metric              0.0.0.0          0.0.0.0        10.12.1.2       10.12.1.13     12             10.12.1.0    255.255.255.0         on-link        10.12.1.13    262            10.12.1.13  255.255.255.255         on-link        10.12.1.13    262           10.12.1.255  255.255.255.255         on-link        10.12.1.13    262             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             224.0.0.0        240.0.0.0         on-link         127.0.0.1    306             224.0.0.0        240.0.0.0         on-link        10.12.1.13    262       255.255.255.255  255.255.255.255         on-link         127.0.0.1    306       255.255.255.255  255.255.255.255         on-link        10.12.1.13    262     ===========================================================================  

lan ip 10.12.1.13.

when usb modem gets connected system, changed lan metric 4237. , usb modem gets metric lower value between 4-10.

       ipv4 route table     ===========================================================================     active routes:     network destination        netmask          gateway       interface  metric               0.0.0.0          0.0.0.0        10.12.1.2       10.12.1.13   4237               0.0.0.0          0.0.0.0         on-link    101.63.220.237      6             10.12.1.0    255.255.255.0         on-link        10.12.1.13   4487            10.12.1.13  255.255.255.255         on-link        10.12.1.13   4487           10.12.1.255  255.255.255.255         on-link        10.12.1.13   4487        101.63.220.237  255.255.255.255         on-link    101.63.220.237    261             127.0.0.0        255.0.0.0         on-link         127.0.0.1   4531             127.0.0.1  255.255.255.255         on-link         127.0.0.1   4531       127.255.255.255  255.255.255.255         on-link         127.0.0.1   4531             224.0.0.0        240.0.0.0         on-link         127.0.0.1   4531             224.0.0.0        240.0.0.0         on-link        10.12.1.13   4488             224.0.0.0        240.0.0.0         on-link    101.63.220.237      6       255.255.255.255  255.255.255.255         on-link         127.0.0.1   4531       255.255.255.255  255.255.255.255         on-link        10.12.1.13   4487       255.255.255.255  255.255.255.255         on-link    101.63.220.237    261     ===========================================================================  

lan ip : 10.12.1.13 4237 (metric) usb modem ip: 101.63.220.237 6 (metric)

now default network interface usb modem because has lowest value of metric.

problem: local application able connect default network interface (metric-6) cant connect lan network interface access internet (metric-4237).

scenario 2: changed metric of lan 4237 12 (or value lower value or near value default network interface), local application able connect lan well.

      ipv4 route table     ===========================================================================     active routes:     network destination        netmask          gateway       interface  metric               0.0.0.0          0.0.0.0         on-link    101.63.220.237      6               0.0.0.0          0.0.0.0        10.12.1.2       10.12.1.13     12             10.12.1.0    255.255.255.0         on-link        10.12.1.13    262            10.12.1.13  255.255.255.255         on-link        10.12.1.13    262           10.12.1.255  255.255.255.255         on-link        10.12.1.13    262        101.63.220.237  255.255.255.255         on-link    101.63.220.237    261             127.0.0.0        255.0.0.0         on-link         127.0.0.1   4531             127.0.0.1  255.255.255.255         on-link         127.0.0.1   4531       127.255.255.255  255.255.255.255         on-link         127.0.0.1   4531             224.0.0.0        240.0.0.0         on-link         127.0.0.1   4531             224.0.0.0        240.0.0.0         on-link    101.63.220.237      6             224.0.0.0        240.0.0.0         on-link        10.12.1.13    262       255.255.255.255  255.255.255.255         on-link         127.0.0.1   4531       255.255.255.255  255.255.255.255         on-link    101.63.220.237    261       255.255.255.255  255.255.255.255         on-link        10.12.1.13    262     ===========================================================================  

persistent routes:

queries:

  1. what metric range (min-max)?

  2. why application not able connect lan when metric value 4237?

please suggest correct way use metric?


Comments