[ntp:questions] Re: Using loopback interface as source address for NTP client

Vaidotas J. dtroit at ktu.lt
Mon Dec 13 11:45:05 UTC 2004


On Fri, 10 Dec 2004 10:29:56 +0000 (GMT)
Aravind babu <aravindforn at yahoo.co.in> wrote:

> Hi David,
>  
>            Thanks for your reply.Why i need loopback as source is " I have a security appliance(Firewall/VPN) .Suppose if the WAN mode is dial-up address will be changed dynamically.I want to remain my request to send from same ip .So i want to use loopback as source so that if WAN address changes also my request will go from same address."I think u got my point.
> So is there any facility in linux to configure loopback address as source for NTP client ? I checked the source code of NTP in linux.I am planning to change the source code.Is there any easy way to accomplish this?
>  
>  
> Thanks,
>  
> Waiting for your reply,
> Aravind.
> 
> David Woolley <david at djwhome.demon.co.uk> wrote:
> In article ,
> Aravind babu wrote:
> 
> 
> > Can we use loopback interface as source address of NTP client
> *** when talking with NTP server ?If yes how can we configure it?In
> *** which configuration file we have to change ?
> 
> The literal answer is use "ntpdate -d 127.0.0.1" on the machine running
> the server and you will have an NTP client using the loopback address,
> as source address.
> 
> However, I have to assume that the question was meant to be sensible, in
> which case you need to explain why you are trying to do something 
> apparently silly, so that we can understand what you really want to do.
> _______________________________________________
> questions mailing list
> questions at lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions
> 
> 		
> ---------------------------------
> Do you Yahoo!?
>  Meet the all-new My Yahoo! – Try it today! 
> _______________________________________________
> questions mailing list
> questions at lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions
hi,

I know that people use loopback addresses on routers with dynamic routing protocols, to keep the peer IP address alive when interface flaps (consumes cpu calculating power and no flood to network about topology change) and for some other reasons (the loopback always stays alive and can be reached)... but i don't think that i'll work with ntpd ...

Best regards,
Vaidotas Januska
LitNET NOC
dtroit at ktu.lt



More information about the questions mailing list