Operating System - OpenVMS
1755507 Members
3576 Online
108834 Solutions
New Discussion юеВ

Re: TCP/IP Need two cards to act differently

 
SOLVED
Go to solution

TCP/IP Need two cards to act differently

Hi there,

I am using a hobbyist Alpha 1000 with two network cards (DE450 and DE500) Cuurently both cards are connected to different network segments (Home and DMZ) The system is running OpenVMS 7.3-2 and TCP/IP V5.3.

Both cards (of course) use different IP adresses and respond OK to them.
What I can't get done is to have only one of the cards to listen to TELNET, FTP and such, The otherone (or both) should be allowed to service HTTP and maybe some day HTTPS and SSH.

Whenever i set up the telnet service is listens to both the cards, wether i add an drress to the command or not.

I must be doing something worng but I'm not the network expert i'd like to be.

Can someone help me out ?

Regards,
Martin HOogenboom
This must be Thursday, I never could get the hang of Thursdays.
8 REPLIES 8
Ian Miller.
Honored Contributor

Re: TCP/IP Need two cards to act differently

I don't know if you can setup TELNET and so on that way. You could use the ACCEPT and REJECT qualifiers to filter connections - see documentation or
TCPIP HELP SET SERVICE
____________________
Purely Personal Opinion
Volker Halle
Honored Contributor
Solution

Re: TCP/IP Need two cards to act differently

Martin,

did you try the SET SERVICE/ADDR=ip_address_of_interface ?

According to the help text, it's supposed to make a service available for incoming connections via specific local IP interfaces.

Volker.

Re: TCP/IP Need two cards to act differently

Sorry i have been misleading you, my version of TCPIP is 5.4.

Ian, The documentation states it should be possible (if i'm not misreading it).

Volker, Thats just what I've tried but it simply doesn't work the way i thought is should.

Set service telnet with either of the adresses in the /address=qualifier opens it on both addresses.
This must be Thursday, I never could get the hang of Thursdays.
Antoniov.
Honored Contributor

Re: TCP/IP Need two cards to act differently

Martin,
reading help I understand /ACCEPT and /REJECT refer to network host while /ADDR qualifier refer to local interface.
I believe you have not stopped the service and restarted it to enable this feature.

Antonio Vigliotti
Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: TCP/IP Need two cards to act differently

You must specify all the parameters for defining a new service (the key to the service db is servicce plus address).

Once the key is created, it seems to be impossible to modify it : you have to remove the service telnet and add it again with the right address. And, as Antonio said, disable/enable the service but with qualifier /address=.

Wim
Wim

Re: TCP/IP Need two cards to act differently

Sorry,

Haven't been home for a couple of days so a late reponse.
I'll test your theories by the end of the week and get back to you.

However, i have removed and reinstalled TELNET, TCP, all of TCPIP and such, a couple of times already (as my collegue Willem some months ago suggested) but then again didn't take notes if what i did first.

I'll let you know

Martin
This must be Thursday, I never could get the hang of Thursdays.

Re: TCP/IP Need two cards to act differently

Hi Guys, and thanks for pointing in the right direction.

The trick was to stop telnet, then modify the permanent database by TCPIP> SET CONFIGURATION ENABLE TELNET /ADDRESS= and then restart the service by TCPIP> ENABLE SERVICE TELNET.

NMow TELNET works through address and not anymore from the other address (card)

Regards,
Martin Hoogenboom
This must be Thursday, I never could get the hang of Thursdays.

Re: TCP/IP Need two cards to act differently

Solved as stated in my previous message
This must be Thursday, I never could get the hang of Thursdays.