Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 08:57:41 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        David Ulrich <dulrich@aspirine.li>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Nat, dhcpd and ipfw
Message-ID:  <441D6355.6080100@mac.com>
In-Reply-To: <D7A4D353-BB8A-4F5B-95D1-2BFA7E4668F2@aspirine.li>
References:  <D7A4D353-BB8A-4F5B-95D1-2BFA7E4668F2@aspirine.li>

next in thread | previous in thread | raw e-mail | index | archive | help
David Ulrich wrote:
[ ... ]
> ############### rc.conf ###############
> # -- sysinstall generated deltas -- # Wed Mar 15 14:08:02 2006
> # Created: Wed Mar 15 14:08:02 2006
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> gateway_enable="YES"
> 
> natd_enable="YES"
> natd_interface="re0"
> natd_flags="-s -u -m"
> ifconfig_re0="DHCP"
> dhcpd_enable="YES"
> dhcpd_iface="vr0"
> dhcpd_flags="vr0"
> keymap="swissfrench.iso.acc"
> nfs_server_enable="YES"
> rpcbind_enable="YES"
> saver="fire"
> scrnmap="NO"
> sshd_enable="YES"
> usbd_enable="YES"
> mysql_enable="YES"
> apache_enable="YES"
> firewall_enable="YES"
> firewall_logging_enable="YES"
> firewall_type="open"
> hostname="Beastie.aspirine.li"
> ifconfig_vr0="inet 10.192.168.5 netmask 255.255.255.0"
> 
[ ... ]
> subnet 10.192.168.0 netmask 255.255.255.0 {
>   range 10.192.168.1 10.192.168.4;
>   option domain-name "aspirine.li";
>   option domain-name-servers 10.192.168.5;
> 
>   default-lease-time 600;
>   max-lease-time 7200;
>   option routers 10.192.168.5;
>   option broadcast-address 10.192.168.255;
> }

You need to put named_enable="YES" into /etc/rc.conf and get your nameserver
working on .5, put another working nameserver into your DHCP config, or both.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?441D6355.6080100>