network connectivity - Desktop Datacenter(Archived)

All,
Have installed the Oracle on Linux VMware kit. Install was successful and +ASM1, O10G1 and O10G2 are up and running.  I had a previous version of VM Ware but overwrote it with what the Install provided. My problem is that I can't seem to connect to the internet from within VM ware.  Here are my details from ifconfig, resolv.conf, netstat and ipconfig:
*********ipconfig:****************
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.0.151.104
Subnet Mask . . . . . . . . . . . : 255.255.255.192
Default Gateway . . . . . . . . . : 10.0.151.65
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.10.10.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.203.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
*****************resolv.conf*****************
nameserver 130.35.249.41
nameserver 130.35.249.52
nameserver 138.2.202.15
************ netstat -r ************
192.168.203.0 eth0
10.10.10.0 eth1
169.254.0.0 eth1
127.0.0.0 lo
************ ifconfig **********************
eth0 inet addr: 192.168.203.11 Bcast: 102.168.203.255
etho:1 192.168.203.111 Bcast: 192.168.203.255
eth1 inet addr: 10.10.10.11 Bcat: 10.10.10.255
lo inet addr: 127.0.0.1
Any help would be most appreciated.
Regards,
Michael

All,
Was able to get it fixed. Needed to update the DNS in resolv.conf 

please change resolv.conf to include only:
nameserver 192.168.203.2
also include full output of netstat -r, you are missing a line starting with "default" for the default gateway.
can you ping some random IP (don't use name) on the local network/internet from the guest/host OS? also try traceroute so see the route it takes.
good luck,
Saar. 

Saar,
I have the exact same settings for VMnet1 and VMnet8:
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.10.10.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.203.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
I have set the resolv.conf to 192.168.203.2:
*****************resolv.conf*****************
nameserver 192.168.203.2
I was still not lucky to get the network working. Some things I noticed: I can ping 192.168.203.1 but cannot ping 192.168.203.2, I cannot ping 10.10.10.1 (all pings are don e on linux vm).
At the moment I don't know what to check. Any help is appreciated,
ronald

well.. to add to the list from above (to check) I would say do you have any cisco vpn software or any vpn that blocks the local lan access on the host.
show us "netstat -r" complete output, look for default gateway line.. something like:
default 192.168.203.2 0.0.0.0 eth0
from inside the linux VM 192.168.203.1 & .2 as well as 10.10.10.11 should be pingable! (10.10.10.1 is not pingable)
I take it you have Workstation 4.5.2 build 8848.. go to edit-virtual-network, NAT tab, edit vmnet8, gateway ip should be 192.168.203.2..
which version of windows/service pack? 

HI Saar, I cannot check all at the moment, but I can tell the following. I have not installed any vpn software on the computer. I am using VMware Workstation 5.0.0 build-13124 because any the license key was not working with the vw version packaged in the Oracle downloads. I have Windows XP (don't know SP) and use a Linksys router (which let's me think I should use bridged in stead of NAT?). "netstat -r" shows a line with default 192.168.203.2 0.0.0.0 eth0, this is the same ip as the gateway ip of the virtual network, NAT tab.
thanks for your help,
ronald 

[oracle#raclinux1 oracle]$ netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.203.0 * 255.255.255.0 U 0 0 0 eth0
10.10.10.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.203.2 0.0.0.0 UG 0 0 0 eth0
Version of windows is xp Home 5.1.2600, Service Pack 2
I can ping both 192.168.203.1 and 192.168.203.2
[oracle#raclinux1 oracle]$ traceroute 192.168.203.1
traceroute to 192.168.203.1 (192.168.203.1), 30 hops max, 38 byte packets
1 192.168.203.1 (192.168.203.1) 0.638 ms 0.184 ms 0.077 ms
traceroute to to 192.168.203.2 gives only * * *
ronald 

I found the issue. My firewall was blocking udp packets (incomming and outgoing). Not sure what they do but now it's working. Jippie. 

great! thanks for the update... 

I have a new issue. I can access the internet using the VM and RHEL on my laptop when I'm connected using my linksys router (at home), once I'm at work and connect to the corporate network, the network in the VM does not work anymore. The ip settings change from (linksys router):
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 194.109.104.104
194.109.6.66
Primary WINS Server . . . . . . . : 137.167.64.67
Secondary WINS Server . . . . . . : 157.170.1.5
to (within corp. network):
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 137.167.78.32
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 137.167.78.1
DHCP Server . . . . . . . . . . . : 137.167.64.71
DNS Servers . . . . . . . . . . . : 137.167.64.71
137.167.89.3
Primary WINS Server . . . . . . . : 137.167.64.67
Secondary WINS Server . . . . . . : 157.170.1.5
Thinks like resolv.conf and netstat -r have not changed. I don't think I'm the only one that uses a laptop at home and at work, what am I missing?

can you ping the local host from inside Linux?
ping 192.168.203.1
this should work.. if this doesn't work then there might be something wrong with WS5.. not sure..
you are not the only one to use a laptop at home/work, I do too as many others, and it works just fine.. we'll have to figure out whats different in your case.
I assume there's no firewall, etc. at the workplace or some antivirus/port blockers...
Saar. 

Looked at it again. Found I needed to specify the proxy-server. Pretty dumb ;-( All works now.

Thank you very much for the update!
much appreciated.
Saar.

Related

Oracle 10G Non-Network install - OEM will not start when on the LAN.

Greetings,
Got through a non-networked 10G Enterprise installation OK; I chose to create the orcl schema, connected to it through various utilities, added new tablespace, and all was well. I also checked my Host Name by pinging it in DOS, it showed me the IP address of the MS loopback adapter which is what I was expecting.
Once I connected the same machine to the LAN (and internet) and re-booted, for some reason the Host Name was now assigned the dynamic IP address of the LAN and not LAN2 (which is the loopback adapter that is assigned a static local IP address). It did this even though I had already added an entry in the /etc/hosts file that explicitly assigns a static IP address to the Host Name (as recommended in the Oracle 10G pre-installation instructions). I also could not get the OEM to launch a webpage, run and connect to the orcl database after the re-boot; I am wondering if this is related to the IP address assigned to Host Name changing; maybe the Oracle agent can no longer resolve the URL for some reason?
In the end I find that the only way to insure I can have a working Oracle environment and be on an active network at the same time, is to bring up the Oracle environment on a standalone system first, and once Oracle is running connect the system to the network. Is there no way to automate this process?
The format of the hosts file entry recommended by the Oracle 10G pre-installation instructions is as follows:
===========================================================
IP_address hostname.domainname hostname
where:
IP_address is the non-routable IP address you entered for the loopback adapter.
hostname is the name of the computer.
domainname is the name of the domain.
For example:
10.10.10.10 mycomputer.mydomain.com mycomputer
==========================================================
In my case since I am not part of a Windows domain (but am part of a Windows Workgroup), I added an entry in the /etc/host file that looks like the following:
------------------------------------------------------------------------------------------------------------------
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
192.168.110.250 IBM-6AB1330E158
==> Note that I did not add the domain name to the entry I created since I am not part of a domain, I also used the format I found in the etc/hosts file which is:
IP_address hostname.domainname
- not -
IP_address hostname.domainname hostname
Which is the format recommended in the Oracle 10G pre-installation instructions; this does leave me wondering which format is correct...
Thanks in Advance for any help,
ADG13 
Hi,
Did u find a solution to this...I have the same problem.
Thanks. 
I have not. I am hoping someone (maybe even from Oracle support) will step up and officially tell us we are either right or wrong in the way we are approaching this. From the research I have done on the internet it sounds like this should work, you should be able to have Oracle starting and running fine whether you boot connected to the LAN or not, assuming you have created the MS loopback adapter, assigned it a static IP, and changed the hostname entry in etc/hosts file as part of the 10G WinXP recommended pre-installation instructions.
And yet I find I have to start Oracle when I am not connected to the LAN or the services will not start correctly. If this is a "feature" then hopefully someone will tell us and maybe give us a workaround or give us an idea if this will be addressed in a future release. Having said that and in fairness to the Oracle product; being a developer I have other products installed on my machine that have special networking setup needs also, and in my case this could be exasperating or even possibly causing this Oracle problem I am having. To be specific I have software for 2 different VPNs installed so I can tunnel into 2 private networks. One of these VPNs require me to make use of a DNS Suffix (as shown below) which might be contributing to my problems, not sure. I also have VMWare installed which uses it own network adapters when it is running, so you can see how things could get a little hairy... at any rate, there is my 2 cents worth (or is that 5 cents? : )
fwiw,
ADG13
C:\Documents and Settings\Administrator>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : IBM-6AB1330E158
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : ibm.com
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.110.250
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : ibm.com
Description . . . . . . . . . . . . . : Intel(R) PRO/1000 MT Mobile Connection
Physical Address. . . . . . . . . : 00-11-25-13-96-AF
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.102
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 65.24.7.3
Lease Obtained. . . . . . . . . . : Wednesday, January 11, 2006 3:40:08 AM
Lease Expires . . . . . . . . . . : Thursday, January 12, 2006 3:40:08 AM
Ethernet adapter AGN Virtual Network Adapter:
Connection-specific DNS Suffix . : ibm.com
Description . . . . . . . . . . . : AGN Virtual Network Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-01
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 9.49.217.159
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 9.49.217.159
DNS Servers . . . . . . . . . . . : 9.0.2.1
9.0.3.1
Lease Obtained. . . . . . . . . . : Wednesday, January 11, 2006 8:06:20 AM
Lease Expires . . . . . . . . . . : Monday, January 18, 2038 10:14:07 PM 
Your network adapters are configured to use DHCP to obtain an IP address. When they are not connected to the LAN, they cannot reach the DHCP server, and so don't get an IP address assigned to them by the DHCP server. When you connect to the LAN, the cards send out a BOOTP packet in search of any DHCP server they can find. When the packet reaches a DHCP server, it responds by sending back an IP configuration for the machine, which the network card gladly accepts. The card is then configured for communication with the network, no matter what is in your HOSTS file.
Try turning off automatic configuration of the network adapter using the TCP/IP properties of the adapter in the Network control panel. If that option gives you the behavior you expect, then you know where the problem lies. The question then is how to get the machine configured for the LAN without affecting your Oracle configuration.

Oracle RAC on Vmware (Windowx XP - host, CentOS 4.5 - guest OS)

Hi all,
I am in the process of setting up Oracle RAC running on CentOs 4.5 within Windows XP using Vmware.
I've installed VMware and have configured VM as per guides in
http://www.dizwell.com and www.idevelopment.info. However, I still do not quite understand what my NIC settings should be configured to within Vmware.
Suppose ipconfig within XP output is:
C:\Documents and Settings\Home>ipconfig
Windows IP Configuration
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.252.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.71.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.10.10.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Ethernet adapter {7BEC4ECE-4250-4FF7-B572-CD4912501500}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection 3:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 69.140.185.246
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 69.140.180.1
What should eth0 (public) and eth1 (private) be configured to? What should be the ip's?
Thanks
Viktor 
Hi,
If you are trying to testing RAC on VMware, you only need 1 local adapter for your host OS which is Windows XP
you can configured any IP address for this Windows XP but for your guest OS which is your VMWare OS than you need 2 IP for public and private connection
cheers

installation problem

I got this error message when i insall 10g on my laptop what do i have to do
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Failed <<<<
Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.
I checked the laptop adapter see below
C:\>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : home
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Media disconnected 
Follow simply the message:
/*
...you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.
*/
Your 'ipconfig' shows, you don't have configured the loopback adapter as primary network adapter.
At the end you should see something like this as first result in 'ipconfig' output:
Ethernetadapter Loopback:
Connection-specific DNS Suffix:
IP-Address. . . . . . . . . . . . : 192.168.5.10
Subnetmask. . . . . . . . . . . : 255.255.255.0
Default Gateway. . . . . . . . : 192.168.5.10
Werner 
If you skip the DHCP warning, then you could have a working database, but EM Console would be unstable. I suggest you to read the Oracle on DHCP configuration guides:
Installing on DHCP environments
http://download-west.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGCEAI
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGHEFB
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABBDGBI
~ Madrid 
Thanks this helped a lot

How to Determine Network Config. Misc. Settings for OEL Install

BACKGROUND-INFO-FOR-QUESTION:
I am running Windows XP Pro, on my Laptop.
I have installed VMware Server 2.0, and have created a NEW Virtual
Machine (inside VMware Server).
I am trying to install OEL 5.4, on this NEW Virtual Machine.
EXCERPT-FROM-IPCONFIG-ALL:
Ethernet adapter VMware Network Adapter VMnet1:
IP Address. . . . . . . . . . . . : 192.168.239.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Wireless Network Connection 2:
Default Gateway . . . . . . . . . : 192.168.1.1
QUESTION:
I plan to enter the following IP addresses, at the "Network
Configuration SCREEN", for the following:
_(a) Edit Interface eth0:_
IP Address (IPv4) = 192.168.239.2
_(b) Miscellaneous Settings:_
Gateway = 192.168.1.1
Primary DNS = 192.168.1.1
Secondary DNS = <optional>
Can anyone please take a look at the excerpts, from "ipconfig /all"
(above), and let me know if the settings I plan to enter in
(a) and (b) for OEL are correct, and should be OK.

Installing RAC on RHEL4 throu VMware: How to configure gateay ip on eth0 ?

Details
I am testing a real application cluster enviroment.
DETAILS:
HOST OS: Windows XP sp2
Virtualisation software: VMware Workstation ACE Edition 6.0.0
Target OS for RAC: RHEL4
Planned DB version: 10g Release 2, clusterware 10g
When I have installed VMware ACE workstation on Windows xp
Now i am confused what should be the gateway value on RAC node 1 and node 2?
I am currently referring to a doc by Vincent Chan from RACSIG.
Below is the the network configurations after vmware installation.
Please help me.
C:\Documents and Settings\Oracle DBA>ipconfig
Windows IP Configuration
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.249.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.163.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Regards,
Sangram

Categories

Resources