RE: save-entropy "route: not found"

From: Lucky Green <shamrock_at_cypherpunks.to>
Date: Thu, 1 May 2003 00:36:55 -0700
> On Tue, 29 Apr 2003, Poul-Henning Kamp wrote:
> 
> > In message <20030429112849.T95090_at_cheesy.cypherpunks.to>, 
> Lucky Green 
> > writes:
> > >One of my 5.0 test boxes is spewing these cron emails. Any 
> idea why 
> > >this might be? (Email addresses modified)
> >
> > /usr/libexec/save-entropy is a shell script and it pulls in 
> > /etc/rc.conf and friends.  It's probably something in there 
> that trips 
> > it...

We have a winner. The script doesn't like the route entry in the rc.conf
file of my test box:
----------
ifconfig_xl0="inet 208.201.229.161  netmask 255.255.255.0"
defaultrouter="208.201.229.1"
hostname="cheesy.cypherpunks.to"

ifconfig_fxp0="inet 192.168.1.110  netmask 255.255.255.0"
route -n add -net 192.168.1 192.168.1.110 -interface fxp0
----------

This server has two NICs. An external NIC and internal NIC. The machine
does not act as a gateway or NAT; that functionality is handled by
dedicated hardware. The reason why this server has two NICs is to permit
me to offer SAMBA only on the inside while still being able to access
the box from the Internet without having to go through the NAT.

What changes do I need to make to rc.conf that will allow me to still
both reach the Internet and the internal network from the server while
making save-entropy happy?

Thanks,
--Lucky
Received on Wed Apr 30 2003 - 22:37:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:05 UTC