Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 13:57:30 -0400
From:      Shannon Hendrix <shannon@widomaker.com>
To:        freebsd-hackers@freebsd.org
Subject:   Using any network interface whatsoever
Message-ID:  <1BD42692-F8C2-4F37-BDA6-619B95474065@widomaker.com>

next in thread | raw e-mail | index | archive | help

 From mailing list archives:

> I wrote some add-on bits for /etc/rc.network in 4.x that compares  
> the link addresses of attached network interfaces to a list of link  
> addresses, then sets ifconfig_ifN* variables accordingly before  
> rc.network does anything. It provides a means of wiring IP addresses  
> to physical ports in a way that gets around the problem of probe  
> order. If there's interest, I'll get to work on an rcNG version.

I would be interested in seeing this.

I build custom machines for a company I work for, and one of our  
requirements is the ability to number the network ports.

End users configure our software based on which port they use, so we  
need steady numbering of the ports, even when one customer machine  
might have different cards and number of cards.

We basically want the order to be:

0-N		motherboard ports
N+1 -> M	card ports

It sounds like your script might work, given the apparent absence of  
geographic mapping in most current systems.

Thanks for any help.

-- 
"Where some they sell their dreams for small desires."






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1BD42692-F8C2-4F37-BDA6-619B95474065>