Re: strange route problem

From: Niki Denev <nike_d_at_cytexbg.com>
Date: Wed, 6 Jul 2005 11:26:12 +0300
On Wednesday 06 July 2005 06:46, M. Warner Losh wrote:
> In message: <86irzrwqnc.fsf_at_xps.des.no>
>
>             des_at_des.no (Dag-Erling Smørgrav) writes:
> : Niki Denev <nike_d_at_cytexbg.com> writes:
> : > 10.10.10           192.168.100.1      UGS         0     1016   ste1
> :
> : this route lacks a mask length.
>
> I've seen these as well when dhclient was involved for both fxp0 and
> iwi0 on my laptop, but couldn't recreate it.
>
> Warner
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>

netname() in src/sbin/route/route.c does this i think.
i can add several different addresses with 
route add -net xx.xx.xx.xx/24 zz.zz.zz.zz
and some of them will show up with /24 other will not.(i´m not shure 
that this is right :):) )

But the real problem that i´m expeiencing is that if i install a static route
to the interface that uses dhcp after a while this route will stop working 
despite being shown properly in the routing table. (doing a ¨route change¨
 with the same parameters fixes it)
My initial guess was that this probably has something to do with the 
periodic UPs and DOWNs of the interface that are caused by (the new?)dhclient.

For now i ¨patched¨ the situation with ¨route-to¨-s in pf.conf,
but i´ve not given up to find out what´s happening :):)

--niki
Received on Wed Jul 06 2005 - 06:26:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC