* ifconfig: hostname alias?
@ 2000-02-15 5:00 Steve Stoddard
[not found] ` <88d63n$8ec$1@news.latrobe.edu.au>
0 siblings, 1 reply; 2+ messages in thread
From: Steve Stoddard @ 2000-02-15 5:00 UTC (permalink / raw)
tu0 is already configured for one hostname and IP address, but I want to
assign an additional hostname alias and IP address to that interface.
'man ifconfig' says it can be done with the -alias #.#.#.# parameter,
but I'm unable to accomplish it. I've also tried 'netsetup' with the
flag -alias #.#.#.#, but that only screwed things up. How can
I accomplish my goal?
Thanks.
Steve Stoddard
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <88d63n$8ec$1@news.latrobe.edu.au>]
* Re: ifconfig: hostname alias? [not found] ` <88d63n$8ec$1@news.latrobe.edu.au> @ 2000-02-16 5:00 ` Steve Stoddard 0 siblings, 0 replies; 2+ messages in thread From: Steve Stoddard @ 2000-02-16 5:00 UTC (permalink / raw) Andrew Moar wrote: > In article <38AA0977.B1E39DFC@midwest.net>, > Steve Stoddard <sstod@midwest.net> writes: > > tu0 is already configured for one hostname and IP address, but I want to > > assign an additional hostname alias and IP address to that interface. > > 'man ifconfig' says it can be done with the -alias #.#.#.# parameter, > > but I'm unable to accomplish it. I've also tried 'netsetup' with the > > flag -alias #.#.#.#, but that only screwed things up. How can > > I accomplish my goal? > > I think you want to use just alias (not -alias - that removes the alias) > Eg. > > # ifconfig tu0 alias 123.456.7.89 > > Also add this line to /etc/inet.local and it'll happen on reboot as well. > > Cheers, > > Andrew > -- > Andrew Moar : Ph +61 3 9479 1505 email A.Moar@latrobe.edu.au > Unix Environment Specialist, Information Technology Services > La Trobe University, Melbourne Thanks Andrew. I think in retrospect I had tried the ifconfig command the way you told me (I typed the message wrong), and then rebooted, but the addition to inet.local was critical and I didn't know about that. Problem solved. Steve ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-02-16 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-15 5:00 ifconfig: hostname alias? Steve Stoddard
[not found] ` <88d63n$8ec$1@news.latrobe.edu.au>
2000-02-16 5:00 ` Steve Stoddard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox