Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!128.230.129.112!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eerie.fr!cnusc.fr!univ-lyon1.fr!jussieu.fr!rain.fr!francenet.fr!usenet From: Eric CHOLET <logilune@micronet.fr> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Gateway problem Date: Sun, 06 Jul 1997 14:47:54 +0200 Organization: Logilune Lines: 40 Message-ID: <33BF93FA.78CD@micronet.fr> NNTP-Posting-Host: ppp73.micronet.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 [fr] (Win95; I) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44019 I am trying to setup a FreeBSD system to act as a gateway to the Internet. My assigned IP address block is 195.80.134.0/26. Following advice from my ISP, I have subnetted this block as follows: 195.80.134.0/30 netmask 255.255.255.252 Internet 195.80.134.1 lucifer 195.80.134.2 cisco 195.80.134.16/28 netmask 255.255.255.240 DMZ-1 195.80.134.17 lucifer 195.80.134.32/27 netmask 255.255.255.224 DMZ-2 195.80.134.33 lucifer 195.80.134.34 eden 'cisco' is the router to my ISP. 'Lucifer' is the gateway system, running FreeBSD 2.2.1. It has 3 NICs with the following config: 195.80.134.1 netmask 255.255.255.252 195.80.134.17 netmask 255.255.255.240 195.80.134.33 netmask 255.255.255.224 defaultrouter = 195.80.134.2 gateway = yes 'Eden' is a machine on DMZ-2 where I which to run my web server. Its config is: 195.80.134.34 netmask 255.255.255.224 defaultrouter = 195.80.134.33 From Lucifer I can ping the whole world. From Eden I can ping any of Lucifer's addresses, but nothing else : 'ping cisco' fails. 'traceroute cisco' shows that it's trying to use the default gateway 195.80.134.33, but goes no further. I'm new to this stuff, in case I'm not making sense. Eric logilune@micronet.fr