tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: ifconfig question
@ 2000-02-10 17:46 doug.taccone
  0 siblings, 0 replies; 2+ messages in thread
From: doug.taccone @ 2000-02-10 17:46 UTC (permalink / raw)
  To: tru64-unix-managers

Managers,

Thanks to all who responded...Paul, John, Glenda and Frank.

Originally, I used 'netconfig' to add the alias parameter to the ifconfig
command.  The rc.config file showed:

IFCONFIG_0 = "xxx.xxx.xx.1 netmask 255.255.255.0 alias xxx.xxx.xx.2"

Then, when I would ping xxx.xxx.xx.2 the response would return with the ip
xxx.xxx.xx.1.   Also, I did not see xxx.xxx.xx.2 listed using netstat-i.

I followed the respondents advice and placed the command /sbin/ifconfig tu0
alias xxx.xxx.xx.2 in the  /etc/inet.local file, and, removed the alias
parameter in the rc.config file.  When I rebooted, everything worked fine, I
could connect to the new web server site.  Thanks again !
-----------------------

Managers,

I'm trying to add a second IP address to an interface in order to start
another public web server on the machine. I tried using ifconfig with the
alias switch.  But, as expected, the new ip number points back to the
original ip address.  Can someone tell me how to to bind a second ip address
to a network interface card?

I'm using DU4.0D and the card is a DE500-BA.

-Doug Taccone
 doug.taccone@gses.com 

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Summary: Ifconfig question
@ 1998-09-11 21:59 Didier Godefroy
  0 siblings, 0 replies; 2+ messages in thread
From: Didier Godefroy @ 1998-09-11 21:59 UTC (permalink / raw)
  To: tru64-unix-managers

My original question was:

> How do we get ifconfig to give the list of all aliases currently defined for an interface?

several options were suggested:

netstat -i
netstat -nia
ifconfig -a

I had already tried ifconfig -a but it doesn't list all the aliases for an
interface, that's why I asked the question.
netstat -i and -nia show similar results and worked for me.

-- 
Didier Godefroy
mailto:dg@ulysium.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-02-10 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-10 17:46 SUMMARY: ifconfig question doug.taccone
  -- strict thread matches above, loose matches on Subject: below --
1998-09-11 21:59 Summary: Ifconfig question Didier Godefroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox