[ntp:questions] Question regarding broadcast client

John Zornig j.zornig at uq.edu.au
Tue Oct 21 08:11:29 UTC 2008


Sorry for the confusion David.

I have two similarly configured situations. The one I posted the  
detailed data from was the easiest to physically get to, but had a  
slightly different network to what I had described in the original  
email. The client machine is connected to a variety of different IP  
subnets including the one with the NTP appliance. It is supporting Xen  
virtual machines, so the networks are virtual in a way.

It has the following config.

NTP appliance ip: 10.10.9.1 netmask:255.255.0.0
Client ip:10.10.1.9 netmask 255.255.0.0
The broadcast is to 10.10.255.255.

The excerts from the log relating to the ntp appliance network are:
...
addto_syslog: Listening on interface eth0, 10.10.1.9#123 Enabled
bind() fd 21, family 2, port 123, addr 172.27.128.254, flags=25
Added addr 172.27.128.254 to list of addresses
flags for fd 21: 04002
...
interface 4:  fd=20,  bfd=-1,  name=eth0,  flags=0x19,  scope=0
               sin=10.10.1.9  bcast=10.10.255.255,  mask=255.255.0.0
Enabled
...
bind() fd 26, family 2, port 123, addr 10.10.255.255, flags=8
Added addr 10.10.255.255 to list of addresses
flags for fd 26: 04002
...
Broadcast enabled on socket 26 for address 10.10.1.9
Modifying addr 10.10.1.9 in list of addresses
addto_syslog: io_setbclient: Opened broadcast client on interface 4,
socket: 26
...

I will try running ntpd in a domU virtual machine rather than the dom0  
host and see if this makes a difference.

Thanks,
JZ

On 21/10/2008, at 4:53 PM, David Woolley wrote:

> John Zornig wrote:
>
>> Enabled
>> interface 7:  fd=23,  bfd=-1,  name=eth1,  flags=0x19,  scope=0
>>               sin=10.1.1.9  bcast=10.1.1.255,  mask=255.255.255.0
>
> It's failed to find the interface on which you are listening.  Why so
> many?  Is the target interface real?
>
> I seem to remember there are some issues with virtual interfaces on  
> Linux.
>
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> https://lists.ntp.org/mailman/listinfo/questions

John Zornig
Specialist Systems Analyst
Australian Access Federation

AusCERT &
Strategic Technologies Group
Information Technology Services (ITS)
The University of Queensland
Brisbane Qld, 4072

Ph: +61 7 336 54288
Mob: +61 434 351 532
j.zornig at uq.edu.au
http://www.uq.edu.au/~uqjzorni/








More information about the questions mailing list