Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 15:12:41 +1000
From:      Nick Slager <nicks@albury.net.au>
To:        Vitaminoid <vitaminoid@royal.net>
Cc:        FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ifconfig problem
Message-ID:  <20000728151241.A49511@albury.net.au>
In-Reply-To: <142188152729.20000728155041@royal.net>; from vitaminoid@royal.net on Fri, Jul 28, 2000 at 03:50:41PM %2B1100
References:  <142188152729.20000728155041@royal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Vitaminoid (vitaminoid@royal.net):

> the following commands:
> ifconfig rl0 inet 10.0.1.105 netmask 255.255.255.0
> and the same on ed0 make interfaces work right, pinging is ok for both
> 
> but when i make the same things in the rc.conf:
> 
> hostname="free.stm"
> network_interfaces="lo0 rl0 ed0"
> ifconfig_lo0="inet lo0 127.0.0.1"
> ifconfig_rl0="inet rl0 10.0.1.105 -netmask 255.255.255.0"
> ifconfig_ed0="inet ed0 132.124.12.10 -netmask 255.255.255.0"
                                       ^^^^^^^^
There's your problem. Incorrect syntax for the ifconfig lines in
/etc/rc.conf.

> and! when i get interfaces up manually, defaultrouter doesn't work..
> what's wrong?

Make sure your interfaces are up and running, then add your default
route.

> also i don't have /etc/resolv.conf.. should i make it manually?

At this stage it would be easiest to add it manually.


Regards,


Nick.


-- 
 From a Sun Microsystems bug report (#4102680):
  "Workaround: don't pound on the mouse like a wild monkey."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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