Show ip route / routing table

hi all,
i have a question regarding the output of the "show ip route" command:
C         192.168.30.0/24 is directly connected, Ethernet0                                  
            172.16.0.0/24 is subnetted, 1 subnets
S          172.16.1.0 is directly connected, Ethernet0
               192.168.38.0/24 is variably subnetted, 2 subnets, 2 masks
S       192.168.38.0/24 is directly connected, Ethernet0
S       192.168.38.0/25 [1/0] via 192.168.30.40
     10.0.0.0/32 is subnetted, 1 subnets
C       10.1.1.1 is directly connected, Loopback1
I understand why lines 4,5 and 6 are present. Its cause the network 192.168.38.0 is supposed to have a /24 mask but there is also a network with a /25 mask and thus it says this network is variably subnetted.
But why doesnt it show the same for line 2 and 3? Shouldnt it say 172.16.0.0/16 is subnetted? I understand why is doesnt show "variably subnetted" as there is only on subnet but why not 172.16.0.0/16?
And the same for the last two lines. Why not 10.0.0.0/8 but /32? Even though its a loopback interface still the network 10.0.0.0 is supposed to have a /8 mask by nature.
And it might be a stupid question but does a static router always have a metric of 0? I guess so as they dont have to compete with other routes, right?
I mean a static route goes always straight into the routing table and the metric is actually just for comparison reasons within a routing protocol to see what is the best route which should be suggested for being written into the routing table.
Also i tried to put static routes permanently into the routing table with the "permanent" command but always when i detach the cable of the corresponding interface the routes get kicked out of the RT. Is there a trick or something i have to be aware of?
thanks for any help!

I will take the easy part of the question first. One of the basic principles of IOS is that it will put routes into the routing table is the corresponding interface is in the up state. And that IOS will withdraw a route from the routing table is the corresponding interface is in the down state. So when you disconnect the interface then the route using that interface is withdrawn.
The more complex part of the question is the aspect of metrics with static routes. My explanation here would start from the point that the reason we use metrics is so that we can compare routes learned within a protocol and determine whether one is better than the other. This makes sense for RIP, it makes sense for OSPF, and it makes sense for EIGRP. But it does not make sense for static routes. To try to make it a bit more clear: if RIP or OSPF or EIGRP learn a route to a subnet that goes via FastEther0/0 and also learn a route to that subnet that goes via FastEther0/1 then we compare the routes and if one has a more attractive metric then that is the one that gets put into the routing table. But with static routes if there is a static route for a subnet that goes via FastEther0/0 and also a static route for that subnet that goes via FastEther0/1 then there is no comparison and both routes are put into the routing table. Since we do not do comparisons with static routes then there is no concept of metric associated with the static route and IOS puts a default value into the metric field of a static route.
HTH
Rick

Similar Messages

  • Gratuitous ARPs do not populate the router ARP Table

    Hello,
    In order to debug an ARP problem in a Firewall cluster environment, I connected a one-armed router on the public VLAN of the firewall cluster, in order to observe the ARP cache behaviour during a switchover. I configured a loopback interface on this router and  a default route to this loopback interface to simulate a real router.
    When a switchover occurs between firewall cluster members, the active member sends Gratuitous ARPs for all NATed IP addresses. In my environment, I have 110 NATed addresses configured on the firewall.
    By launching a "debug arp" on the one armed router,  I clearly see all 110 gratuitous ARPs arriving on the router, but the ARP cache of the router is NOT populated with the 110 entries...
    Note  : The command is configured on the one armed router :
    Router(config)# ip arp gratuitous local
    What can be the problem ? Is there any condition for a router to accept Gratuitous ARPs ?
    Thank you for any help
    Yves

    Hi
    Gratuitous arp is used when a host wants to inform the switch that the mac-address has changed eg.
    You have a cluster which has redundant connections and an IP to mac-address mapping. If the active NIC fails the IP address is moved across to the standby NIC but the standby NIC has a different mac-address. So the cluster sends out a gratuitous arp which informs the switch of the new IP to mac-address mapping.
    The reason you might not want to allow gratuitous arp is that you might not want your switch updating it's arp table based on annoucements from devices on the LAN as you could very easily spoof mac-addresses and corrupt the arp cache.
    HTH
    Jon

  • Maintain the Route Permission Table in the system32 for saprouter

    Hi friends,
    I am establishing a remote connection to SAP
    1) I have installed saprouter in Windows, saprouter service created successfully
    2) I followed the link http://help.sap.com/saphelp_nw70/helpdata/en/4f/992dab446d11d189700000e8322d00/content.htm and according did all configurations
    3) Now I don't know how to create and maintain Rout Permission Table in system 32
    The following example I got from help.sap.com
    156.56..
    All host addresses beginning with 156.56
    133.27.17.*
    All host addresses beginning with 133.27.17
    133.27.16.0/24
    All host addresses beginning with 133.27.16 (0/24 at the end means that the first 24 bits are relevant, that is, the first three blocks)
    156.56.1011xxxx.*
    All host addresses from 156.56.176.* to 156.56.191.*.
    (Binary interpretation of the third byte of the address. u2018xu2019 is a freely selectable binary value (1 or 0).)
    I found complex in above note:
    My router IP is 192.168.1.116
    Kindly guide me for further help.
    Regards
    Nilanchal

    Nilanchal,
    Check out the following links:
    [http://help.sap.com/saphelp_45b/helpdata/en/4f/992dab446d11d189700000e8322d00/frameset.htm]
    You can check route permission table link in the above link.
    Have you posted real IP addresses? if yes, please do not post real IP addresses on the forum for your network security reasons.
    Also check following Note:
    Note 525751 - Installation of the SNC SAPRouter as NT Service
    Hope this helps.
    Manoj
    Edited by: Manoj Chintawar on Mar 30, 2009 12:34 PM

  • Show or Hide empty table based on If condition

    I want to show or hide empty table based on condition. The table will be empty with 5 rows,2 cols and should display if <?Rout_Information1_id1?> is blank or null or when XML field is not present. Actually the JDEdwards report will generate XML file. In the XML file if <?Rout_Information1_id1?> is present it will have definitely value like 'PULL' or 'Cut' otherwise sometimes XML field itself will not be present. Need to display the empty table when the <?Rout_Information1_id1?> is not present. I am trying to do as below but the table is not displayed. Can someone tell me how to resolve this.
    <?if:Rout_Information1_id1=' '?>
    5 rows,2 cols table
    <?end if?>
    Thanks,
    Vijay Vattiprolu

    Ok. I used the below syntax from other post and it resolved displaying empty table issue.
    <?if:not(XML_TAG_NAME)?>
    <?end if?>
    Thanks,
    Vijay

  • How to show the two advance tables In a ROW

    Hi ALL,
    There is any Option to show the two advance tables In a ROW
    Thanks&Regards
    vinu

    I have responded to your other post. Kindly respond to that and close this one.
    Regards
    Sumit

  • Simple webDynpro - RFC dont show the Data in table

    Hello all.
    I`m develop a simple application test in NWDS.
    This application execute data in a table from the standard function module BAPI_COMPANY_GETLIST. simple return the list of companys.
    But when i execute the application, its dont shw any errors but the data dont show in the webdynpro table.
    What is wrong ?
    thanks.

    Hi JV.
    This the code in method implementation.
    package comp_package;
    //@@begin imports
    import comp_package.wdp.IPrivateCompanyComponentView;
    import com.sap.mw.jco.JCO;
    import model_package.Comp_Model;
    import model_package.Bapi_Company_Getlist_Input;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
    //@@end
    //@@begin documentation
    //@@end
    public class CompanyComponentView
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(CompanyComponentView.class);
      static
        //@@begin id
        String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    @see comp_package.wdp.IPrivateCompanyComponentView for more details
      private final IPrivateCompanyComponentView wdThis;
      private final IPrivateCompanyComponentView.IContextNode wdContext;
      private final com.sap.tc.webdynpro.progmodel.api.IWDViewController wdControllerAPI;
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public CompanyComponentView(IPrivateCompanyComponentView wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
    //     Creates the input elements
         Bapi_Company_Getlist_Input input = new Bapi_Company_Getlist_Input();
    //     Creates an instance of a client to the remote SAP system    
          client = JCO.createClient("100",          //SAP logon client number
                                          "user",            //SAP logon user
                                          "pass",        //SAP logon password
                                          "en",        //SAP logon language
                                          "XXXX",        //Host name of application server
                                          "XX");          //SAP system number
    //     Creates the model instance
          model = (Comp_Model)WDModelFactory.getModelInstance( Comp_Model.class, WDModelScopeType.APPLICATION_SCOPE);
          // Assigns the client to the model
          model.setJcoClient(client);   
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
       public static void wdDoModifyView(IPrivateCompanyComponentView wdThis, IPrivateCompanyComponentView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        //@@end
      //@@begin javadoc:getCompany()
      /** Declared method. */
      //@@end
      public void getCompany( )
        //@@begin getCompany()
         client.connect();
         System.out.println("passo1");
         try {
         wdContext.currentBapi_Company_Getlist_InputElement().modelObject().execute();
         wdComponentAPI.getMessageManager().reportSuccess((new Integer(wdContext.nodeBapi_Company_Getlist_Input().size()).toString()));
         catch (Exception ex) {
            ex.printStackTrace();
         finally {
           client.disconnect();
         // Invalidates the output context node 
         wdContext.nodeBapi_Company_Getlist_Input().invalidate();
        //@@end
      //@@begin javadoc:onActionGo(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionGo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGo(ServerEvent)
        wdThis.wdGetComp_ControllerController().getCompanys();
         client.connect();
              System.out.println("passo1");
              try {
              wdContext.currentBapi_Company_Getlist_InputElement().modelObject().execute();                         }
              catch (Exception ex) {
                 ex.printStackTrace();
                 System.out.println(ex);
              finally {
                client.disconnect();
              wdContext.nodeOutput().invalidate();
    wdComponentAPI.getMessageManager().reportSuccess((new Integer(wdContext.nodeBapi_Company_Getlist_Input().size()).toString()));
        //@@end
       //@@begin others
      JCO.Client client;
      Comp_Model model;
      //@@end
    Regards.
    Taylor.
    Edited by: Taylor on Aug 4, 2009 12:46 PM

  • Click on f4  of  standard field it should show fields of another table

    Hi all,
            it's Urgent, Plz,  tell me in edit mode of ooalv when i  click on f4  of particular standard field it should have feature to show fields of another table which are corresponding to this particular field.
                   thanks in Advance .
          good answer will be Rewarded.

    have a look at demo report BCALV_TEST_GRID_F4_HELP.
    I couldn't explain it any better than this.

  • Route not showing up in routing table.

    I have my core switch connecting to my router which connects to our MPLS provider. My router has a BGP default route going to the MPLS provider edge router B*   0.0.0.0/0 [20/0] via 172.30.252.78, 1w4d .... This route is not showing up in my core switch. Shouldnt it show up as an eigrp ex default route? Can anyone assist me? my routing table for each device is below. Thank you!
    Router
    USJONELAWTN01R#sho ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route
    Gateway of last resort is 172.30.252.78 to network 0.0.0.0
         68.0.0.0/32 is subnetted, 1 subnets
    S       68.142.83.236 is directly connected, Null0
         198.63.196.0/32 is subnetted, 1 subnets
    S       198.63.196.103 is directly connected, Null0
         64.0.0.0/32 is subnetted, 1 subnets
    S       64.234.192.40 is directly connected, Null0
         172.26.0.0/16 is variably subnetted, 3 subnets, 2 masks
    D       172.26.82.0/24 [90/28416] via 172.28.82.10, 1w5d, GigabitEthernet0/1
                           [90/28416] via 172.28.80.10, 1w5d, GigabitEthernet0/0.1
                           [90/28416] via 172.28.80.9, 1w5d, GigabitEthernet0/0.1
    D       172.26.83.0/24 [90/28416] via 172.28.82.10, 1w5d, GigabitEthernet0/1
                           [90/28416] via 172.28.80.10, 1w5d, GigabitEthernet0/0.1
                           [90/28416] via 172.28.80.9, 1w5d, GigabitEthernet0/0.1
    D       172.26.80.0/23 [90/28416] via 172.28.82.10, 1w5d, GigabitEthernet0/1
                           [90/28416] via 172.28.80.10, 1w5d, GigabitEthernet0/0.1
                           [90/28416] via 172.28.80.9, 1w5d, GigabitEthernet0/0.1
         172.28.0.0/16 is variably subnetted, 4 subnets, 2 masks
    C       172.28.176.0/23 is directly connected, GigabitEthernet0/0.6
    C       172.28.80.0/23 is directly connected, GigabitEthernet0/0.1
    C       172.28.82.0/23 is directly connected, GigabitEthernet0/1
    D       172.28.80.20/32
               [90/30720] via 172.28.176.3, 1w5d, GigabitEthernet0/0.6
               [90/30720] via 172.28.82.3, 1w5d, GigabitEthernet0/1
               [90/30720] via 172.28.80.3, 1w5d, GigabitEthernet0/0.1
         172.30.0.0/16 is variably subnetted, 6 subnets, 2 masks
    C       172.30.252.78/32 is directly connected, Multilink1
    C       172.30.252.76/30 is directly connected, Multilink1
    D       172.30.252.114/32
               [90/3415808] via 172.28.176.3, 4d00h, GigabitEthernet0/0.6
               [90/3415808] via 172.28.82.3, 4d00h, GigabitEthernet0/1
               [90/3415808] via 172.28.80.3, 4d00h, GigabitEthernet0/0.1
    D       172.30.252.112/30
               [90/3415808] via 172.28.176.3, 4d00h, GigabitEthernet0/0.6
               [90/3415808] via 172.28.82.3, 4d00h, GigabitEthernet0/1
               [90/3415808] via 172.28.80.3, 4d00h, GigabitEthernet0/0.1
    D       172.30.254.24/32
               [90/156160] via 172.28.176.3, 1w5d, GigabitEthernet0/0.6
               [90/156160] via 172.28.82.3, 1w5d, GigabitEthernet0/1
               [90/156160] via 172.28.80.3, 1w5d, GigabitEthernet0/0.1
    C       172.30.254.25/32 is directly connected, Loopback10
    C    192.168.202.0/24 is directly connected, GigabitEthernet0/0.1
         10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
    S       10.192.254.0/24 [1/0] via 172.28.82.10, GigabitEthernet0/1
    S       10.201.0.0/16 [1/0] via 172.28.82.10, GigabitEthernet0/1
    S       10.200.1.0/24 [1/0] via 172.28.82.10, GigabitEthernet0/1
    C    192.168.203.0/24 is directly connected, GigabitEthernet0/0.1
    C    192.168.51.0/24 is directly connected, GigabitEthernet0/0.1
    B*   0.0.0.0/0 [20/0] via 172.30.252.78, 1w4d
    B    200.200.0.0/16 [20/0] via 172.30.252.78, 1w4d
    B    201.1.0.0/16 [20/0] via 172.30.252.78, 1w4d
    B    172.16.0.0/12 [20/0] via 172.30.252.78, 1w4d
    B    198.30.0.0/16 [20/0] via 172.30.252.78, 1w4d
    B    192.168.0.0/16 [20/0] via 172.30.252.78, 1w4d
    Core Switch
    TNLAW-TN1COREA# sho ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route
    Gateway of last resort is 10.192.61.1 to network 0.0.0.0
         172.26.0.0/16 is variably subnetted, 3 subnets, 2 masks
    C       172.26.82.0/24 is directly connected, Vlan601
    C       172.26.83.0/24 is directly connected, Vlan603
    C       172.26.80.0/23 is directly connected, Vlan602
         172.28.0.0/16 is variably subnetted, 4 subnets, 2 masks
    D       172.28.176.0/23 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                            [90/28416] via 172.28.82.2, 7w0d, Vlan2
                            [90/28416] via 172.28.80.3, 7w0d, Vlan1
                            [90/28416] via 172.28.80.2, 7w0d, Vlan1
    C       172.28.80.0/23 is directly connected, Vlan1
    C       172.28.82.0/23 is directly connected, Vlan2
    D       172.28.80.20/32 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                            [90/28416] via 172.28.80.3, 7w0d, Vlan1
         172.30.0.0/16 is variably subnetted, 6 subnets, 2 masks
    D       172.30.252.78/32 [90/3413504] via 172.28.82.2, 1w4d, Vlan2
                             [90/3413504] via 172.28.80.2, 1w4d, Vlan1
    D       172.30.252.76/30 [90/3413504] via 172.28.82.2, 1w4d, Vlan2
                             [90/3413504] via 172.28.80.2, 1w4d, Vlan1
    D       172.30.252.114/32 [90/3413504] via 172.28.82.3, 4d00h, Vlan2
                              [90/3413504] via 172.28.80.3, 4d00h, Vlan1
    D       172.30.252.112/30 [90/3413504] via 172.28.82.3, 4d00h, Vlan2
                              [90/3413504] via 172.28.80.3, 4d00h, Vlan1
    D       172.30.254.24/32 [90/130816] via 172.28.82.3, 7w0d, Vlan2
                             [90/130816] via 172.28.80.3, 7w0d, Vlan1
    D       172.30.254.25/32 [90/130816] via 172.28.82.2, 7w0d, Vlan2
                             [90/130816] via 172.28.80.2, 7w0d, Vlan1
    D    192.168.202.0/24 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                          [90/28416] via 172.28.82.2, 7w0d, Vlan2
         10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
    S       10.192.254.0/24 [1/0] via 10.192.61.1, GigabitEthernet3/47
    S       10.201.0.0/16 [1/0] via 10.192.61.1, GigabitEthernet3/47
    S       10.200.1.0/24 [1/0] via 10.192.61.1, GigabitEthernet3/47
    C       10.192.61.0/28 is directly connected, GigabitEthernet3/47
    D    192.168.203.0/24 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                          [90/28416] via 172.28.82.2, 7w0d, Vlan2
    D    192.168.51.0/24 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                         [90/28416] via 172.28.82.2, 7w0d, Vlan2
    S*   0.0.0.0/0 [250/0] via 10.192.61.1, GigabitEthernet3/47

    Hello,
    The core switch has got a static default route pointing to 10.192.61.1. It has got a better AD value than the EIGRP routes.
    Even if you are redistributing the BGP routes into EIGRP, EIGRP default route will not make it to the routing table because of the higher AD value than the static route.
    However, you can view that it the EIGRP topology table. Check 'Sh ip ei topo'.
    Krishna

  • Verizon 9100EM Router - ARP Table No Longer Working

    I have the Westell 9100EM router from Verizon.  The router allows to set static DHCP connections using a function called ARP Table (under Advanced menu).  It actually used to work.  However, when I attempted to add a new static connection today, ARP Tbale was no longer working.  It shows connections that I set  up in the past but does not allow to add any new connection or even to change anything.  
    Specifically, the ARP Table now has only three columns (IP Address, Physical Address, and Device).  There used to be several additional columns (Lease Type, Connection Name, Status, and Action), which are now gone.  The "Action" column had links from where one could change the setting.  It also had the option "New Static Connection", which is now gone as well.
    Any idea what the reason could be?
    Thanks a lot.

    It seems to me that the router's firmware (OS if you will) was upgraded OR downgraged.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • Google maps is not showing roads and routes when I try to get directions

    When using google maps to get directions the roads disappear and routes do not show.

    But are you shutting down Firefox properly...
    :see my answer in https://support.mozilla.com/en-US/questions/860929

  • MacBook pro and iPhone 3g dont show up in router's dhcp client list.

    All of my devices except my MacBook pro and iPhone 3g showup in me dhcp client list. firewall is off on both, router as well as MacBook. what could be the reason.

    AceNeerav wrote:
    yes… they do get IPs and since Monday they are on fixed IPs for ISP requirements. All services work fine except downloading from my ISP's Direct Connec Hub. People can download from my machine though. I guess something to do with OS X not being recognized in the dhcp client list. Interestingly windows on my bootcamp does get recognized.
    If your devices are connected to your router then they should not have fixed ip addresses assigned by your ISP or by you. They should be set to get their addresses via dhcp from your router. If they have fixed ip addresses this is why they don't show up in the router's dhcp list, the router did not assign them dhcp addresses.

  • LMS 4.2 User tracking and router arp table

    Hi,
    If I have understand correctly, the IP address - mac address matching was made with the arp table of a cisco acces switch if it will made the L3.
    My access switch wasn't used for L3 routing, only L2
    It's possible to set user track to use the arp table of a firewall or a router for made this matching ?
    Thanks a lot

    As long as you have a supported Cisco Layer 3 device in your LMS-management domain, you should be able to correlate the IP-MAC addresses in User Tracking (UT).
    UT support is not specifically listed for the ASA firewall - I'm not sure it will support that feature if it is the users' gateway.
    Useful links:
    UT explanation from the LMS Admin Guide
    Supported devices listing
    Hope this helps.

  • Can't show Greate Circle Route (in SRID 8307) in Map Viewer

    I've got a task to show flight tracks on the world map in Map Viewer.
    I've got a table with appropriate geometry
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID) VALUES (
    'TMP_LEG_ARC_001', 'LEG_GEOM',
    SDO_DIM_ARRAY(
    SDO_DIM_ELEMENT('LONG', -180.0, 180.0, 0.05),
    SDO_DIM_ELEMENT('LAT', -90.0, 90.0, 0.05)
    8307);
    I've got a theme created from this column. It's evident that flights (and any other straight lines on the earth surface) should look like arcs but in MapViwer I can see straight lines.
    It looks like Map Viewer just projected ends of line on the map and then draw straight line between them, instead of projecting whole line on the map (which should be converted into arc)
    What have I done wrong?!
    Edited by: Wishmaster on 08.11.2012 21:38

    MapViewer doesn't display them as great circles. This will be fixed in a future release.
    Meanwhile you can use Oracle Spatial functions to create the sissified lines which will approximate/be displayed as flight paths/great circles.
    That is use something like Dan Geringer's (sample code so usual disclaimers apply) densify_line plsql stored procedure below.
    The densify_line function takes two arguments:
    •     two_pt_line - The line to densify
    •     arc_tolerance - The interval (in meters) used to densify the line
    The first argument calls for a two point line. It ensures the endpoints are included in the densified result.
    You can also pass in a linestring with more than two points. The end points are ensured to be part of the densified line, but the intermediate shape points are not. To guarantee shape points, you can call densify_line iteratively with the 2 point line segments of a linestring.
    CREATE OR REPLACE FUNCTION densify_line (two_pt_line MDSYS.SDO_GEOMETRY,
    arc_tolerance number) RETURN MDSYS.SDO_GEOMETRY
    DETERMINISTIC IS
    lrs_segment MDSYS.SDO_GEOMETRY;
    new_point MDSYS.SDO_GEOMETRY;
    densified_line MDSYS.SDO_GEOMETRY := mdsys.sdo_geometry (two_pt_line.sdo_gtype,
    two_pt_line.sdo_srid,
    null,
    mdsys.sdo_elem_info_array (1,2,1),
    mdsys.sdo_ordinate_array ());
    curr_measure NUMBER;
    times_to_loop NUMBER;
    BEGIN
    IF two_pt_line IS NOT NULL
    THEN
    densified_line.sdo_ordinates.extend(2);
    densified_line.sdo_ordinates(1) := two_pt_line.sdo_ordinates(1);
    densified_line.sdo_ordinates(2) := two_pt_line.sdo_ordinates(2);
    lrs_segment := SDO_LRS.CONVERT_TO_LRS_GEOM (two_pt_line);
    times_to_loop := FLOOR (lrs_segment.sdo_ordinates(lrs_segment.sdo_ordinates.count) / arc_tolerance);
    curr_measure := 0;
    FOR i IN 1 .. times_to_loop LOOP
    curr_measure := curr_measure + arc_tolerance;
    densified_line.sdo_ordinates.extend(2);
    new_point := sdo_lrs.locate_pt (lrs_segment, curr_measure);
    densified_line.sdo_ordinates(densified_line.sdo_ordinates.count-1) := new_point.sdo_ordinates(1);
    densified_line.sdo_ordinates(densified_line.sdo_ordinates.count) := new_point.sdo_ordinates(2);
    END LOOP;
    IF curr_measure < lrs_segment.sdo_ordinates(lrs_segment.sdo_ordinates.count)
    THEN
    densified_line.sdo_ordinates.extend(2);
    densified_line.sdo_ordinates(densified_line.sdo_ordinates.count - 1) :=
    two_pt_line.sdo_ordinates(two_pt_line.sdo_ordinates.count - 1);
    densified_line.sdo_ordinates(densified_line.sdo_ordinates.count) :=
    two_pt_line.sdo_ordinates(two_pt_line.sdo_ordinates.count);
    END IF;
    END IF;
    RETURN densified_line;
    END;
    /

  • WRT54G Problem- SSID not showing in list & router not sending correct IP address

    Everthing was humming along.  Comcast Internet = fine.  WRT54G router, several XP Pro/SP 3 computers, 1 Powerbook + wireless printers. etc = fine.  PCs find network SSID and auto-connect without fail.
    Then, Comcast Internet down.  Reboot everything. Network back up.  Computers then get wrong IP Address or do not see SSID.  (No config changes on computers.)
    So I:
    1.  Reinstall WRT54G firmware (v8) - no change.
    2.  Install new fresh WRT54G - using CD to install  - no change
    3.  Update firmware in router used in #2 - no change
    4.  Complete reset cycle and reinstall -no change.
    5.  Repeat same reset with original router -no change
    6.  Using static IP address/default gate way/DNS address - PC finds and connects to SSID but does not access Internet.
    Result - no computers find SSID.  (SSID is hidden.) Don't find it when it's not hidden either.
    Ethernet cabled PC works just fine.  Gets correct IP Address & Internet  access is fine.
    Cable modem = Motorola Surf Board.  No physical locations of any omponent has changed.
    Is it possible that both WRT54G's are not working? 
    Is it somehow a Comcast problem? 
    Should I try some other router settings?
    Many thanks!

    Thanks.  These are great instructions and quite useful for setup.  Unfortunately, my problems seemed much more complex. 
    In the end, I redidi all the networking from scratch from the router through all the connected devices.  Finally got things back up.  I don't know how, but the Comcast failure seemed to corrupt lots of the settings even if they all looked OK.

  • [SOLVED] Hostname is "new-host" in router dhcp table

    I've just installed Arch Linux on a machine for the first time since the systemd changeover. Now, when I look at my router's DHCP connections, the computer hostname is listed as "new-host". However, I've set the correct hostname in /etc/hostname and run the hostnamectl command, and when I issue the command 'hostname' it tells me that my hostname is correct (i.e. something else than "new-host").
    So, where is my router getting this "new-host" hostname from? Is there another place where I should be configuring the hostname besides these?
    Last edited by nordog (2013-01-18 22:13:53)

    Saran: Thanks for the suggestion. I tried rebooting the router but it didn't do the trick.
    Tharugrim:
    tharugrim wrote:Try this: https://wiki.archlinux.org/index.php/Ne … e_problems
    Thanks for pointing this out to me. I added
    dhcp=dhcpcd
    to /etc/NetworkManager/NetworkManager.conf and that took care of the issue.
    Best regards

Maybe you are looking for

  • Security and FaceTime

    After upgrading to Yosemite, I was eager to try the new FaceTime features in iMessage and FaceTime. The upgrade migrated all my settings as expected. Setting up iCloud services on my Mac and iPhone, I was able to receive calls on my Mac but not initi

  • Display & Charging Problem - X220

    I have the i7 X220.  It's been great, but I'm starting to have a few issues.  Just want to get some feedback in case there's something simple I need to do before contacting service and probably sending it in for repair (it was purchased March 2010).

  • Z10 not able to call oversea after upgrade to version 10.1.0.273

    I live in Thailand and I usually make call to Malaysia using 009 service from CAT. The full number will be 0096057163xxx and I have been using 009 services for more than 10 years. After upgraded to version 10.1.0.273, I'm not able to make oversea cal

  • Custom Scrollbar Help

    Hello! Does anyone know any decent AS2 custom scrollbar tutorials?  I'm looking to create a basic scrollbar that has a white up arrow and a white down arrow, but none of the tutorials I've tried end up working properly..... I've done way more complex

  • I have forgotten my password to my mac, I have forgotten my password to my mac

    I have forgotten my password to my Mac Air and I do not have a security question so I do not seem to retrieve via my apple id. What can I do? Will I lose all my programmes etc.?