Network Interface configuration
Damien Fleuriot
ml at my.gd
Wed Mar 7 09:05:40 UTC 2012
On 3/7/12 9:21 AM, hiren panchasara wrote:
>
>
> On Wed, Mar 7, 2012 at 12:08 AM, Damien Fleuriot <ml at my.gd
> <mailto:ml at my.gd>> wrote:
>
>
> In /etc/rc.conf
>
> See the man page for rc.conf for a more detailed use.
> See the small example bellow:
>
> ifconfig_re0="inet 192.168.0.30/24 <http://192.168.0.30/24> up"
> defaultrouter="192.168.0.254"
>
> These are the very basics ;)
>
>
> Thanks Damien.
>
> I looked at the man page. I did "ifconfig" on my box and found an
> interface named fwe0. I do not see any entry for that in any
> /etc/rc.conf or /etc/defaults/rc.conf
>
> Where is that coming from?
>
> Am I missing anything?
>
> Appreciate your help,
> Hiren
>
The specific parts you'll want to look for, in rc.conf's man page are:
ifconfig_
These describe how to permanently setup your network cards.
Notice that unlike linux where cards share the same name (ethX), in
freebsd your cards are named after the driver that is used.
For example, most Intel cards use either "em" or "igb".
Regarding your setup, you'll want to use "ifconfig_fwe0" instead of
"ifconfig_re0".
More information about the freebsd-net
mailing list