How is NTP reply routed when requesting router uses loopback as source address

The Cisco NTP Best Practices White Paper and DISA STIGs recommend setting the NTP source address to a loopback interface (e.g. "ntp source loopback0").
But this only seems to work if the requesting (NTP client) router is the default gateway for the NTP server. 
Specifically, the NTP server will attempt to reply to the requesting router's loopback-based source address (taken from the NTP request packet).  Since that address will always be non-local from the perspective of the NTP server, the NTP server will encapsulate the reply in a Layer 2 frame addressed to its default gateway.  If the gateway was the source of the original NTP request, that should work.  But in most other situations that gateway won't know how to reach a loopback-based address, and will discard the reply.
I have verified this in tests with routers running both 12.4 and 15.1 releases (and NTP debugging enabled).  When the NTP source is a loopback address, NTP replies never reach the requesting router.  With the default NTP source address (i.e. based on the exit interface) everything works fine.
Obviously, you could employ workarounds, such as static routes or injecting loopback addresses into your routing protocols.  But that seems uglier than leaving NTP source addresses at their defaults.
Why is this "best practice" so commonly advocated without mention of some significant caveats regarding routing?  Am I missing something? 
Thanks,
  Mark

Michel:
Thanks for the response.  Actually, I understand what kind of routing workarounds could allow NTP to function in spite of this "best practice."  But I am mystified as to why a Cisco "NTP best practice" paper (http://www.cisco.com/en/US/tech/tk869/tk769/technologies_white_paper09186a0080117070.shtml) and various security policies would call for setting a loopback address as the NTP source when that practice will often cause more problems than it solves.
The stability of a loopback address is nice when that address is used to uniquely identify the platform for a routing protocol or syslog.  A loopback-based source address can also simplify ACL management, since that address won't change if an interface or link failure forces the router to send traffic from a different interface.  But I keep seeing security configuration guides/policies that call for also using a loopback address as the source for two-way protocols, such as FTP and NTP. That just doesn't make sense to me when you balance the routing implications against the limited security benefits (stable device identification, simplified ACL maintenance, and obfuscation of device addresses).
I was hoping to learn that some obscure command might allow me to control which NTP exchanges use the loopback-based source address.  For example, the loopback source address would work fine on outgoing NTP broadcasts (and probably in replies from NTP servers).  But I would prefer that NTP client requests use a source address based on the exit interface. That way replies can be routed back to the client without cluttering up routing tables with routes to loopback addresses.
So far, it looks like I'll need to chalk this up to poor coordination between the network security and network administration communities.
Thanks again,
  Mark

Similar Messages

  • How do I reply to a forwarded email using the 'To' email address in 'From'

    Let me explain, as this might sound odd:
    I now have what will be a rarely used email address, say [email protected], provided for me by a company I am occasionally contracted to work for. Any email sent to that address is automatically forwarded to my personal account. There will be the odd occasion that I will need to send email from that address, or reply to emails sent to that address.
    The problem is, as far as I can see, I can only send email from the address I have set up my account with on Mail, say [email protected] For confidentiality reasons I'm not allowed, nor do I wish, to have recipients know this address. Though I'm self employed, the company I am occasionally contacted to, say +Bloggs LLP+, want me to appear as an employee, hence the [email protected] email address.
    Using 'Reply To' is not an option, since my personal 'From' email address is still visible.
    Yes, I know I can set up another POP/IMAP account in Mail, have all the [email protected] email go to that inbox, and then when I reply it will have come from [email protected], but I can't set up such an account in Mail since the emails are forwarded automatically and as such I do not have - nor do I wish to have - POP/IMAP access to the [email protected] email account.
    In other software, I have been able to simply enter a 'from' email address into a 'From' field, but this doesn't seem possible with Mail.
    Anybody got any ideas? I'm using Leopard, so is Mail any different on Snow Leopard?

    Sorry, you can't do this in Mail, and I'd love to know which email client you say you've used that does allow this; I've never seen one yet.
    If you want to use that email address and send mail from that account, you need to set it up in Mail. There is no difference in basic features between Mail in Leopard or Snow Leopard, so upgrading to Snow Leopard will not help you in any way.

  • How to Perform Loose Routing using Proxy?

    Dear all,
    It seems that proxyTo() changes the Request-URI of the SIP message. How can I proxyTo() the next hop without changing the Request-URI?
    Proxy p;
    p.proxyTo(nextHop);

    you could push a route using the following SipServlet API on the SipServletRequest:
    public void pushRoute(SipURI uri)
    If the sipURI has a lr parameter, WLSS will perform loose routing automatically.
    This will add a Route header to the req with the value you have provided and send the req to that hop.
    cheers,
    Mihir

  • How to open an aplication when I'm using shockwave movies

    Is there an other way to launch an other application when I
    cannot use
    open command in shockwave movies.
    And if there is, how can to do it?
    Thanks
    Sam

    > Thanks for that. But is there any way around it? What I
    want to do is a
    button that calls an other application to do somehting for
    me!!!
    What application are you trying to run? If you just want a
    link that opens
    your e-mail program (for feedback, say), I think that's
    possible. But yeah,
    as others have said, allowing a Shockwave movie to open a 3rd
    party
    application would be a serious security risk, which is why
    it's specifically
    disabled.

  • How do I change my Apple ID to use my @me email address instead of my old email address?

    Hi,
    I recently started to use iCloud and have therfore now got an @me email address. I have managed to make it my primary email address but it won't let me make it my Apple ID even though there is an option to make your primary email address one of the same.
    When I try it says "You cannot create an Apple ID using a MobileMe account. If this is your email address, it is also your Apple ID."
    I can log in to Apple using my @me email address but it displays my old, not in use any more, email address and it really annoys me.
    Does any one know how I can get it to use only my @me address and completely forget my old one?
    Thanks,
    Andy

    There is a lot of confusion about Apple ID and I think this has come about mainly becuase Apple introduced .Me Accounts. Prior to that there was only .Mac. My iCal and Contacts were syncing fine until I visited "Manage Your Apple ID" I was prompted to change my Apple ID and Primary Email Address. After doing so I lost the syncing between devises as my iCloud on my iPhone was set to my .Me account and my MacBook Pro to .Mac.
    Once you've changed your Apple ID and Primary Email Addressto .Mac you can't seemingly go back to .Me which I think is crazy. My work around has been to delete my iCloud Account on my iPhone and then set it up again using my .Mac Account. I now have to do the same on my MBP.
    A word of caution before making any changes always make sure your iCal and Contacts info. are backed-up!

  • When not to use loopback?

    Hi guys,
    It seems very simple question, but it made me go thinking and thinking and decided it would be worthwhile to share it here with you.
    I am building a small network with one core switch doing all inter vlan routing and connecting to two edge routers (these routers are used for different purpose).
    I am planning to use a management vlan having all the switches as part of it. And I was thinking of using loopback interfaces on the routers and use static routing so the core knows where they are located.
    My question (which may seem stupid here ) was to ask whether having loopback here would be really worthwhile? or if there is a better way in regards to management of the network devices?
    Thanks,
    Mo

    having a loop back really only makes sense if you have more than 1 path into the router. If you have a single network connection into the switch and that connection goes down, having a loop back wouldn't help much.
    Hth,
    John
    Sent from Cisco Technical Support iPad App

  • How to configure the router using Expand box?

    I need help on configuring the Cisco routers.
    Here's the scenario...
    I want to compress as much all packets COMING IN to our network to optimize the bandwidth. When users from Lan accessing the internet, it goes out to our GW1 but I want the RETURN internet packets will go first to Expand 2 for compression then goes to Expand1 for decompression. Please see attached network diagram setup. All Expand appliances are already configured. Thanks.
    What configuration should be in GW1 and R2, both C2851?

    Hi Daniel,
    I configure it as PBR so that all www traffic will be pass to that tunnel. I want all www traffic from Area 1 to Area 2 (vice versa) will pass to IPComp Tunnel (see diagram below). I configure a policy based routing in each router. Did I miss something in router configuration? Did I apply the PBR in right interfaces? How can I configure also the returned www traffic in Router 2? I really appreciate for any response. Thank you.
    ROUTER 1
    interface GigabitEthernet0/0
      ip policy route-map EXPAND_AREA1
    route-map EXPAND_AREA1 permit 10
      description IPCOM TUNNEL TO AREA2
      match ip address EXPAND_ACL
      set ip next-hop A.A.A.2
    ip access-list extended EXPAND_ACL
      remark PACKETS THAT PASSES TO IPC TUNNEL
      permit tcp any any eq www
    ========================================
    ROUTER 2
    interface GigabitEthernet0/0
      ip policy route-map EXPAND_AREA2
    route-map EXPAND_AREA2 permit 10
      description IPCOM TUNNEL TO AREA1
      match ip address EXPAND_ACL
      set ip next-hop D.D.D.2
    ip access-list extended EXPAND_ACL
      remark PACKETS THAT PASSES TO IPC TUNNEL
      permit tcp any any eq www

  • How to Create Rate Routing Using BAPI

    Hello Experts,
    I am in SAP ECC 6.0
    We are using Repetitive Manufacturing scenario for PP implementation. For that i need to Create Rate Routing.I tried with BAPI_ROUTING_CREATE
    but it is Creating simple routing.Please help.It is pretty <removed by moderator>.
    Message was edited by: Manish Kumar

    Hello Experts,
                         Please help me on this.As i already tried many stuffs but can't get proper solution.

  • How do increase the font when requesting a print

    When I find it necessary to print a thread of question/answers the printed font size if incredibly small and for MR MAGOO a waste of ink and paper.
    Any tricks to increase the font size of the page(s) i want to print so that it is closer to 12 points ?
    There are some forums that have a print version of their forum web pages.

    Don Archibald wrote:
    Hi, mac midiguy -
    In many browsers, Command-+ (that's the + key on the keypad set) will increase the font size for text displayed on a page. That should carry through when you print the page.
    +I can increase the web page but it will not print the same size +
    >
    You can also select the text, across many entries in a thread including the entire thread if needed, then click on the selected text and drag it off onto the desktop where it should turn into a text document. You can then open that in a text app or word processor, change the text to a size that suits you, and then print it. This has the advantage that you can remove any elements/portions of the thread that don't contribute to the solution, or that you don't otherwise want.
    +Good hint: I'll try this when get to a computer with attached printer+

  • How to Improve performance issue when we are using BRM LDB

    HI All,
    I am facing a performanc eissue when i am retriving the data from BKPF and respective BSEG table....I see that for fiscal period there are around 60lakhs records. and to populate the data value from the table to final internal table its taking so much of time.
    when i tried to make use of the BRM LDB with the SAP Query/Quickviewer, its the same issue.
    Please suggest me how to improve the performance issue.
    Thanks in advance
    Chakradhar

    Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting - post locked
    Rob

  • How to Include House Number when Creating SO using BAPI

    Dear Experts,
    I am using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create a new Sales Order.  I can actually create the sales order with all other fields right except for the HOUSE NUMBER in the SHIP-TO PARTY.
    For the BAPI_SALESORDER_CREATEFROMDAT2, I have include the table ORDER_PARTNERS with structure BAPIPARNR.  But when I check in the structure BAPIPARNR, there is only the field STREET (char 35) but no individual field for HOUSE NUMBER.  May I ask how can I insert the HOUSE NUMBER to the Sales Order? 
    Points will be rewarded for helpful answers.
    Thanks in Advance.

    Hello,
    1) BAPI is not returning the sales order number to the program but when checked from SE37 it is returning the sales order
    number.
    - are you passing simulation parameter (TESTRUN) as 'X'
    2) It is not updating the VBFA (SD flow) table.
    - Please use BAPI_SALESDOCUMENT_COPY for copying and updating VBFA table
    Thanks
    Krish

  • How I can create dynamically-formed requests or use native SQL in EJB?

    Hi all.
    I'm working around modify an example from NetWeaver Developer Studio (CarRental). I want to get ordered data from table and allow users to specify the ordering field, not in the code. EJB QL doesn't support dynamically-formed queries like "select object(b) from QuickBooking b where b.status like ?1 order by b.<b>?2</b>" so i can't passing field name as parameter into query. Creating a sorting method for every field is not good solution because I need a dynamically-formed requests.
    I think using native SQL will help but I don't know how I can use SQL in EJB.
    Thanks,
    Lev

    import javax.persistence.EntityManager;within class, place
    protected EntityManager  entityManager;of course make it public, private, whatever you need.
    Then, in your method
    entityManager.createNativeQuery(....);R. Grimes

  • How to set an item when I redirect using OWA_UTIL.redirect_url

    I am using OWA_UTIL.redirect_url to redirect users.
    but I am lost in how do I set an item doing this. I have an item called :P101_MSG and I want to set it to 1.
    I added &:P101_MSG=1 this: OWA_UTIL.redirect_url ('f?p=&APP_ID.:101:&SESSION.*&:P101_MSG=1* ');
    but that was wrong.
    Can someone tell me the syntax to set P101_MSG=1 when I redirect.
    Howard

    Hi
    I'm not quite sure of what you're doing or where you are but this isn't how you set APEX items in the URL.
    See this example
    f?p=:&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.::::P1_ITEM1,P1_ITEM2:A,BThis sets item1 = A and item 2 = B.
    Is this what you mean (make sue you get the number of colons correct...
    Cheers
    Ben

  • How to solve these Errors when generating .dll (using JNI) ?

    Hello,
    I am very new about JNI. As I have been trying to generate my dll (sysHook.dll) as I followed this topic http://forums.sun.com/thread.jspa?threadID=632369 (by Jbgohlke ) by putting this command:
    cl -I"C:\Program Files\Java\jdk1.6.07\include" -I"C:\Program Files\Java\jdk1.6.07\include\win32" sysHook.cpp -FesysHook.dll Then many errors are popped up as follows:
    sysHook.obj :error LNK2019: unresolved external symbol __imp__CallNextHookEx@16 referenced in function "long__stdcall HookKeyboardProc(int,unsigned int,long)" (?HookKeyboardProc@@YGHIJ@Z)
    sysHook.obj :error LNK2019: unresolved external symbol __imp__SetWindowsHookExA@16 referenced in function " void__cdecl Init(void)" (?Init@@YAXXZ)
    sysHook.obj :error LNK2019: unresolved external symbol __imp__UnHookWindowsHookEx@4 referenced in function "void__Cleanup(void)" (?Cleanup@@YAXXZ)
    sysHook.dll : fatal error LNK1120: 3 unresolved externals
    If anyone of you know this PLEASE!! point me out!!
    [email protected]
    Thanks in advance

    Specify the appropriate library when linking.
    This is not a JNI question. It is a Windows/C/C++ programming question.
    Locking this thread.

  • How to ignore link dialog when file open. using javascript

    open linked eps file from script(below). then the dialogbox show up.
    how do i pass this dialog box?(i want ignore link.)
    but i can't find OpenOptions link property.
    var optRef = new OpenOptions();
    optRef.updateLegacyText = true;
    app.open('A.eps', null, optRef);
    Thanks!
    becky

    temporarily suppress Alerts
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    app.open(File('/c/temp/missinglink.ai'));
    app.userInteractionLevel = UserInteractionLevel.DISPLAYALERTS;

Maybe you are looking for

  • Adobe Updater don't update Acrobat Pro 9.

    Hello, Adobe Updater don't update Acrobat Pro 9. It seems that Acrobat don't appears under Adobe Updater, it appears all others Creative Suite CS4 applications but not Acrobat. I dont know how to fix this. Is there any wahy to manually add Acrobat to

  • IPhoto does not respond even after I upgraded to iLife '11 version

    Every time that I attempt to open up iPhoto it immediately freezes, and all the sites and manuals I have read say that I need to reinstall the program, I need to upgrade to the '11 version anyway (I had the '09 version I think) so I just bought the u

  • Cannot invoke default servlet through invoker????

    Does someone can help me with this exception? what it mean? How to solve? I'm using TomCat 4.0.6 The code i'm using... public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ String url = "/lis3d/servl

  • Scheduling Reports for Yesterday

    Post Author: MartinWVUH CA Forum: Migration to XI R2 I need some help. I have reports run automatically every morning that write or print across our network. I need every day's report to run using the previous day's data. In the old version of Crysta

  • Design Region using HTML and CSS

    Hi, I need to design a region with HTML and CSS tags. Is there any tools available so that auto generated code gets that can be used inside the region. Please suggest. Thanks Sudhir