Routing table issue

Alexander Motin mav at FreeBSD.org
Mon Oct 20 18:01:15 UTC 2008


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


More information about the freebsd-net mailing list