Results 1 to 3 of 3

Thread: route add interface problem

  1. #1
    Senior Member
    Join Date
    Oct 2005
    Posts
    320
    Thanks
    3
    Thanked
    1 time in 1 post

    route add interface problem

    Hi,

    I'm trying to configure a VPN and am having trouble with the route command...I had it working fine, but then there was an ip clash and things started going wrong. I've resolved the ip clash and now just have a problem with the routing table.

    the problem is that whenever I add a new route, vista is ignoring the VPN tap interface and defaulting to the network card

    Code:
    C:\Windows\system32>route print
    ===========================================================================
    Interface List
     20 ...00 ff b6 fe ac e6 ...... TAP-Win32 Adapter V9
     15 ...00 1d 7d 75 e4 33 ...... Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabi
    t Ethernet NIC (NDIS 6.0)
     14 ...00 20 ed 36 ca 4b ...... Bluetooth Device (Personal Area Network) #2
      1 ........................... Software Loopback Interface 1
     18 ...00 00 00 00 00 00 00 e0  isatap.{C51EF404-B4FF-466F-A66F-AFAAF654F3C9}
     10 ...02 00 54 55 4e 01 ...... Teredo Tunneling Pseudo-Interface
     23 ...00 00 00 00 00 00 00 e0  isatap.{A2893D39-4AFE-481E-830F-F3F78A82DF3A}
     29 ...00 00 00 00 00 00 00 e0  Microsoft ISATAP Adapter #3
    ===========================================================================
    
    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.0.1      192.168.0.6    276
            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
          169.254.0.0      255.255.0.0         On-link       192.168.0.6     30
      169.254.255.255  255.255.255.255         On-link       192.168.0.6    276
           172.16.0.0      255.255.0.0       172.16.0.2      192.168.0.6     21
       172.16.255.255  255.255.255.255       172.16.0.2      192.168.0.6     21
    ...............
    the last two lines are a problem - although it specifies the correct gateway it is using my LAN interface. - it should be using the TAP interface.

    I've tried removing the lines and re-adding with the command

    route add 172.16.0.0 mask 255.255.0.0 172.16.0.2 metric 1 if 20

    and

    route add 172.16.0.0 mask 255.255.0.0 172.16.0.2 metric 1

    but both ignore the interface I need

    Does anyone know why/how to fix it?

    Thanks

  2. #2
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,510
    Thanks
    201
    Thanked
    388 times in 294 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: route add interface problem

    Did you try route deleting them and readding them?

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Posts
    320
    Thanks
    3
    Thanked
    1 time in 1 post

    Re: route add interface problem

    yes, the problem just reoccurs

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DVI problem, pc won't start! help needed.
    By snowwolf in forum Graphics Cards
    Replies: 1
    Last Post: 09-04-2010, 04:11 PM
  2. Acer N35 PDA GPS sat nav system
    By davidstone28 in forum Reader Reviews
    Replies: 13
    Last Post: 25-10-2007, 05:00 PM
  3. Question about problem recently built computer
    By shadowneo in forum SCAN.care@HEXUS
    Replies: 3
    Last Post: 18-04-2007, 02:31 PM
  4. SN25P PSU or PCI-E problem!?
    By SilverFern in forum PC Hardware and Components
    Replies: 1
    Last Post: 19-01-2006, 10:51 AM
  5. Replies: 23
    Last Post: 08-08-2005, 11:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •