Posts Tagged “loopback adapter”

I wrote a lot how to install loopback adapter, how to set the ip address (either manual or automatically), how to add an entry to hosts file (either manual or automatically). Now let’s add all together into a single script.
The script will do the following:

  • call DevCon to install Microsoft Loopback Adapter (you need to download DevCon and save it in the same folder as the script)
  • set the IP address and mask for the recently installed loopback adapter
  • dinamically read from Windows folder the hosts file
  • dinamically read the hostname
  • add a new entry to the hosts file with the supplied IP address and hostname
  • ping the hostname and check if the supplied IP address is responded
  • MOST IMPORTANT: everything is dynamic and automatic. You don’t need to edit the script before each install. Just run it!

You can download this script here: Read the rest of this entry »

Tags: , , , , ,

Comments 3 Comments »

As a common practice all the servers have fixed IP address. Because not all Oracle Databases are installed directly on servers, but on laptops or different machines, it’s very probable that you have DHCP-provided IP address.
If you have DHCP IP address, your full computer name may vary, because different domain is added to computer name. Once the name can be mylaptop.oracle.com, the next day the name can be mylaptop.myhomenetwork.ro and so on.
The problem is when you want to install Oracle Database Enterprise Manager (web-based administration tool), because the installer is creating a folder on the disk have the name based on fully computer name. If you change the network the Enterprise Manager will not work, because it will not find a folder based on the actual computer name.
Enterprise Manager is not crucial , it’s just an interface, so if you don’t want to install it your database will work the same and you will configure the database through SQL*Plus or SQL Developer or Toad or what third party admin you want.
Read the rest of this entry »

Tags: , , , , ,

Comments 1 Comment »

What do you need to know before configuring Loopback Adapter?

  • do not set the gateway because you can screw you internet connection
  • do not set DNS because you really don’t need it
  • do not set 127.0.0.1 or 192.168.0.1 or addresses from the same class as your internet connection address

The addresses that I’m using most of the time are 10.10.10.10 and 192.168.100.100, both with 255.255.255.0 as mask.

Let’s see how can we set the IP address from the command line.

Solution 1
=======

Netsh.exe is a tool installed with Windows 2000, XP and 2003 Server. Read the rest of this entry »

Tags: , ,

Comments 7 Comments »

Because lots of applications (including Oracle Database) require Microsoft Loopback Adapter installed if you have DHCP-enabled machine, I tried to find a solution to automatize the installation of this dummy device.
Lots of attendees that I had on my workshops are configuring the loopback adapter with strange IP’s, gateways and the most common result is malfunctioning of the internet connection.

First of all we need a command prompt utility that will act the same way as Device Manager. Microsoft has an utility like this called DevCon (probably from Device Console), but for some strange reasons it is not redistributable, so you need to download it from their site.
DevCon’s description is http://support.microsoft.com/kb/311272 and download link is this.
Read the rest of this entry »

Tags: , ,

Comments 3 Comments »

1. Windows 2000
2. Windows XP
3. Windows 2003
4. Windows Vista

1. Windows 2000

Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Hardware.
Click Add/Troubleshoot a device, and then click Next.
Click Add a new device, and then click Next.
Click No, I want to select the hardware from a list, and then click Next.
Click Network adapters, and then click Next.
In the Manufacturers box, click Microsoft.
In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
Click Finish.

Read the rest of this entry »

Tags: , ,

Comments 2 Comments »

Some applications are dependent on network functionality and they would not install if a network card is not present. As you will see in the next articles, some network parameters are changing frequently so we will need a static network card.

Microsoft Loopback Adapter is a dummy network card, no hardware is involved. It is used as a testing tool for a virtual network environment where network access is not available. Also, you must use the Loopback adapter if there are conflicts with a network adapter or with a network adapter driver. You can bind network clients, protocols, and other network configuration items to the Loopback adapter, and you can install the network adapter driver or network adapter later while retaining the network configuration information. Read the rest of this entry »

Tags:

Comments 5 Comments »