defaultroute not loading

Michael Zimmer drakyri at hotmail.com
Thu Jan 12 15:37:28 PST 2006


   I just updated a i386 gateway to 6.0-STABLE - using my backed-up
   versions [from 5.1] of:

   rc.conf
   rc.firewall
   rc.resume
   rc.sendmail
   rc.shutdown
   rc.subr
   rc.suspend
   resolv.conf
   sysctl.conf
   ipnat.rules
   ipf.rules

   ...and the default route won't load on boot, although it is specified
   in rc.conf (replace all non-comment #'s and 1.2.3.4 with appropriate
   numbers....)

   hostname="#####.com"
   defaultrouter=1.2.3.4                  # previously "1.2.3.4"; removed
   upon suggestion to no effect
   icmp_bmcastecho="YES"
   gateway_enable="YES"
   inetd_enable="YES"
   kern_securelevel_enable="NO"
   linux_enable="YES"
   moused_enable="YES"
   sendmail_enable="NO"
   sshd_enable="YES"
   usbd_enable="YES"
   firewall_enable="YES"
   firewall_type="UNKNOWN"
   pccard_beep=0
   keybell="NO"
   ipfilter_enable="YES"
   ipfilter_flags=""
   ipnat_enable="YES"
   ipnat_rules="/etc/ipnat.rules"
   ifconfig_rl0="inet #.#.#.# netmask 255.255.255.224"
   ifconfig_xl0="inet 192.168.1.1 netmask 255.255.255.224"

   -------

   I can manually add the route (route add default 1.2.3.4) upon boot,
   but this isn't a practical long-term solution, since I won't always be
   around to manage this gateway.

   If anyone has any input I'd appreciate it.  Thanks.


More information about the freebsd-questions mailing list