Operating System - HP-UX
1834133 Members
2141 Online
110064 Solutions
New Discussion

Re: bind only one service (oracle listener) over the 2nd Lan card

 
Jan vd Vlugt
Occasional Advisor

bind only one service (oracle listener) over the 2nd Lan card

I need to configure the second Lan to serve only one oracle listener.
Lan0 is configured as 172.20.28.51/255.555.252.0
Lan0 serves everything (telnet ftp oracle listener at port 1521 eg..)
Lan1 we want to configure as 10.254.1.5 only for one oraclelistener at port 1526.

Please help
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: bind only one service (oracle listener) over the 2nd Lan card

Shalom, you should be able to configure listener.ora and tnsnames.ora to only listen by IP address.

There is no rule that says you need to use hostnames in there.

If you post the two files I or others can make actual recommendations for you. I think you'll see what I'm talking about if you read them carefully.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jan vd Vlugt
Occasional Advisor

Re: bind only one service (oracle listener) over the 2nd Lan card

The oracle files is not the problem, the problem is to secure the second lan card! the second lan card is only allowed for the oracle listener at port 1526
rick jones
Honored Contributor

Re: bind only one service (oracle listener) over the 2nd Lan card

If you want only Oracle traffic over that second lancard (does it really matter to performance?) you will likely have to figure-out some ipfilter rules to load such that the system only accepts traffic to port 1526 when the destination IP is 10.254.1.5. Only in that way will you prevent other services, which bind to the "INADDR_ANY" (wildcard) IP from seeing traffic sent to their ports and 10.254.1.5.

http://docs.hp.com/ should have the ipfilter manual.
there is no rest for the wicked yet the virtuous have no pillows