Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 15:37:29 +0000
From:      Paul Macdonald <paul@ifdnrg.com>
To:        questions@freebsd.org
Subject:   SOLVED  /23 static routing question
Message-ID:  <51409D39.6030107@ifdnrg.com>
In-Reply-To: <51409444.1090803@ifdnrg.com>
References:  <51409444.1090803@ifdnrg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13/03/2013 14:59, Paul Macdonald wrote:
>
> Hi,
>
> I have added an IP of the 2nd group of 254 addresses in a /23.
>
> let's call them            100.100.98.0           and 100.100.99.0
>
> what's the correct way to set up the routing table for this and how my 
> rc.conf should look
>
> Currently netstat shows something like the below
>
> Destination        Gateway            Flags    Refs      Use Netif Expire
> default            100.100.98.254     UGS         0 111301074 bge0
> 100.100.98.0       link#1             U           0 1470707172 bge0
>
> But  i suspect i want:
>
> Internet:
> Destination        Gateway            Flags    Refs      Use Netif Expire
> default            100.100.98.254     UGS         0 111301074 bge0
> 100.100.98.0       link#1             U           0 1470707172 bge0
> 100.100.99.0       link#1             U           0 1470707172 bge0
>
> or
> 100.100.98.0/23       link#1             U           0 1470707172 bge0
>
>

restarting routing seemed to do this fine...:P

/" FreeBSD will automatically identify any hosts (//test0//in the 
example) on the local Ethernet and add a route for that host, directly 
to it over the Ethernet interface, //ed0"//
/http://www.freebsd.org/doc/handbook/network-routing.html



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