Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. ROUTE command

ROUTE command

Scheduled Pinned Locked Moved Hardware & Devices
csharpmobilecomgraphicsgame-dev
11 Posts 4 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #1

    Hi All, I am setting up tablet for our customer. It has 3 network interfaces: WiFi, LET/4G/Phone network and a slow but (allegedly) reliable IP radio network. I want to make sure the Radio network is ONLY used by my application (and NO OTher App use it for "internet" acceess) I try to call (as admin) the ROUTE (DOS) command with ROUTE DELETE AND ROUTE ADD.

    route DELETE 0.0.0.0 192.168.128.1
    route ADD 10.104.8.22 192.168.128.1 metric 9999
    route ADD 164.112.43.3 192.168.128.1 metric 9999

    However, this radio is a USB (external) radio, and everytime it got disconnected / reconnected my radio setting is gone! How could I make sure the settings sticks?!

    All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

    S E 3 Replies Last reply
    0
    • S Super Lloyd

      Hi All, I am setting up tablet for our customer. It has 3 network interfaces: WiFi, LET/4G/Phone network and a slow but (allegedly) reliable IP radio network. I want to make sure the Radio network is ONLY used by my application (and NO OTher App use it for "internet" acceess) I try to call (as admin) the ROUTE (DOS) command with ROUTE DELETE AND ROUTE ADD.

      route DELETE 0.0.0.0 192.168.128.1
      route ADD 10.104.8.22 192.168.128.1 metric 9999
      route ADD 164.112.43.3 192.168.128.1 metric 9999

      However, this radio is a USB (external) radio, and everytime it got disconnected / reconnected my radio setting is gone! How could I make sure the settings sticks?!

      All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

      S Offline
      S Offline
      Super Lloyd
      wrote on last edited by
      #2

      no worries, our customer's sys admin told me!!! -p settings! as in

      route DELETE 0.0.0.0 192.168.128.1 -p
      route ADD 10.104.8.22 192.168.128.1 metric 9999 -p
      route ADD 164.112.43.3 192.168.128.1 metric 9999 -p

      All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

      G 1 Reply Last reply
      0
      • S Super Lloyd

        no worries, our customer's sys admin told me!!! -p settings! as in

        route DELETE 0.0.0.0 192.168.128.1 -p
        route ADD 10.104.8.22 192.168.128.1 metric 9999 -p
        route ADD 164.112.43.3 192.168.128.1 metric 9999 -p

        All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

        G Offline
        G Offline
        Garth J Lancaster
        wrote on last edited by
        #3

        :-) beat me to it by 43 mins :-(

        S 2 Replies Last reply
        0
        • G Garth J Lancaster

          :-) beat me to it by 43 mins :-(

          S Offline
          S Offline
          Super Lloyd
          wrote on last edited by
          #4

          Good try! :)

          All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

          1 Reply Last reply
          0
          • G Garth J Lancaster

            :-) beat me to it by 43 mins :-(

            S Offline
            S Offline
            Super Lloyd
            wrote on last edited by
            #5

            In fact I still have a problem... The ROUTE ADD is persistent! But ROUTE DELETE is not, every time I reconnect my Internet USB IP Radio (Motorola APX Series) The Gateways is added back ! :(( Any idea?

            All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

            G 1 Reply Last reply
            0
            • S Super Lloyd

              In fact I still have a problem... The ROUTE ADD is persistent! But ROUTE DELETE is not, every time I reconnect my Internet USB IP Radio (Motorola APX Series) The Gateways is added back ! :(( Any idea?

              All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

              G Offline
              G Offline
              Garth J Lancaster
              wrote on last edited by
              #6

              well, you only need the '-p' option on the ROUTE ADD lines as for the delete one 'coming back' .... hmmm - what happens if you do ROUTE -f which flushes the routing cache

              S 1 Reply Last reply
              0
              • G Garth J Lancaster

                well, you only need the '-p' option on the ROUTE ADD lines as for the delete one 'coming back' .... hmmm - what happens if you do ROUTE -f which flushes the routing cache

                S Offline
                S Offline
                Super Lloyd
                wrote on last edited by
                #7

                It doesn't fixes it... :(( I suspect what happen is something done by the Motorola USB Radio driver.... Any idea what kind of system (Win32!) call I should do to watch and update the route table?!

                All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                B 1 Reply Last reply
                0
                • S Super Lloyd

                  It doesn't fixes it... :(( I suspect what happen is something done by the Motorola USB Radio driver.... Any idea what kind of system (Win32!) call I should do to watch and update the route table?!

                  All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                  B Offline
                  B Offline
                  Brisingr Aerowing
                  wrote on last edited by
                  #8

                  NotifyRouteChange[^] And NotifyRouteChange2[^] Are what you are looking for. A quick Google found them (Search String: win32 routing table update event)

                  What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                  S 1 Reply Last reply
                  0
                  • B Brisingr Aerowing

                    NotifyRouteChange[^] And NotifyRouteChange2[^] Are what you are looking for. A quick Google found them (Search String: win32 routing table update event)

                    What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                    S Offline
                    S Offline
                    Super Lloyd
                    wrote on last edited by
                    #9

                    Woa, thanks man, this is very promising! :-D

                    All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                    1 Reply Last reply
                    0
                    • S Super Lloyd

                      Hi All, I am setting up tablet for our customer. It has 3 network interfaces: WiFi, LET/4G/Phone network and a slow but (allegedly) reliable IP radio network. I want to make sure the Radio network is ONLY used by my application (and NO OTher App use it for "internet" acceess) I try to call (as admin) the ROUTE (DOS) command with ROUTE DELETE AND ROUTE ADD.

                      route DELETE 0.0.0.0 192.168.128.1
                      route ADD 10.104.8.22 192.168.128.1 metric 9999
                      route ADD 164.112.43.3 192.168.128.1 metric 9999

                      However, this radio is a USB (external) radio, and everytime it got disconnected / reconnected my radio setting is gone! How could I make sure the settings sticks?!

                      All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                      E Offline
                      E Offline
                      Edward Santiago
                      wrote on last edited by
                      #10

                      You can use the route command to view, add and delete routes on a Microsoft Windows NT server that runs Cisco ICM. You can use these options with the route command: route [-f] [-p] [command [destination] [mask subnetmask] [gateway] [metric costmetric]] Custom Essay Writing Service

                      1 Reply Last reply
                      0
                      • S Super Lloyd

                        Hi All, I am setting up tablet for our customer. It has 3 network interfaces: WiFi, LET/4G/Phone network and a slow but (allegedly) reliable IP radio network. I want to make sure the Radio network is ONLY used by my application (and NO OTher App use it for "internet" acceess) I try to call (as admin) the ROUTE (DOS) command with ROUTE DELETE AND ROUTE ADD.

                        route DELETE 0.0.0.0 192.168.128.1
                        route ADD 10.104.8.22 192.168.128.1 metric 9999
                        route ADD 164.112.43.3 192.168.128.1 metric 9999

                        However, this radio is a USB (external) radio, and everytime it got disconnected / reconnected my radio setting is gone! How could I make sure the settings sticks?!

                        All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                        E Offline
                        E Offline
                        Edward Santiago
                        wrote on last edited by
                        #11

                        You can use the route command to view, add and delete routes on a Microsoft Windows NT server that runs Cisco ICM. You can use these options with the route command: route [-f] [-p] [command [destination] [mask subnetmask] [gateway] [metric costmetric]] Reference: american-writers.org

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups