NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Static ip on NetBSD / My rc.conf



On Mon, 28 Nov 2011, George Ember wrote:

> Subject: Static ip on NetBSD / My rc.conf

If this is a question, here is an idea:

ifconfig_xxN=192.168.1.23

(Such as ifconfig_re0 or ifconfig_fxp0.)

Run "ifconfig -l" or "ifconfig -a" to see the names of your interfaces.

Or use a file /etc/ifconfig.re0 (or other interface), such as
192.168.1.23 up media autoselect

See the rc.conf manual page.

You may want to set up /etc/resolv.conf also.


Home | Main Index | Thread Index | Old Index