/23 static routing question

Paul Macdonald paul at ifdnrg.com
Wed Mar 13 14:59:21 UTC 2013


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


many thanks
Paul.











-- 
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546
e: paul at ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
----------------------------------------------------
High Specification Dedicated Servers from £100.00pm
----------------------------------------------------



More information about the freebsd-questions mailing list