Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

routing messages missing?



Hi,

with a -current as of 2014-01-12 I don't see
on wm0 for 'ifconfig wm0 alias 10.200.10.2 netmask 0xffffff00'
a RTM_NEWADDR for 10.200.10.2 in 'route monitor'.

but I see for 'ifconfig wm0 10.200.10.2 delete':
got message of size 88 on Mon Jan 20 19:53:01 2014
RTM_DELADDR: address being removed from iface: len 88, metric 0, flags: <CLONING>
sockaddrs: <NETMASK,IFP,IFA,BRD>
 255.255.255.0 wm0:bc.5f.f4.98.32.84 10.200.10.2 10.200.10.255

doing 'ifconfig lo0 alias 127.0.0.2; ifconfig lo0 127.0.0.2 delete'
gives as expected:
RTM_NEWADDR: address being added to iface: len 80, metric 0, flags: none
sockaddrs: <NETMASK,IFP,IFA,BRD>
 255.0.0.0 lo0 127.0.0.2 127.0.0.2
got message of size 152 on Mon Jan 20 19:51:01 2014
RTM_ADD: Add Route: len 152, pid 0, seq 0, errno 0, flags: <UP,HOST>
locks: none inits: none
sockaddrs: <DST,GATEWAY>
 127.0.0.2 127.0.0.2
got message of size 152 on Mon Jan 20 19:51:30 2014
RTM_DELETE: Delete Route: len 152, pid 0, seq 0, errno 0, flags: <HOST>
locks: none inits: none
sockaddrs: <DST,GATEWAY>
 127.0.0.2 127.0.0.2
got message of size 80 on Mon Jan 20 19:51:30 2014
RTM_DELADDR: address being removed from iface: len 80, metric 0, flags: none
sockaddrs: <NETMASK,IFP,IFA,BRD>
 255.0.0.0 lo0 127.0.0.2 127.0.0.2

Why is there no routing message RTM_NEWADDR for an ifconfig wm0 alias w.x.y.z on wm0 ?

Frank


Home | Main Index | Thread Index | Old Index