Subject: Re: network config: rc.conf or separate files?
To: None <netbsd-users@NetBSD.org>
From: Liam J. Foy <liamfoy@sepulcrum.org>
List: netbsd-users
Date: 04/13/2007 17:39:13
Douglas Allan Tutty wrote:
> I'm learning NetBSD (from Debian), doing a test install on an old 171 MB
> drive.  
> 
> Reading the guide, there appear to be two ways to configure networking:
> 
> 	put things like hostname and ifconfig in rc.conf
> 
> 	put things in separate files like /etc/myname, /etc/ifconfig.xxx
> 
> I'm wondering why there are two different ways and the pros and cons of
> choosing either.  Is one historical and the other more recent?
> 

Hi Doug,

I don't think there is any technical difference. I think its more of 
whatever you prefer. However, from rc.conf you could set routes etc to 
'completely' setup your network. From what I understand 
/etc/ifconfig.xxx just allows the network interface configuration settings.

Thanks,

-- 
	--
	Liam J. Foy
	<liamjfoy@netbsd.org>