EBS VM Networking Issue [message #626598] |
Wed, 29 October 2014 13:10 |
|
gs2907
Messages: 2 Registered: October 2014
|
Junior Member |
|
|
I am stuck with networking issue for past few days on the EBS 12.2.3 VM that I had working successfully a few days ago. Of course there is a change that has resulted into this but this time something really odd has happened:
1. I had a EBS single node instance VM setup on my laptop. The node was working fine and I was able to launch the application.
2. I copied my VM on external drive and then gifted my laptop to my nephew. Intention was to use the VM on a better hardware.
3. I acquired an i7 3rd Gen with 16 GB RAM and 750 GB disk. Allocated 500 GB for the VM and moved the VM on disk partition.
4. Installed Virtualbox and launched EBS VM.
Observation:
1. VM Starts and I am able to ping the VM from my laptop.
2. I changed the host file to have ebs.example.com with the IP I had configured in the VM. I launched the application which goes to redirection messages but as soon as it comes to http://ebs.example.com:8000/OA_HTML/AppsLogin, I am getting different errors. which are DNS related or sometimes Apache failure related.
3. I am able to ping the guest but cannot ping the host from guest.
I tried different methods of changing the adaptor to bridged, host only, NAT etc. Tried changing adapter ip, DHCP , DNS but all in vain. Cannot just ping from guest to host.
Question: What am I missing here and what is a straightforward way of using a VM on different machines. Can anyone provide me some basic steps in the heuristics I am trying?
Thanks a ton for whatever minute light anyone can throw on this.
I am not a networking expert and strong belief is that I am missing something on that front in the issue here.
As of last attempt - I am able to SSH via PuTTY and networking related output is as below:
[root@ebs devices]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:98:2B:5B
inet addr:192.168.245.105 Bcast:192.168.245.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe98:2b5b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:654 errors:0 dropped:0 overruns:0 frame:0
TX packets:658 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59446 (58.0 KiB) TX bytes:71149 (69.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:65899 errors:0 dropped:0 overruns:0 frame:0
TX packets:65899 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34590367 (32.9 MiB) TX bytes:34590367 (32.9 MiB)
[root@ebs devices]# ip route
default via 192.168.245.1 dev eth0
169.254.0.0/16 dev eth0 scope link metric 1002
192.168.245.0/24 dev eth0 proto kernel scope link src 192.168.245.105
[root@ebs devices]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.245.1 0.0.0.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
192.168.245.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
[root@ebs devices]# cat /etc/resolv.conf
;generated by /u01/install/scripts/configstatic.sh
nameserver 192.168.245.1
search example.com
[root@ebs sysconfig]# cat network
NETWORKING=yes
HOSTNAME=ebs.example.com
[root@ebs ~]# dig 192.168.245.1
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.0.2.el6_4.6 <<>> 192.168.245.1
;; global options: +cmd
;; connection timed out; no servers could be reached
[root@ebs ~]# nslookup 192.168.245.1
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
|
|
|
Re: EBS VM Networking Issue [message #626617 is a reply to message #626598] |
Thu, 30 October 2014 01:13 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Unless I'm wrong, your problem is not really related to EBS but "virtual machine", whichever it is. Is it, by any chance, VirtualBox? If so, have a look at their forum, it helped me solve some problems.
Unfortunately, I wouldn't know what is wrong with your setup. I use VirtualBox and have just tried to ping guest from host and vice versa - both are working OK. If it helps, here are my VirtualBox Network settings:
- Attached to: Bridged Adapter
- Name: Intel ... (my network card)
- Adapter Type: PCnet-FAST III
- Promiscuous Mode: Deny
- MAC Address: ...
- Cable Connected: checked
|
|
|
Re: EBS VM Networking Issue [message #626636 is a reply to message #626598] |
Thu, 30 October 2014 03:06 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I use VB all the time. Usually with the host only adapter, for which I disable DHCP. Then within the VBs I assign static addresses in the ifcfg-eth? files and resolve them in /etc/hosts, and set the gateway address to the address of the host.
|
|
|
Re: EBS VM Networking Issue [message #626644 is a reply to message #626636] |
Thu, 30 October 2014 04:20 |
|
gs2907
Messages: 2 Registered: October 2014
|
Junior Member |
|
|
Dear John,
Thanks much for the update.
I had actually done the setup the same way you mentioned. I used it also for a while.
Only after moving the VM to another laptop is that I am not able to use it. Basically, someone who is expert in networking than EBS itself, especially in VB is going to be of great help as I tried configuring again quite a few times, but in vain.
|
|
|