HEADS UP: Network Interface Aliasing

Hiten Pandya hmp at backplane.com
Mon Mar 15 14:52:11 PST 2004


Gang,

I have committed the remaining parts of the network interface aliasing 
functionality from FreeBSD which were missed when the kernel part of the 
if_xname was committed.

In order to configure an alias for your fxp* cards, for example:

	# ifconfig fxp0 name 'LAN'
	# ifconfig fxp1 name 'WAN'
You should now be able to refer to them as LAN and WAN, both valid names 
pointing to fxp0 and fxp1.  Note, by issuing the name command, the IF is 
only gets an alias, fxpN will stay fxpN, the new `name' is *only* an
alias.

Hope that helps, and enjoy. :-)

Cheers.

	-Hiten
	Hiten Pandya
	hmp at xxxxxxxxxxxxx || hmp at xxxxxxxxxxx





More information about the Kernel mailing list