Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Tell Net( to use only one of two installed networkcards

Re: Tell Net( to use only one of two installed networkcards

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Fri, 24 Aug 2001 12:15:34 +0100
Message-ID: <3b863756$0$8508$ed9e5944@reading.news.pipex.net>


On your server you should have a file listener.ora which controls how the listener is set up. It will include lines like the following

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname>)(PORT = 1521))     )
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))     )
  )

You need to replace the hostname with the ip address of the card you wish to use and then restart the listener.

On each client you have a file tnsnames.ora which will contain lines like the following

ALIAS =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = <HOSTNAME>)(PORT = 1521))     )
    (CONNECT_DATA =
      (SERVICE_NAME = <Service name>)
    )
  )

again replace the hostname with the ip address you wish to use.

If you are using another naming mechanism (Oracle names for example) then there are analogous processes.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
"fhnfhn" <fhnfhn_at_hotmail.com> wrote in message
news:9m5bho$72$1_at_vg170.it.volvo.se...

> Thank you for the answer, but I'm not sure I understand it quite. You
> described my problem, two NIC's and each of them has an IP of their own,
but
> how do I configure my net8-client to use one of these specific
IP-addresses
> and not the other?
>
> Thanks in advance!
> >
> "Niall Litchfield" <n-litchfield_at_audit-commission.gov.uk> wrote in message
> news:3b83a520$0$8508$ed9e5944_at_reading.news.pipex.net...
> > Sure. Allocate a different ip to each card and then setup the listener
> (and
> > your client) to only use one ip address for the machine. *Why* you would
> > wish to do this is beyond me though. Surely 2 NIC's are better than one.
> >
> >
> > --
> > Niall Litchfield
> > Oracle DBA
> > Audit Commission UK
> > "fhnfhn" <fhnfhn_at_hotmail.com> wrote in message
> > news:9m02qq$8h8$1_at_vg170.it.volvo.se...
> > > What I would liketo know if is there some way to make Net8 to use just
> one
> > > networkcard. I have a clientmachine, Win2000, with an oracleclient,
> 8.1.7.
> > > On this machine there are also two networkcards installed. One is
meant
> to
> > > be for just webconnections and the other one is meant to be used for
> > > databaseconnections. Is there a way to make Net8 use just one
> networkcard
> > > and not the other?
> > >
> > >
> >
> >
> >
Received on Fri Aug 24 2001 - 06:15:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US