Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 05:07:30 +0000 (UTC)
From:      Sergei Gnezdov <use-reply-to@gnezdov.net>
To:        freebsd-ipfw@freebsd.org
Subject:   DHCP with ipfw
Message-ID:  <slrnd4775d.79b.use-reply-to@gnezdov.net>

next in thread | raw e-mail | index | archive | help
/etc/rc.conf:

  ifconfig_rl0="DHCP"

  firewall_type="client"
  firewall_enable="YES"

When my machine boots firewall is initialized before DHCP obtains IP
address.  This results in incomplete firewall configuration.  How do I
fix this?

My /etc/rc.firewall initialized with the following commands:

  net=`ifconfig rl0 | grep "inet " | awk '{print $6}'`
  mask="255.255.255.0"
  ip=`ifconfig rl0 | grep "inet " | awk '{print $2}'`





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnd4775d.79b.use-reply-to>