On Fri, 2002-06-28 at 01:34, Pearson, Andrew wrote:
> Hi,
> 
> Is it possible to give a Solaris UNIX Box 2 IP Addresses? 
>

Where there is a will, there is a way

 
> The reason for this question is that I have some software that will gather data from 
>1 port on 1 IP address only. (The IP Address is used as the Identifier) But I need it 
>to gather Info from 2 ports... Therefore, If I give the box 2 IP addresses, each one 
>can be used to gather data from the alternate ports.
... curious .....


try the following 


ifconfig <devicename>:<logical number> plumb
ifconfig <devicename:logical number> <ipaddress> netmask <netmask>

eg;

ifconfig hme0:1 plumb

ifconfig hme0:1 10.0.0.1 netmask 255.255.0.0

remember, if this plumbed interface exists on another subnet, you need
to add a gateway for it (if it needs to get out of the subnet ....)


Reply via email to