[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ipfw
Subject:    DHCP with ipfw
From:       Sergei Gnezdov <use-reply-to () gnezdov ! net>
Date:       2005-03-25 5:07:30
Message-ID: slrnd4775d.79b.use-reply-to () gnezdov ! net
[Download RAW message or body]

/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}'`



_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic