Date: Sat, 1 Nov 1997 12:36:22 -0800 (PST) From: Dru Nelson <dnelson@slip.net> To: Ronald Wiplinger <ronald@trace.com.tw> Cc: FreeBSD-isp <freebsd-isp@freebsd.org> Subject: Re: Routing entry for sysconf Message-ID: <Pine.GSO.3.96.971101123112.6599A-100000@slip-3> In-Reply-To: <199711011923.DAA07598@mail.trace.com.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.971101123112.6599A-100000>