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