VMS beginner having issues setting up networking

All types of networks, network stacks, and protocols supported by OpenVMS.
User avatar

Topic author
halian
Member
Posts: 5
Joined: Fri Apr 14, 2023 4:46 am
Reputation: 0
Location: Central Florida
Status: Offline
Contact:

VMS beginner having issues setting up networking

Post by halian » Mon Apr 24, 2023 7:07 pm

Hello all!

I've been following Raymii's guide to setting up hobbyist amd64/VMS to the letter, and yet my VM is unable to ping outside addresses; anytime I attempt to, it throws “ping: sendto: no route to host” for IP addresses, or “%SYSTEM-F-UNREACHABLE, remote node is not currently reachable” for named websites. What do I do? 😓
Absolute beginner to VMS; please be patient :(


davidcsv
Visitor
Posts: 1
Joined: Wed Apr 12, 2023 2:13 pm
Reputation: 0
Status: Offline

Re: VMS beginner having issues setting up networking

Post by davidcsv » Mon Apr 24, 2023 11:35 pm

What does the following command show?...

$TCPIP SHOW ROUTE/FULL


sms
Master
Posts: 317
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: VMS beginner having issues setting up networking

Post by sms » Mon Apr 24, 2023 11:59 pm

Code: Select all

> I've been following Raymii's guide [...]

   Not a very detailed description of what _you_ did.

> % - Execute SYS$MANAGER:TCPIP$CONFIG.COM to proceed with configuration of
> %   VSI TCP/IP Services for OpenVMS.

   And you did what, exactly, there?  Hint:

      1  -  Core environment
         3  -  Routing

User avatar

Topic author
halian
Member
Posts: 5
Joined: Fri Apr 14, 2023 4:46 am
Reputation: 0
Location: Central Florida
Status: Offline
Contact:

Re: VMS beginner having issues setting up networking

Post by halian » Tue Apr 25, 2023 4:55 pm

davidcsv wrote:
Mon Apr 24, 2023 11:35 pm
What does the following command show?...

$TCPIP SHOW ROUTE/FULL

Code: Select all

$ TCPIP SHOW ROUTE/FULL

                             DYNAMIC

Type           Destination                           Gateway

AH  * 127.0.0.1        LOCALHOST          * 127.0.0.1        LOCALHOST
AN  * 192.168.56.0/24                     * 192.168.56.1     vmsvm1
AH  * 192.168.56.1     vmsvm1             * 192.168.56.1     vmsvm1
192.168.56.1 is the IPv4 address for the VirtualBox VM.

Added in 2 minutes 34 seconds:
sms wrote:
Mon Apr 24, 2023 11:59 pm
halian wrote:
Mon Apr 24, 2023 7:07 pm
I've been following Raymii's guide [...]
Not a very detailed description of what you did.

Code: Select all

% - Execute SYS$MANAGER:TCPIP$CONFIG.COM to proceed with configuration of
%   VSI TCP/IP Services for OpenVMS.
And you did what, exactly, there? Hint:

Code: Select all

      1  -  Core environment
         3  -  Routing
Everything listed in Raymii's guide, with names, IP addresses, etc. changed to reflect the local operating environment, up to the end of the “Network setup” section of part 2.
Absolute beginner to VMS; please be patient :(

User avatar

larryfahnoe
Visitor
Posts: 2
Joined: Thu Apr 13, 2023 2:25 pm
Reputation: 0
Location: Minneapolis, MN, USA
Status: Offline

Re: VMS beginner having issues setting up networking

Post by larryfahnoe » Tue Apr 25, 2023 5:05 pm

Do you have anything else on the 192.168.56.0/24 network?

If so, can you ping it?

You don't show a default route, so anything beyond 192.168.56.0/24 is logically unreachable.

--Larry
Long time system manager of many PDP-8, PDP-11, VAX, & Alpha systems and clusters

User avatar

Topic author
halian
Member
Posts: 5
Joined: Fri Apr 14, 2023 4:46 am
Reputation: 0
Location: Central Florida
Status: Offline
Contact:

Re: VMS beginner having issues setting up networking

Post by halian » Tue Apr 25, 2023 5:12 pm

larryfahnoe wrote:
Tue Apr 25, 2023 5:05 pm
Do you have anything else on the 192.168.56.0/24 network?

If so, can you ping it?

You don't show a default route, so anything beyond 192.168.56.0/24 is logically unreachable.

--Larry
No; the only thing there is the VM, whose network is bridged to the host computer's Ethernet adapter. I fully admit that I don't know how to do things Properly, and even beginner's guides like raymii aren't being as helpful as I'd like. :(
Last edited by halian on Tue Apr 25, 2023 5:12 pm, edited 1 time in total.
Absolute beginner to VMS; please be patient :(

User avatar

larryfahnoe
Visitor
Posts: 2
Joined: Thu Apr 13, 2023 2:25 pm
Reputation: 0
Location: Minneapolis, MN, USA
Status: Offline

Re: VMS beginner having issues setting up networking

Post by larryfahnoe » Tue Apr 25, 2023 5:26 pm

No; the only thing there is the VM, whose network is bridged to the host computer's Ethernet adapter.
Perhaps you should try the same network configuration on a VM with a different OS because I suspect you would get the same result. Not a VMS issue, just basic IP networking. Even if the network is bridged, you need to either have a gateway defined (and a router on the same subnet) or something else on that subnet in order to ping anything.

--Larry
Long time system manager of many PDP-8, PDP-11, VAX, & Alpha systems and clusters


sms
Master
Posts: 317
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: VMS beginner having issues setting up networking

Post by sms » Tue Apr 25, 2023 6:07 pm

Code: Select all

> Everything listed in Raymii's guide, with names, IP addresses, etc.
> changed to reflect the local operating environment, [...]

>    Not a very detailed description of what _you_ did.

   Still true.

> You don't show a default route, [...]

   Exactly.  Around here, for example:

V87 $ TCPIP SHOW ROUTE/FULL
  
                             DYNAMIC
  
Type           Destination                           Gateway

AN  * 0.0.0.0                             * 10.0.0.1         gw     <===
AN  * 10.0.0.0/24                         * 10.0.0.184       v87
AH  * 10.0.0.184       v87                * 10.0.0.184       v87
AH  * 127.0.0.1        LOCALHOST          * 127.0.0.1        LOCALHOST


   "10.0.0.1" is the address of the LAN side of my router.
   

> [...] just basic IP networking. [...]

   Looks that way to me.  It might help if you provided some information
on your Internet connection and your LAN.  Router?

> AH  * 192.168.56.1     vmsvm1             * 192.168.56.1     vmsvm1

   You chose that address _why_, exactly?  What are the addresses of
other devices on your LAN?

User avatar

Topic author
halian
Member
Posts: 5
Joined: Fri Apr 14, 2023 4:46 am
Reputation: 0
Location: Central Florida
Status: Offline
Contact:

Re: VMS beginner having issues setting up networking

Post by halian » Tue Apr 25, 2023 9:21 pm

larryfahnoe wrote:
Tue Apr 25, 2023 5:26 pm
No; the only thing there is the VM, whose network is bridged to the host computer's Ethernet adapter.
Even if the network is bridged, you need to either have a gateway defined (and a router on the same subnet) or something else on that subnet in order to ping anything.
How does one do that under VMS? My search-fu is failing me, and I hate myself for it. ;@.@
sms wrote:
Tue Apr 25, 2023 6:07 pm
Looks that way to me. It might help if you provided some information on your Internet connection and your LAN. Router?
My Internet connection is cable Internet provided by Spectrum through an Arris cable modem and a Sagemcom F@st5260 router.
sms wrote:
Tue Apr 25, 2023 6:07 pm

Code: Select all

> AH  * 192.168.56.1     vmsvm1             * 192.168.56.1     vmsvm1
You chose that address _why_, exactly? What are the addresses of other devices on your LAN?
I didn't choose it; Windows assigned it to VirtualBox' host-only adapter when I installed it. Addresses of other devices on my LAN include:

192.168.1.1: router
192.168.1.169: my desktop
plus various laptops, cellphones, game consoles, and Roku connected via Wi-Fi.
Absolute beginner to VMS; please be patient :(


sms
Master
Posts: 317
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: VMS beginner having issues setting up networking

Post by sms » Wed Apr 26, 2023 12:24 am

Code: Select all

> How does one do that under VMS? [...]

   Add a default route?  See above:

> [...] Hint:
> 
>       1  -  Core environment
>          3  -  Routing

> I didn't choose it; Windows assigned it to VirtualBox' [...]

   I know approximately nothing about VirtualBox, especially how it does
networking, but that sounds unlikely to me.

> 192.168.1.1: router
> 192.168.1.169: my desktop

   Ok.  Then normally you'd want the VMS system to have an address on
the same subnet. Then the default route gateway would be your router
(LAN side, "192.168.1.1").  (Use SYS$MANAGER:TCPIP$CONFIG.COM, or a
command like "TCPIP SET ROUTE /DEFAULT_ROUTE /GATEWAY = 192.168.1.1".)

   If there's some good reason for the VMS VM interface to have an
address on a different subnet (like, say, "192.168.56.x"), then I'd
expect something on the Windows system (with a different "192.168.56.y"
address) to act as a router between that subnet and the Windows-network
subnet ("192.168.1.x").  Otherwise, "no route to host" would seem to be
an accurate description of the situation.

   Knowing what I do about VirtualBox, I'd guess that you did something
wrong with its network configuration.  I would not expect "56" to appear
out of thin air, and I would not expect any client device to default to
any "x.y.z.1" address.  (But what do I know?)

   As you can see, above, in my VMware (Fusion Player) environment, my
LAN subnet is "10.0.0.x", the VMS VM interface address is "10.0.0.184",
and the _router_ (LAN) address is "10.0.0.1".  And I don't recall
telling VMware anything about network addresses.

Post Reply