Current-Users archive

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

Re: Renaming interfaces in VM



On Mon, Dec 15, 2008 at 11:20:11AM -0800, superdave wrote:
> 
> Okay, I have a "dump" of an actual server that I've loaded into a VM session.
> I would like to do research and practice installations, etc., on this VM
> before applying them to the actual server.Here is where I'm stuck:
> The ethernet interface names are all different; the pcn0 device is what a VM
> session gives me, but the actual devicenames are "bge0", etc. So, PF.conf is
> not able to process. 
> 
> Is there any way in NetBSD 4.0 to change the interface names? 

Not in general, easily.  For the specific pf case, you could look at
abstracting interface names with macros, as commonly given in the
examples.  That won't help other cases (like rc ifconfig), but might
reduce the problem below a suitable pain threshold.

--
Dan.

Attachment: pgpkd9CbZ1cOk.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index