Static and dynamic IP on same machine - linux

Hello

I installed oracle 11g Linux 5.2 under a machine (gust) VM that resides on Windows 7 (host).

Host machine (windows 7) I want to access the database 11g located on machine (Linux) of comments through PuTTY.

problem that I am facing is, when I use dhcp (automatic ip generated) under the machine burst linux I can able to access computer guest of host through BIMBO02.
But when I use the static IP address (by dhcp from disconnection, I am not able access to host guest!)

As oracle recommends I use static ip for the configuration database, but I'm not able to access the machine to burst from the host with static ip address.

Is there a way I can access the guest computer to host even when I use the static ip address.

Thanks in advance.
AB

IndianDBA wrote:
I use vmware... and your notes helped me... even though the issue has not been resolved full but got a concept where I can come up with solution

Thank you very much, Ed.

Earlier you said "when I started PuTTY using the ip address of host machine (Linux) machine (Windows) to burst error (error: network connection has expired).

It seems quite the opposite of the configurations of most people. In this architecture, 'host' is actually installed on the physical machine, one on which you have installed VMware itself. The "guest" is the virtual system running under VMware. For most people, this means that the host system is Windows, run on their laptop Desk/computer, and the "guest" is Linux, running as a virtual machine under VMware or VirtualBox.

But regardless of the foregoing, as you're running under vmware, on the system host (see previous paragraph) will show two network adapters associated with VMware. VMnet1 is to map hostonly and VMnet8 is the NAT map. When I put in place a guest vm under VMware, I take note of the ip address of the adapter VMnet8. In order of explanation, let's say it's 192.168.8.1. So when you set up the configuration of the network on the guest virtual machine, you want to give it an ip address of 192.168.8.n, where n is between 3 and 255. My personal naming convention for my personal VMs is at the end of the name of the server with a 2-digit sequential number (vmlnxsrv01, vmlnxsrv02, etc.). I then use that number as the last two digits of the IP address, from 101. So in the example I just gave, vmlnxsrv01 virtual machine would be given an IP address of 192.168.8.101, and vmlnxsrv02 would be 192.168.8.102.

In addition, as I have noted in the blog, VMware and Vbox manage differently their networking. Unlike VBox in VMware, I never had to define two network cards. I just used one and it assign an ip address in the subnet of the adapter VMnet8 (NAT). Which filled all the conditions that I have addressed in the blog post, namely:
1 - the ability to have an ip address sets
2 - that the ip address is NOT space on the company or the network of the ISP - the device is not visible what anyone outside the host (see the definition in the first paragraph, above).
3 - the capacity of the virtual machine guest to open access to the internet
4 - the ability to access resources on the guest virtual machine using the same tools that I use to access the physical servers on my corporate network. And there is not another copy of the tool itself. I mean the same tool. For example, I installed on my desktop, PuTTY to give me a ssh client to access to * nix servers.  In this copy of PuTTY I defined connections to 6 servers in my guests VM Center 4 AND data of company running VMware or VBox on my desk.  My local tnsnames.ora has entries for both my databases AND databases running my Windows VMs.

Published by: EdStevens on January 17, 2013 06:54

Tags: Database

Similar Questions

  • Difference between static and dynamic encryption card

    Anyone tell me the difference between static and dynamic encryption card?

    Hi Rodrigo,

    Public static crypto map - identifies by the peers and traffic to encrypt explicitly. Generally used to host some tunnels with different profiles and characteristics (different partners, sites, location)

    So, when you have the information of the two peers than what policies we're going to use, what is the IP on both devices we normally use static VPN.

    Crypto dynamic map - is one of the ways to accommodate peer sharing the same characteristics (for example, several offices of branches share the same configuration) or peers with dynamic IP addressing (DHCP, etc.)

    For more information, please visit:

    https://supportforums.Cisco.com/document/12013476/crypto-map-based-IPSec...

    Kind regards

    Aditya

    Please evaluate the useful messages and mark the correct answers.

  • static and dynamic reports

    Hello

    I'm new to HFR. Can someone tell me what is static and dynamic statement and when we go to static and when we go for dynamic with scenarios in real time?

    Thanks in advance

    Static report is usually fixed, so that the reports do not change when the time and hierarchies are updated. For example, a static report can be useful for regulatory deposits etc. You do not want to change statutory reports according to the when they were run ;-)

    Dynamic reports has several levels:

    -Dynamics updated due to changes in current month/quarter/year;

    -Dynamic reports that automatically updated based on changes made to the hierarchy: contour moves, new members, etc.

    In an ideal world, you have to build relationships are dynamic as possible, that you do not have what to have to change them every month, quarter, year, based on the changes of the period.
    Or do you need to update when managers change their minds about what needs to be told (less maintenance and future audit)

    Building reports are dynamic as possible has some limitations, however, in this by establishing the report, it would be not as fast to run (you may have several rows/columns more) to make the reports 'dynamic '.

    HOEP this helps, Iain

  • Constraints/General to keep PROD and databases on the same Machine TEST

    Hello

    Version: 12.1.1
    Database is 11.1.0.7
    2 node architecture (DB on a single Machine, applications on the same Machine)

    Client wants to keep PROD and databases on the same Machine TEST. Could you please let me know the issues and constraints that we can encounter this configuration in the future. While I can force the client to a machine more TEST.

    Thanks in advance...

    Hello

    My Client told me that I can provide more resources (CPU, memory, and disk), then why can't keep us as what he asks?

    There are other technical problems, that we can meet?

    I think the above should be enough :)

    Other proceedings continued would be impossible (as you said, because of human error, and in case the server restart is required). Even if they provide more resources it would be a conflict over shared resources (for example, what happens if a process on the test instance consuming all CPU/memory resources?).

    So, in futuere, we can improve the database to the new version and some environment variables in the registry may have affected it?

    Each instance will have its own entries in the registry and this shouldn't be a problem.

    Thank you
    Hussein

  • Can I install OBIEE 10 g and 11g on the same machine?

    While I'm waiting for new hardware, I wanted to start on the installation of OBIEE 11 g on my laptop. Can I do if I have already 10g installed?

    I want to assure you that if I install that it will not affect my current configuration of 10g. I don't know if it substitutes for certain files and folders, or if I can do a separate install for both.

    Hi, I installed OBIEE 10 g and 11g of the same machine (by car).

    Because the installation of 10g OBIEE was the first, it took the 9704 and 9703 port for messages of the BI server.

    Then I installed the OBIEE 11 g installation used the port 9500 (analytical) and por 9702 for BI server. It has also used port 7001 to Weblogic Administration Console.

    The two instances of OBIEE works great!

  • 9i and 10g on the same machine

    I want to have Oracle 9i and 10g on the same machine. I have already installed 9i. Oracle 9i home is (/ opt/oracle/920)
    I'll put oracle new home for 10g (/ opt/oracle/10). that works perfectly. and what changes I will make to the PATH variable so that I can use both versions.

    or will I do a new oracle 2 user and perform the installation of 10g with it.


    Thank you

    Khurana

    I say you're wasting your time as such a script already exist and is called "oraenv.

    Just
    export ORACLE_SID =...
    Export ORAENV_ASK = NO
    . oraenv
    Export ORAENV_ASK =

    and you're done.
    Working for more than 10 years!

    If I could study how much time is wasted by people invent their own hacks, simply because they refuse to read the documentation, I would start tomorrow student!

    ---------
    Sybrand Bakker
    Senior Oracle DBA

  • Using VPN L2L static and dynamic dedicated tunnels

    We have an ASA 5510 running 8.0 at our company headquarters. We have remote sites who need to create VPN L2L at the HQ ASA tunnels. Some remote sites have static IP addresses and others have dynamic IP addresses.

    I found documentation Cisco L2L static IP VPN tunnels and make them work. I found another Cisco documentation for static IP dynamic L2L VPN tunnels using the tunnel-group "DefaultL2LGroup".

    My question is, can you have two types of tunnels on the same ASA L2L? If so, simply by using the definitions of "DefaultL2LGroup" tunnel-group and of tunnel-group work? Is there a reason to not do? Is better technology (ASA HQ and a combination of ASA 5505 and 1861 at remote sites) available?

    Yes, you can have both types of tunnels L2L. If you use a PSK - remember that the IP address of the remote site is used to 'validate' to connect to Headquarters. As long as you use a sure PSK = 64 characters and all with upper/lower case alpha numeric - you should be OK.

    A better way to do it - is to get the static IP addresses for the site that currently have DHCP from ISP.

    HTH >

  • Captivate 3 and 4 on the same machine

    Hello

    I have two licenses for Captivate 3 (Full Version) and you want to buy an updated Version of Captivate 4. My question is, is it possible to use the Captivate 3 (Full Version) and Captivate 4 (Upgrade) together on the same machine?

    Thanks for your replies.

    Welcome to our community, Denis

    Usually, if you buy a version upgrade, you will need to have only the upgrade on the machine. But as you have two full licenses I think you may have at the time.

    From a technical point of view, the two versions will co-exist peacefully.

    See you soon... Rick

  • Oracle 9i and 10g on the same machine?

    Hello!

    I tried to install oracle 9i (* 9.2.0.1 *) and 10g (* 10.2.0.4 *) on the same server (windows 2008 sp2). First, I installed 9i and 10g (two editions of the company). then I tried to create a Database 9i with database configuration assistant. After you configure the database settings and began creating, the installer crashed (JRE. EXE, module symcjit.dll failure).

    someone has an idea of what the problem might be or a tutorial how to install 9i and 10g on the same server? Thanks in advance!

    Best regards
    Christian

    The problem is that 9.2.0.1 is not yet certified for Windows 2008 and was backed off long ago.
    This means regarding this version, you are on your own.
    Oracle 10.2.0.4 also is no longer in first aid, then Oracle will not address all the new problems.
    You can switch to 11 GR 2 or to demote the server to Windows XP. Windows XP is however out of support too.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • Static and dynamic NAT at the same time?

    Is this possible? Let's say you have 20 public address pool and you have 30 computers LAN. You want to assign the same public address for some of the servers. And the rest can get the addresses of the pool at random.

    It would be nice if we can easily do the appropriate firewall rules.

    Yes, it is possible, you can use nat and global commands for dynamic conversion and use the static commands for static translation at the same time.

    Here is an example:

    Public rate IP-range outdoors: xxx.xxx.xxx.0/27

    (IP addresses are xxx.xxx.xxx.1 - xxx.xxx.xxx.30)

    Private range of IP addresses on the inside: yyy.yyy.yyy.0/24

    In the example I'm going to static translate xxx.xxx.xxx.2 to yyy.yyy.yyy.2 Server1 (ditto for server2, but by using adresse.3)

    All other IP addresses is translated dynamics.

    Here is an example of how you can do this:

    IP address outside xxx.xxx.xxx.1 255.255.255.224

    IP address yyy.yyy.yyy.1 255.255.255.0 inside

    NAT (inside) 0 access-list sheep

    NAT (inside) 1 yyy.yyy.yyy.0 255.255.255.0

    Global 1 interface (outside)

    public static yyy.yyy.yyy.2 xxx.xxx.xxx.2 (indoor, outdoor)

    public static yyy.yyy.yyy.3 xxx.xxx.xxx.3 (indoor, outdoor)

    access-list deny ip host yyy.yyy.yyy.2 sheep all

    access-list deny ip host yyy.yyy.yyy.3 sheep all

    access-list sheep ip allow a whole

    Kind regards

    Leo

  • Display static and dynamic photo using the Structure of the event

    Hello everyone,

    I need to display a static image with an event and then using another event, I need to keep displaying the second photo, while the first is still displayed. Simply speaking, in the attached example, I would like to have the color circle black fixed while I dynamically change the red circle.

    My attempt is shown in the attached VI with the first approach using the shift register and the second using the property node (value). Both do not work. Does not erase the previous red circle, or the black circle also gets deleted.

    I'd appreciate any help in this regard.

    Thank you

    From what I see here, you must have two shift registers, one for each circle you try to draw.  You just update those who need update inside the corresponding event.  Use then Cancatinate string to combine the two images.

    Other things to note:

    Put the terminals of your controls in their case of discipline.  This ensures that you are using the most recent data instead of the outdated data.

    The Stop button event take the changed value.  Yet once, put the terminal inside the event.  This will allow the latch to work its magic.

    Them would like to see photo subVIs RADIUS be I16 instead of DBL.  I recommend that you change your cursors to use representation I16.

  • Windows 7 and XP on the same machine.

    I have a computer running Windows 7 Professional (32 bit) and I need to run multiple programs in Windows XP Professional. Set up the computer so that the two operating systems so that I can choose the one I want to start? If so, how can I do it? Mode XP of Windows 7 is not a true XP environment because it does not have the Microsoft JVM program (Machine Visual Java) or installed it will be format FAT 32 discs (this does nor appear to be the same as exFAT). I need to restore files backed up using a program that does not recognize NTFS formatted. Can someone help, please?

    It's been a while since I used XP Mode and I don't remember all the details, but I remember that you will not be able to attach a USB device if it is connected to the host computer using a USB 3.0 port.

    You can share a USB device that is attached to a USB 3.0 port (or at least, you can do this with a flash drive USB;) I don't know about printers or scanners).

    I don't know about you, but I suspect that unlike a printer or a scanner, USB flash drive must be attached to the virtual machine rather than share the XP Mode and the host operating system.

    You connect the scanner to the same USB port that he was using before move you things?  If you unplug the USB port on the scanner, look at the plastic insert in the port: if it's black, it of 2 USB and click OK. If it's blue, it's USB 3.0 and it will not work in XP mode.

  • Cisco VPN Site to Site with a static and dynamic does not

    Hello

    I have ASA 5510 in Headquarters with static, IP and ASA 5505 in the remote site behind ADSL router trying to establish VPN, but its failure in phase 1

    Config of the headquarters

    interface Ethernet0/0

    Description link to router LeaseLine

    nameif outside

    security-level 0

    IP x.x.x.x 255.255.255.248

    !

    interface Ethernet0/1

    Description link to LAN internal

    nameif inside

    security-level 100

    IP 172.17.1.15 255.255.255.0

    access extensive list ip 172.17.1.0 inside_nat0_outbound_1 allow 255.255.255.0 172.20.1.0 255.255.255.0

    access extensive list ip 172.17.1.0 inside_nat0_outbound_1 allow 255.255.255.0 172.19.1.0 255.255.255.0

    access extensive list ip 172.17.1.0 vpn_to_remote allow 255.255.255.0 172.19.1.0 255.255.255.0

    extended VPN ip 172.17.1.0 access list allow 255.255.255.0 172.20.1.0 255.255.255.0

    Global 1 interface (outside)

    NAT (inside) 0-list of access inside_nat0_outbound_1

    NAT (inside) 1 0.0.0.0 0.0.0.0

    Route outside 0.0.0.0 0.0.0.0 x.x.x.x 1

    Crypto ipsec transform-set esp-aes-256-md5 esp-aes-256 esp-md5-hmac

    Crypto ipsec transform-set ESP-AES-256-SHA 256 - aes - esp esp-sha-hmac

    correspondence address 1 crypto dynamic-map cisco VPN

    Crypto dynamic-map cisco 1 set of transformation-ESP-AES-256-SHA

    card crypto outside_map 10 correspondence address vpn_to_remote

    card crypto outside_map 10 set pfs

    card crypto outside_map 10 peers set y.y.y.y

    card crypto outside_map 10 transform-set esp-aes-256-md5

    outside_map crypto 10 card value reverse-road

    dynamic outside_map 30-isakmp ipsec crypto map Cisco

    outside_map interface card crypto outside

    crypto isakmp identity address

    crypto ISAKMP allow outside

    crypto ISAKMP policy 10

    preshared authentication

    aes-256 encryption

    md5 hash

    Group 5

    life 86400

    crypto ISAKMP policy 20

    preshared authentication

    aes encryption

    md5 hash

    Group 2

    life 86400

    crypto ISAKMP policy 30

    preshared authentication

    aes-256 encryption

    sha hash

    Group 2

    life 86400

    Crypto isakmp nat-traversal 20

    tunnel-group y.y.y.y type ipsec-l2l

    tunnel-group ipsec-attributes y.y.y.y

    pre-shared-key *.

    tunnel-group parkplace type ipsec-l2l

    tunnel-group ipsec-attributes parkplace

    pre-shared-key *.

    The Remote Site configuration

    interface Vlan1

    nameif inside

    security-level 100

    address 172.20.1.1 IP 255.255.255.0

    !

    interface Vlan2

    nameif outside

    security-level 0

    IP 192.168.1.2 255.255.255.0

    !

    interface Ethernet0/0

    switchport access vlan 2

    !

    interface Ethernet0/1

    ICMP list extended access permit icmp any one

    access-list SHEEP extended ip 172.20.1.0 allow 255.255.255.0 172.17.1.0 255.255.255.0

    extended VPN 172.20.1.0 ip access list allow 255.255.255.0 172.17.1.0 255.255.255.0

    Global 1 interface (outside)

    NAT (inside) 0 access-list SHEEP

    NAT (inside) 1 0.0.0.0 0.0.0.0 outdoors

    Access-group ICMP in interface outside

    Route outside 0.0.0.0 0.0.0.0 192.168.1.1 1

    Crypto ipsec transform-set ESP-AES-256-SHA 256 - aes - esp esp-sha-hmac

    crypto map outside_map 1 is the VPN address

    peer set card crypto outside_map 1 83.111.252.242

    card crypto outside_map 1 set of transformation-ESP-AES-256-SHA

    outside_map interface card crypto outside

    crypto ISAKMP allow outside

    crypto ISAKMP policy 10

    preshared authentication

    aes-256 encryption

    sha hash

    Group 2

    life 86400

    Crypto isakmp nat-traversal 20

    tunnel-group fairmount type ipsec-l2l

    tunnel-group fairmount ipsec-attributes

    pre-shared-key *.

    Best regards / Asfar

    Hello

    Have you tried to replace the names of 'tunnel-group' entry with Ip address on both ends... ?

    Thank you

    MS

  • VSphere hypervisor and Vsphere connecting the same machine

    Hi guys,.

    I have a basic question that drunk that I can't seem to find an answer.

    I'll put up a test of domestic/vmware server environment, but I only have one computer. I want to install ESXi on this computer, and then run VSphere via localhost to manage computers from the VM on the same host. So far, I've always set up ESXi on a host machine and then managed remotely, with my laptop. But I don't have the option here. Is there something in ESXi that allows this configuration?

    Thank you

    Gareth

    You can certainly run a Windows VM on the ESXi host, but you will still need another system to access. ESXi itself does not provide a graphical interface, and I'm not aware of any 3rd third-party tool that adds this feature either.

    André

  • Server and Workstion on the same machine (Win XP)

    Hello

    Does anyone know if you can install VMWARE workstation and server 2 on the same box?  I would use both products on my Windows XP laptop (would not attempt to run them at the same time).

    Sometimes I need functionality pre-installed offer that is in the server and vice versa.

    Thank you

    Richard

    Richard - Welcome to the forums.

    "You can not have VMware Server installed on the same host with another product VMware as VMware Workstation, VMware GSX Server and VMware ESX. You cannot have multiple versions of VMware Server installed on the same host.

    Only VMware products which may share a host with VMware Server are client VMware VirtualCenter (VMware Infrastructure Client) and the server software and the VMware Converter. If you plan to install VMware Server on a host of the machine which already

    contains another VMware product, you must uninstall this product first. »

    It comes to p.36 of the VMware Server user's Guide.

Maybe you are looking for