Re: Dual IP Addresses...
From: Tommy McLeod (tommy.mcleod@vuw.ac.nz)Date: 06/30/02
- Previous message: Tom Fischer: "FreeBSD resolver"
- In reply to: Pearson, Andrew: "Dual IP Addresses..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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 ....)
- Previous message: Tom Fischer: "FreeBSD resolver"
- In reply to: Pearson, Andrew: "Dual IP Addresses..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|