Re: Dual IP Addresses...

From: Tommy McLeod (tommy.mcleod@vuw.ac.nz)
Date: 06/30/02


From: Tommy McLeod <tommy.mcleod@vuw.ac.nz>
To: "Pearson, Andrew" <Andrew_Pearson@adc.com>
Date: 30 Jun 2002 11:51:56 +1200

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 ....)



Relevant Pages

  • Running SBS in a public IP - success!!
    ... the first subnet. ... My only issue was with reverse DNS lookups on the LAN - the wizard ... Andrew Hodgson in Bromyard, Herefordshire, UK. ... use <andrew at hodgsonfamily dot org>. ...
    (microsoft.public.windows.server.sbs)
  • Re: Client "Unable to retrieve AD site membership" error
    ... I am hoping to get it corrected soon and will see if the SMS ... Andrew ... "Kim Oppalfens" wrote: ... Note down the ip subnet & active directory site ...
    (microsoft.public.sms.setup)