Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 14:59:16 +0000
From:      Paul Macdonald <paul@ifdnrg.com>
To:        questions@freebsd.org
Subject:   /23 static routing question
Message-ID:  <51409444.1090803@ifdnrg.com>

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

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@ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
----------------------------------------------------
High Specification Dedicated Servers from £100.00pm
----------------------------------------------------




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