04-02-2019 10:30 PM
Hi, I installed the AS ABAP 752 dev.edition in Virtual Box 5.2.26 on Linux (openSUSE Leap 15.0) by use of this guide.
Host machine is a Macbook Pro. Everything worked fine - I could log on to SAP system from Mac's Java SAP GUI.
However, Java GUI is not best for ABAP development and I wanted to work in Windows SAP GUI which obviously does not exist for Mac. For this I have another Parallels VM with Windows 10 on it.
Following the "Can I connect to my server from different computer?" title in this FAQ document I changed the network setting from "NAT" to "Bridged Adapter - bridge" and made other necessary changes in Linux. Finally I got the IP address in Terminal (command 'ip address'). I suppose that my home wireless router gave IP address to all 3 machines (hosting Mac, Win10@Parallels, Linux@VirtualBox).
It was perfect - I could write ABAP programs in Windows SAP GUI!
Once and never again.
Next day I started my VM again and tried to get an IP address by 'ip address' command. It did not return one - the expected 'inet' entry was simply not there. Without IP SAP won't start.
I am struggling with this for already one week (not my only activity, though).
I tried:
Does anyone have idea how I could make this work again and get IP for my VM? Alternatively, can host Mac somehow accept guest 1's requests and propagate to the specific other guest 2.
Thanks in advance!
KR,
Igor
04-03-2019 12:18 AM
hello,
Did you check ? https://blogs.sap.com/2019/04/01/part-1-installing-sap-netweaver-as-abap-developer-edition-7.52-sp01...
Also, does the static Local IP reserved for NW in not already being used by a different app?
Arthur
04-03-2019 6:44 AM
Hi, Arthur,
Thanks for your quick reply! I did not see your blog before and I must admit that it looks really great. However, it does not address my problem. Your VM's network adapter is set to NAT type and you are accessing SAP system from your host Windows machine. This works for me too, except that my host is a Mac with Java GUI which is not so good for ABAP development.
I want to access my SAP system from another VM (Windows 10 on Parallels) on the same Mac host.
How can I get this? There is a blog with faq which has an answer: VM's network set to "Bridge Adapter" mode. I tried it and it worked perfectly! Unfortunately, it was one-time-off. Next time I started my VM, it could not get an IP address, no matter what I did. You can see all the details in my original post.
You mentioned "static Local IP reserved for NW in not already being used by a different app?". Could you please elaborate precisely how to check this (I am a network ignorant)?
Thanks!
KR,
Igor
04-03-2019 9:22 AM
Igor,
Thanks for the explanation, and hadn't understood your point at the first sight. Well, in Docker environment (which is not the real case), in order to make containers visible through a network we have to attach all of them in one single network. Do you mind to share your bridge network ? Are VMs under the same bridge network context ?
I will do an experiment by reproducing same scenario with a MacOS VM in my workstation. Let you know the result later on.
Regarding static Local IP reserved for NW in not already being used by a different app?" It just apply on NAT, nevermind.
Cheers
Arthur Silva
04-04-2019 1:28 PM
Hi Igor,
This is common in bridge mode. Just as a first step: Is it possible the IP address has been re-assigned in the meantime (even if DHCP is off)? - Happened me.
Check ifconfig. If necessary, edit hosts file on Linux and Windows.
Also, make sure DHCP *is* off.
Best wishes,
Julie.
04-09-2019 9:53 PM
Hi, Julie,
Thanks for your answer! I am a network ignorant but I still tried to follow your advices:
"Is it possible the IP address has been re-assigned in the meantime (even if DHCP is off)?"
I don't know how to check this. Which IP address do you mean? I did not memorize the IP address from the first (and only) time that it worked.
"Check ifconfig."
My version of Linux (openSUSE Leap 15.0) does not support ifconfig statement (deprecated), but instead uses ip addr with (probably) the same effect. I run ip addr every time. The result is that I get IP address for loopback, but not for ethernet (except this one time in the beginning).
"If necessary, edit hosts file on Linux and Windows."
If I understood correctly, this is the step where I supply IP address in both hosts, after I get it from ip addr (or ifconfig). My problem is that I don't get IP. Is this what you meant, or...?
"Also, make sure DHCP *is* off."
How do I do this? I found this forum link which suggests running some Linux commands. I tried them and the (non-)result was as follows:
Thanks again!
KR, Igor
04-10-2019 9:44 AM
Hi Igor, Try our FAQs : Search for "DHCP".
It gives step-by-step, plus a screenshot.
Best wishes,
Julie.
04-13-2019 8:54 AM
Hi, Julie,
Thanks for reply! However, my VM has suddenly got an IP address for no obvious reason. I did not change anything and cannot explain it. Now I cannot reproduce the problem any more.
Let's see - hopefully it stays like this.
KR,
Igor
04-15-2019 7:40 AM
Hi Igor,
OK - hard to say without knowing the specifics. Hope it continues to work for you.
If you are happy after a week or so, can you please close the question?
Thanks a lot,
Julie.