From owner-freebsd-isp Sat Nov 1 12:36:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA06285 for isp-outgoing; Sat, 1 Nov 1997 12:36:37 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from mole (mole.slip.net [207.171.193.16]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA06277 for ; Sat, 1 Nov 1997 12:36:34 -0800 (PST) (envelope-from dnelson@slip.net) Received: from slip-3.slip.net [207.171.193.17] (dnelson) by mole with smtp (Exim 1.73 #2) id 0xRkHQ-0005HK-00; Sat, 1 Nov 1997 12:36:24 -0800 Date: Sat, 1 Nov 1997 12:36:22 -0800 (PST) From: Dru Nelson X-Sender: dnelson@slip-3 To: Ronald Wiplinger cc: FreeBSD-isp Subject: Re: Routing entry for sysconf In-Reply-To: <199711011923.DAA07598@mail.trace.com.tw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Your subnet masks look like one part of the problem. 112 = 0111 0000 Subnet masks require continous bits of 1 Since you are dividing the nets into 32 addresses each or 8 subnets, 111 00000 = 224 So try 255.255.255.224 Also, the RFC isn't clear on this and most routers ignore this anyway (ie. you can get away with it) but you shouldn't use the 0 or 8 subnets. On Sun, 2 Nov 1997, Ronald Wiplinger wrote: > I have added into my router computer running FreeBSD 3 ethernet cards and one Router card. > > I have problems to figure out the right way to define the subnets for the three ethernet cards in sysconfig. > > I want: > > fxp0: 203.67.189.0 netmask 255.255.255.112 (0, 1 - 30, 31 [network, usable addresses, broadcast]) > (for all servers 100 MB/s) > > ed0: 203.67.189.32 netmask 255.255.255.112 (32, 33 - 62, 63) > (for our office 10 MB/s) > > ed1: 203.67.189.64 netmask 255.255.255.112 (64, 65 - 94, 95) > ed1: 203.67.189.96 netmask 255.255.255.112 (96, 97 - 126, 127) > ed1: 203.67.189.128 netmask 255.255.255.112 (128, 129 - 158, 159) > ed1: 203.67.189.160 netmask 255.255.255.112 (160, 161 - 190, 191) > ed1: 203.67.189.192 netmask 255.255.255.112 (192, 193 - 222, 223) > ed1: 203.67.189.224 netmask 255.255.255.112 (224, 225 - 254, 255) > (for class room 10 MB/s) > > eth0: 192.168.19.22 192.168.19.21 netmask 255.255.255.252 to my provider > eth1: 192.168.150.1 192.168.150.2 netmask 255.255.255.255 to my customer > .... > > > > > > > bye > > Ronald Wiplinger > Gen. Manager of Wang's Trace International Co., Ltd. (Taiwan: Taipei, Touyuan, Kaohsiung) > Tel: +886 2 609-0652, Handy: +886 932 251430 Fax: +886 2 600-0132 > http://www.trace.com.tw > >