Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2008 20:01:13 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   Routing table issue
Message-ID:  <48FCB959.1010105@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
I have noticed one strange issue on recent 7-STABLE/8-CURRENT:
- this works:
%route add 10.0.0.0/8 192.168.3.1
add net 10.0.0.0: gateway 192.168.3.1
%route add 10.0.0.0/9 192.168.3.2
add net 10.0.0.0: gateway 192.168.3.2
- this doesn't:
%route add 0.0.0.0/0 192.168.3.1
add net 0.0.0.0: gateway 192.168.3.1
%route add 0.0.0.0/1 192.168.3.2
route: writing to routing socket: File exists
add net 0.0.0.0: gateway 192.168.3.2: route already in table

Who wants to explain me why 0.0.0.0/0 and 0.0.0.0/1 is now the same?

PS: Same test on 6.2 works fine.

-- 
Alexander Motin



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