Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2010 15:51:47 -0200
From:      "Tobias P. Santos" <tobias@ntelecom.com.br>
To:        Nikos Vassiliadis <nvass9573@gmx.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Remove route 0.0.0.0&0x1
Message-ID:  <4CF3E833.5040507@ntelecom.com.br>
In-Reply-To: <20101128010732.229640@gmx.com>
References:  <20101128010732.229640@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>> [...]
>>
>> route add -net 192.168.0.100 192.168.0.200 255.255.255.255 1
>>
>> Destination Gateway Flags Refs Use Netif Expire
>> 0.0.0.0&0x1 192.168.0.200 UGS 0 0 bge
> Try:
> route delete 0.0.0.0 -netmask 0.0.0.1
>   
It worked!


> [...]
> A 0.0.0.0/0.0.0.1 route matches every IP with bit 0 clear and is
> half the size of a 0.0.0.0/0.0.0.0 route - which is pretty big.
> Something like:
> 0.0.0.0
> 0.0.0.2
> 0.0.0.4
> ...
> 255.255.255.252
> 255.255.255.254
>
> HTH, Nikos
>   
I agree. What I don't understand is how the command I typed could become 
0.0.0.0/0.0.0.1 in the routing table.

Thank you,
Tobias.



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