From owner-freebsd-questions@FreeBSD.ORG Wed Mar 13 14:59:21 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9D163892 for ; Wed, 13 Mar 2013 14:59:21 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.76]) by mx1.freebsd.org (Postfix) with ESMTP id 48DE4C1C for ; Wed, 13 Mar 2013 14:59:21 +0000 (UTC) Received: from [192.168.1.105] (cpc15-sgyl30-2-0-cust460.18-2.cable.virginmedia.com [82.39.117.205]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.5/8.14.5) with ESMTP id r2DExDlp010862 for ; Wed, 13 Mar 2013 14:59:13 GMT (envelope-from paul@ifdnrg.com) Message-ID: <51409444.1090803@ifdnrg.com> Date: Wed, 13 Mar 2013 14:59:16 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: questions@freebsd.org Subject: /23 static routing question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 14:59:21 -0000 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 ----------------------------------------------------