Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 18:56:54 -0700
From:      "Dan O'Connor" <dan@mostgraveconcern.com>
To:        "Blake Joseph Darche" <darche49@snet.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: help!  Network Configuration!
Message-ID:  <006d01bfd27f$27392800$0200000a@danco>

next in thread | raw e-mail | index | archive | help
>Question:  in order to configure my network interfaces-just basically
>ethernet on my machine running MacBSD 1.4, do I add the network_interfaces=
>line to the rc.conf?   or what exactly do i add to which files.


Well, in FreeBSD, you'd something like this (in /etc/rc.conf) to configure
the device 'ep0':

network_interfaces="ep0 lo0"   # List of network interfaces (lo0 is
loopback).
ifconfig_ep0="inet 10.0.0.1  netmask 255.0.0.0"

I'm not sure if it would be the same in MacBSD...

You can try and see if it works by running 'ifconfig' manually:

# ifconfig ep0 inet 10.0.0.1 netmask 255.0.0.0 up


--Dan

--
Dan O'Connor
On Matters of Most Grave Concern
http://www.mostgraveconcern.com




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?006d01bfd27f$27392800$0200000a>