interfaces mapping question

Roland Wegmann rowe_gnu at gmx.net
Sat Dec 18 19:42:54 UTC 2004


Hello all

I found the below mentioned definition 'mapping eth0 ...' as an example
in the manpage of 'interfaces'.

mapping eth0
	script /usr/local/sbin/map-scheme
	map HOME eth0-home
	map WORK eth0-work


I don't understand what the expressions 'HOME' and 'WORK' stands for (or
are used for). 

The manpage tells '... The script is run with the physical interface
name (I suppose this means 'eth0', does it?) as its argument and with
the contents of all following 'map' lines (without the leading 'map') in
the stanza provided to it on its standard input. ...'.
This sentence doesn't help me to understand what the 'HOME' and 'WORK'
are used for. The meaning of the expressions ' eth0-home' and
'eth0-work' - I think - shows the manpage example.

Could someone of you explain me the meaning of 'HOME' and 'WORK' ?

kind regards, Roland







More information about the ubuntu-users mailing list