Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what if in freebsd you need to setup 1 of 4 nics on a quad nic, but everything in rc.conf?

9 views
Skip to first unread message

johannes falcone

unread,
May 17, 2013, 5:25:54 PM5/17/13
to
how do freeebsd-ers handle that?

esp important if this is production box fixing and dont want all 4 to be affected

Bob Eager

unread,
May 17, 2013, 5:41:32 PM5/17/13
to
It's not very clear what you are asking, especially as the question is
largel;y in one long subject line.

Can you rephrase it and put it in the body of the message please?



--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
http://www.mirrorservice.org

johannes falcone

unread,
May 17, 2013, 9:44:54 PM5/17/13
to
if you have 4 network cards but want to change one, how?

freebsd has 1 config file so it seems all or nothing?

I am asking because someone at work complained about that being a weakness of bsd, and I was unclear howto answer.

I thought of rc.local.conf or something....but wasnt sure.

Bob Eager

unread,
May 18, 2013, 3:06:17 AM5/18/13
to
There are separate lines in rc.conf for each network card. For example:

ifconfig_em0="DHCP"
ifconfig_em1="DHCP"
ifconfig_em2="DHCP"
ifconfig_em3="DHCP"

You just change the line that relates to the card you change.

johannes falcone

unread,
May 18, 2013, 9:41:46 PM5/18/13
to
wow so its simple

My boss thought from his bsd experience the redhat way of different files for each network card was safer for some reason....

I don't get what he was on about.



0 new messages