Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 11:26:12 +0300
From:      Niki Denev <nike_d@cytexbg.com>
To:        freebsd-current@freebsd.org
Subject:   Re: strange route problem
Message-ID:  <200507061126.13158.nike_d@cytexbg.com>
In-Reply-To: <20050705.214614.38231003.imp@bsdimp.com>
References:  <42C84717.9020100@cytexbg.com> <86irzrwqnc.fsf@xps.des.no> <20050705.214614.38231003.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 06 July 2005 06:46, M. Warner Losh wrote:
> In message: <86irzrwqnc.fsf@xps.des.no>
>
>             des@des.no (Dag-Erling Sm=F8rgrav) writes:
> : Niki Denev <nike_d@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>

netname() in src/sbin/route/route.c does this i think.
i can add several different addresses with=20
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=B4m not shure=20
that this is right :):) )

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

=46or now i =A8patched=A8 the situation with =A8route-to=A8-s in pf.conf,
but i=B4ve not given up to find out what=B4s happening :):)

=2D-niki



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507061126.13158.nike_d>