VPN clinetside IP overlap - tweak /etc/hosts possible?

Hi,
Our internal IP range is 192.168.0.x
We have remote users who VPN in from client offices, hotels, airports, etc. If the clientside local network address is also in the 192.168.0.x range, VPN does not work correctly due to the overlapping address ranges. This happens often enough to be a serious problem for our road warriors.
Does anyone know whether /etc/hosts can be tweaked to be different for different Network Locations? Are there any other means to this end? If so we can create a VPN VLAN (say, 192.168.100.x) with our servers multihomed onto that VLAN smooth VPN access.
Thanks,
b.
PS. Apologies for cross-posting in client & server.

Buckster: this can't be done without some serious hacks, and even so, would probably still involve manual changes when switching to a new location, and probably reboots as well.
Painful as it is, it will almost definitely be far easier to renumber your central office LAN (where the VPN server is). When I set up a LAN that I know might be VPN'd into in the future, I try to use an obscure range (i.e. 192.168.169.x, 10.30.50.x, 172.16.17.x, etc.) - that's unlikely to be used by the SOHO routers/firewalls commonly deployed in remote locations.
MacBook Pro   Mac OS X (10.4.8)  

Similar Messages

  • /etc/hosts, /etc/hostname.bgeN configuration

    I am writing this to get help.
    I have a Solaris 10 box.
    bash-3.00$ uname -a
    SunOS soft19 5.10 Generic_125100-10 sun4u sparc SUNW,Netra-240
    I have the following stuff on this box,
    bash-3.00$ cat /etc/hosts
    # Internet host table
    127.0.0.1 localhost
    10.9.48.244 soft19-bge1 Secondary
    10.9.16.121 soft19 loghost
    #10.9.48.244 soft19 Secondary
    bash-3.00$ cat /etc/hostname.bge0
    soft19
    bash-3.00$ cat /etc/hostname.bge1
    soft19-bge1
    bash-3.00$ ifconfig -a
    lo0: flags=2001000849 mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843 mtu 1500 index 2
    inet 10.9.16.121 netmask ffffff00 broadcast X.X.X.255
    bge1: flags=1000843 mtu 1500 index 3
    inet 10.9.48.244 netmask ffffff00 broadcast X.X.X.255
    In our code base, we have the following,
    struct hostent *hp;
    hp = ACE_OS::gethostbyname(myhostname); // myhostname is soft19
    hp->h_addr_list[0] will give 10.9.16.121
    Everything is correct here!!
    Now I change the configuration a bit,
    bash-3.00$ cat /etc/hosts
    # Internet host table
    127.0.0.1 localhost
    #10.9.48.244 soft19-bge1 Secondary
    10.9.16.121 soft19 loghost
    10.9.48.244 soft19 Secondary
    and now
    hp->h_addr_list[0] will give 10.9.16.121
    hp->h_addr_list[1] will give 10.9.48.244
    but when I reboot the system, I get the following,
    bash-3.00$ ifconfig -a
    lo0: flags=2001000849 mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843 mtu 1500 index 2
    inet 10.9.16.121 netmask ffffff00 broadcast X.X.X.255
    bge1: flags=1000843 mtu 1500 index 3
    inet 0.0.0.0 netmask ffffff00 broadcast X.X.X.255
    And I know this is because
    bash-3.00$ cat /etc/hostname.bge1
    soft19-bge1
    Now I change /etc/hostname.bge1 to have just soft19
    and I reboot the system and what I see is this
    bash-3.00$ ifconfig -a
    lo0: flags=2001000849 mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843 mtu 1500 index 2
    inet 10.9.16.121 netmask ffffff00 broadcast X.X.X.255
    bge1: flags=1000843 mtu 1500 index 3
    inet 10.9.16.121 netmask ffffff00 broadcast X.X.X.255
    Which is correct again!
    Now my question is
    With this
    struct hostent *hp;
    hp = ACE_OS::gethostbyname(myhostname); // myhostname is soft19
    I want to have the following,
    hp->h_addr_list[0] will give 10.9.16.121
    hp->h_addr_list[1] will give 10.9.48.244
    How can I get this even if the system reboots?

    Hi, Thanks, but I know this. And was expecting the same.
    But my question still remains unanswered..
    How to tweak /etc/hosts and /etc/hostname.bgeN files for....
    With this code
    struct hostent *hp;
    hp = ACE_OS::gethostbyname(myhostname); // myhostname is soft19
    I want to have the following,
    hp->h_addr_list[0] will give 10.9.16.121
    hp->h_addr_list[1] will give 10.9.48.244
    One more thing, I want to get this all the time, even my system reboots.
    I know a method to get below [by modifying /etc/hosts file]
    hp->h_addr_list[0] will give 10.9.16.121
    hp->h_addr_list[1] will give 10.9.48.244
    but this will not work when the system reboots? I am looking for a permanent solution.
    Thanks,
    Atul

  • SCAN LISTENER runs from only one node at a time from /etc/hosts !

    Dear all ,
    Recently I have to configure RAC in oracle 11g(r2) in AIX 6.1 . Since in this moment it is not possible to configure DNS, so I dont use SCAN ip into the DNS/GNS, I just add the SCAN ip into the host file like :
    cat /etc/hosts
    SCAN 172.17.0.22
    Got the info from : http://www.freeoraclehelp.com/2011/12/scan-setup-for-oracle-11g-release211gr2.html#ORACLE11GR2RACINS
    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1-n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?
    Here is my listener file (which is in the GRID home location) configuration :
    Listener File OF NODE1 AND NODE 2:
    ==================================
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)
    ADR_BASE_LISTENER_SCAN1 = /U01/APP/ORACLE
    2)
    Another issue , when I give the command : " ifconfig -a " , then it shows the SCAN ip either node1 or node2 . suppose if the SCAN ip is in the node1 , and then if I run the "relocate" command from node2 , the ip goes to the Node 2 . is it a correct situation ? advice plz ... ...
    thx in advance .. ...
    Edited by: shipon_97 on Jan 10, 2012 7:22 AM
    Edited by: shipon_97 on Jan 10, 2012 7:31 AM

    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :If I am not wrong and after looking at the document you sent, you will be able to use only once scan in case you use /etc/host file and this will be up on only one node where you added this scan entry in /etc/hosts file.
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?Probably you can't in your case, you might run only one i think and on one node only
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1 -n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2You moved scan listener from node 1 to node 2, OK
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    --------------------------------------------------------------------------------Since you have only one scan, you can't relocate "2". So ise "1" instead here also
    FYI
    http://www.oracle.com/technetwork/database/clustering/overview/scan-129069.pdf
    Salman

  • Adding the /etc/host.deny file like linux in solaris 10.

    Dears,
    I need to add a file which will works like the file of /etc/hosts.deny of Linux in Solaris.
    If it is possible in the same manner please let me know that, and if it need some other trick to deny a specific host to access the system please tell me the way to do that.
    Eagerly waiting to hear from you.
    BR//
    Sohel.

    IPfilter can deny a specific IP address access to the host - enable IPFilter with svcadm and edit the /etc/ipf/ipf.conf file to add the IP to block. An example could be:
    block in log quick on bnx0 proto tcp from 192.168.1.5/32 to any
    I use IPfilter to pass and block all sorts of specific IP addresses as well as block/allow specific ports (like only specific hosts can use port 22, ssh).

  • Network-profiles (1) and /etc/hosts

    Hi everyone,
    i've got a few network-profiles, especially in one network I have to use a static ip to connect to the internet. The only entry in the /etc/hosts which works correctly - without any error messages - for me, is
    192.168.0.99 localhost.localdomain myhost
    If I use something like 127.0.0.1 in front and simply add my hostname at the end, I can't connect with the Inet, unfortunately. I did not test it, but I'm pretty sure, that this host configuration won't work in any other network, where I get a dynamic IP from the DHCP. Is there a possibility to write the content of the /etc/hosts with netcfg, like the /etc/resolv.conf for example?
    MfG Skit

    Because you didn't specify what localhost was in your hosts file. It only knows of localhost.localdomain(does not imply 'localhost') and acer being the loopback.
    I think he understood that.
    'localhost' is universally understood as the loopback.
    this is some kind of 'magic' answer isn't it? the resolving doesn't come out as a miracle... and that is IMHO what needs explanation.
    his computer alone doesn't (obviously) get it because sure, it's not set. now what 'magic' makes it known when a cable is plugged in? the computer tries to reslove locally (via /etc/hosts), fails at it, and then asks the dns server about it. so I reckon the dns server is instructed on replying '127.0.0.1' for a 'localhost' hostname request. why so? because dns servers have an option to look at their local /etc/host for resolving before delegating to bigger servers, so the dns server certainly has localhost matching 127.0.0.1 in his /etc/host, and blindly replies accordingly, oblivious to the fact that he is replying about his 'own' 127.0.0.1 to someone else.
    Last edited by lloeki (2008-01-16 08:24:12)

  • /etc/hosts for dhcp

    Hello People
    i have installed 11.2.0.1 on oracle linux release 5 update 7 and is working fine
    i have logged into the actual system where i installed and checked that sqlplus "/as sysdba" is working and i can log into the database
    my company has all its computers connected by a lan cable that provides both file sharing and internet connection..
    so is this what dhcp means??
    because, i think so,so here is what my /etc/hosts file looks like
    127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
    127.0.0.1 localhost.localdomain localhost
    yeah it has only two lines(my bad, i had been doing some tweaking)
    my ifconfig output looks like this
    eth0 Link encap:Ethernet HWaddr 48:5B:39:D0:B5:15
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:21980 errors:0 dropped:0 overruns:0 frame:0
    TX packets:14479 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:17251832 (16.4 MiB) TX bytes:1814446 (1.7 MiB)
    Interrupt:27 Base address:0x8000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4439 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4439 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2788171 (2.6 MiB) TX bytes:2788171 (2.6 MiB)
    virbr0 Link encap:Ethernet HWaddr 2E:12:83:50:CA:6A
    inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:4190 (4.0 KiB)
    and the error i am right now getting is this
    [oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-12547: TNS:lost contact
    tell me if i need to elaborate on anything
    thanks in advance

    Hi,
    In the etc/hosts you have add ur ip address with hostname, something like this it should be.
    127.0.0.1 localhost.localdomain localhost
    10.93.10.XX mysystem.localdomai
    because, i think so,so here is what my /etc/hosts file looks like
    127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
    127.0.0.1 localhost.localdomain localhostFor the below TNS lost contact error, recently I faced a similar kind of error:
    and the error i am right now getting is this
    [oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-12547: TNS:lost contact
    Check your ORACLE_HOME/bin folders rights.
    $ ls -ltr oracle
    -rwxr-xr-x 1 oracle dba 25485683 Jul 2 12:02 oracle
    $ chmod 6751 oracle
    $ ls -ltr oracle
    -rwsr-s--x 1 oracle dba 25485683 Jul 2 12:02 oracle
    And check whether your user has dba group.
    This may help you..
    Thanks,
    nonuday

  • /etc/hosts is ignored by everything

    Here is the current `/etc/hosts`
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    127.0.0.1    localhost
    255.255.255.255    broadcasthost
    ::1        localhost
    fe80::1%lo0    localhost
    # couchapps
    127.0.0.1    projects board
    I've tried all the possible solutions:
    restarts
    resetting it to "factory state"
    clearing browser cache
      (ping and curl have no caches, but they also ignore it)
    dscacheutil -flushcache
    sudo chmod 664 /etc/hosts
    sudo chown root:wheel /etc/hosts
    Nothing. Only the `localhost` is working.
    No idea why.

    The question is answered!
    the blame goes to old orthodox line-breaks (CR)
    i've switched to Unix-style (LF) and it's fine.
    // SublimeText2 Menu: View –> Line Endings –> Unix

  • Strange entry in the /etc/hosts file

    Hi,
    While doing some testings with my network this afternoon, I noticed that there's this strange line in my /etc/hosts file:
    ::1 localhost
    Anybody has any idea what the "::1" is for? The only thing related to network that I had recently installed is VPN Tracker. Could it be VPN Tracker that added that line to the hosts file?
    Thanks in advance for your help!
    Frank
    PowerBook G4   Mac OS X (10.4.8)  

    It's supposed to be there, here's a fresh install's complete hosts file...
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost "
    Not sure what it means... may be a 16 bit number though! :-D

  • Appending a blocklist to /etc/hosts

    Is it possible to append a blocklist (er... redirectlist) to /etc/hosts somehow?
    For example, mvps has been supplying a very nice list of known parasite websites for years.  Basically, it just uses 127.0.0.1 to redirect known bad websites so they don't load. It's a nice system-wide method to block them.  I have been pasting their list into my /etc/hosts but am wondering if I can someone call it as I do in bash scripts.
    For example, this doesn't work, but you get idea:
    $ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost novelty
    192.168.1.1 router
    192.168.1.2 inky
    192.168.1.3 blinky
    . /etc/hostsmvps # try to load the mvps redirect list

    Wintervenom wrote:
    Copy your local machine and network hosts to "/etc/hosts.local," then:
    #!/bin/dash
    ### MVPS Hosts Updater #########
    # Version 0.3 by Scott Garrett #
    # Wintervenom [(at)] gmail.com #
    # Download the MVPS hosts file.
    wget -c -O /tmp/hosts.txt http://www.mvps.org/winhelp2002/hosts.txt
    # Be paranoid and replace every IP address with 0.0.0.0. We also get
    # only want the actual blacklist, 'cause we want to prepend the user's
    # own hosts. 0.0.0.0 is nicer than constantly knocking on localhosts' door.
    sed -r -e 's:^([0-9]{1,3}\.){3}[0-9]{1,3}:0.0.0.0:' /tmp/hosts.txt > /tmp/hosts.new.txt
    tail -n+`grep -nF 'start of lines' /tmp/hosts.new.txt | cut -d':' -f1` /tmp/hosts.new.txt > /tmp/hosts.txt
    # Write this new list over the system hosts list. MVPS' line feeds
    # are \n\r; we will be getting rid of those dirty carriage returns.
    # We'll first write the user's hosts head, then the black list.
    cat /etc/hosts.local > /etc/hosts
    cat /tmp/hosts.txt | tr -d "\r" >> /etc/hosts
    rm /tmp/hosts*.txt
    # This is the end!
    Thanks for the script, I actually wrote one very similar to yours but then thought I'd ask about sourcing it like a bash script does...
    Last edited by graysky (2010-10-10 16:04:16)

  • How to edit /etc/hosts?

    I need to add a hostname and IP address to /etc/hosts, so that I can access server at a hosting site, after I connect via VPN. The hostname that I need to use is not in the DNS, so I need to add it manually to /etc/hosts. I can't seem to find my root pwd, but I have an account with Admin access. Isn't there some tool for editing this file? Otherwise, I'll need to enable the root account somehow.

    Use a tool such as TextWrangler which allows administrators to authenticate to root, or sudo with a command line text editor.
    (45358)

  • Mpc problem: getaddrinfo not checking /etc/hosts?

    The source of this question is my attempt to get mpc to contact mpd on my localhost when the internet is down. When the internet is up it works fine, but when i'm not connected to the internet, running mpc behaves as follows:
    I seem to have tracked this down to a problem in getaddrinfo (possibly in my sytem configuration?). I created a piece of test code (below) that does a gethostbyname and then a getaddrinfo. On this computer, both work when connected to the internet, but getaddrinfo fails when disconnected. I tested the same code on an ubuntu computer and it getaddrinfo worked even when disconnected from the internet.
    My /etc/hosts and /etc/host.conf seem to be set properly. glibc is 2.8-3. I would have thought that getaddrinfo having such a problem would cause more errors than just in mpc, but I haven't noticed any.
    I'd really appreciate any help.
    #include <stdio.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netdb.h>
    int main (void)
    struct addrinfo *addrinfo;
    int i, error;
    struct hostent *h;
    h = gethostbyname("localhost");
    if (h) {
    for (i=0; i < h->h_length - 1; i++)
    printf("%d.", h->h_addr_list[0][i]);
    printf("%d\n", h->h_addr_list[0][i]);
    } else {
    printf("no such host\n");
    error = getaddrinfo("localhost", NULL, NULL, &addrinfo);
    if (error) {
    printf("host not found: %s\n", gai_strerror(error));
    } else {
    while (addrinfo) {
    printf("%d %d %d\n",AF_INET,AF_INET6,addrinfo->ai_family);
    addrinfo = addrinfo->ai_next;
    return 0;
    $ ./hnt
    127.0.0.1
    2 10 2
    2 10 2
    2 10 2
    $ sudo dhcpcd -k wlan0
    $ ./hnt
    127.0.0.1
    host not found: Temporary failure in name resolution
    $ mpc
    MPD_HOST and/or MPD_PORT environment variables are not set
    error: host "localhost" not found: Temporary failure in name resolution
    $
    Uncommented and nonblank lines of /etc/hosts:
    127.0.0.1      localhost.localdomain  localhost heroine
    and /etc/host.conf:
    order hosts,bind
    multi on

    Alas, setting MPD_HOST does not help. If there is some way to give mpc an ip address instead of a hostname, that might help. Just putting 127.0.0.1 as MPD_HOST doesn't work.
    I also really think there is something really weird going on with getaddrinfo.
    Thanks for the idea.
    $ MPD_HOST=localhost mpc
    MPD_HOST and/or MPD_PORT environment variables are not set
    error: host "localhost" not found: Temporary failure in name resolution
    $ MPD_HOST=127.0.0.1 mpc
    MPD_HOST and/or MPD_PORT environment variables are not set
    error: host "127.0.0.1" not found: Address family for hostname not supported
    $

  • The new entries made in /etc/hosts file is not picked up by Weblogic.

    Hi All,
    I have come across a scenario where i have changed the IP address of a particular host name (which was already present in etc/hosts) to point to a new IP address.
    After i did this change, when i do a telnet test to the same hostname, i can see it is getting connected to the new IP to which i changed. But my service which is deployed on weblogic 10.0 still keeps sending requests to the old IP which i commented in the etc/hosts file instead of the new IP address.
    My question is will weblogic cache the data in etc/hosts file somewhere?
    Thanks in anticipation..
    Madhu

    Application deployed on weblogic server will pick the IP address of the server on which the application is deployed .
    IP address or listen address for weblogic server can be configured in 3 different ways :
    Listen Address : Blank --- This means that the server will listen to all the interfaces available on the Machine .
    Listen Address : IP address or Hostname --- The server will listen only to the specified IP address or the hostname .
    Listen Address : : localhost --- The server will be listening only on localhost address and will not be accessible remotely .
    Please check what it the listen address specified at you end.
    Thanks,
    Sandeep

  • In the command line how do I find the etc/host file? is there one?

    I am trying to work remotely and use our lotus notes system (which is from a windows based server) but I have to connect to the mail server and our IT person wants to find the equivalent of the Windows host file or host table . is there such a file? we went here
    http://linux.die.net/man/5/hosts
    hosts(5) - Linux man page
    Name
    hosts - The static table lookup for host names
    Synopsis
    /etc/hosts
    thanks

    Since you're using a Macintosh, quit reviewing linux stuff. These, when entered in the Terminal app (inside /Applications/Utilities/) should point you in the right direction:
    *cat /etc/hosts*
    details in:
    *man hosts*
    FWIW, you should search the Unix forum (or post your query there) under OS X Technologies.

  • Oracle 11gR2 RAC VM and SCAN and DNS and /etc/hosts (two) setup questions

    Hi,
    I am looking forward to setting up two Oracle 11gR2 RAC instances
    on my Oracle VM test machine.
    I plan on using the Oracle 11gR2 RAC VM template.
    I want the final Oracle 11gR2 RAC instances to have SCAN that uses DNS.
    The DNS will be pre-installed in the JeOS.
    My first simple question about the setup is the following.
    In my DNS name file, for example,
    /var/named/chroot/var/named/milkyway.univ.db
    do I need to provide the racnode1 and racnode2 information,
    for example,
    # DNS name file (snippet)
    myjeos IN A 192.168.1.150
    racnode1 IN A 192.168.1.161
    racnode1-vip IN A 192.168.1.163
    racnode2 IN A 192.168.1.162
    racnode2-vip IN A 192.168.1.164
    rac-scan IN A 192.168.1.131
    rac-scan IN A 192.168.1.132
    rac-scan IN A 192.168.1.133
    Or, can I just provide only the rac-scan information
    # DNS name file alternate (snippet)
    myjeos IN A 192.168.1.150
    rac-scan IN A 192.168.1.131
    rac-scan IN A 192.168.1.132
    rac-scan IN A 192.168.1.133
    What I am getting at is the following.
    Within the install process, will racnode1, racnode1-vip, racnode2,
    and racnode2-vip host names and their IP address be written
    to the RAC instances /etc/hosts files? (So I should not bother
    to put them in the DNS name file like '# DNS name file alternate (snippet)'?)
    Or, should I put the racnode and racnode-vip host names and IP addresses
    in the DNS name file like '# DNS name file (snippet)'?
    The second question is the following.
    Are the cluster name and the scan name allowed to be different?
    Currently, I would plan them to be different,
    for example, rac-cluster and rac-scan.
    Or, are they required to be the same,
    for example, rac-cluster and rac-cluster.
    Thank you.
    AIM

    AIM wrote:
    do I need to provide the racnode1 and racnode2 information,
    Or, can I just provide only the rac-scan information You need to provide all of it in DNS, because other hosts in your network will need to be able to resolve all of the normal, VIP and SCAN addresses for your RAC nodes. We write this data out to /etc/hosts just to reduce the amount of round-trip DNS requests the cluster nodes make for themselves.
    Are the cluster name and the scan name allowed to be different?They can be different.

  • Editing etc\hosts file on windows xp for apps. problem post installation.

    Hi all,
    I was able to install 11.5.10.2 apps on my win xp prof machine. During that process I had to edit the etc/hosts file in windows directory as a work around for that domain name field during installation. Also added the primary DNS suffix as 'suneel.com' . I gave the domain name as 'suneel.com' during installation. The RapidWiz is taking localhost as the system name and referring to this system as localhost.suneel.com, though the actual system name is 'websoft-xp' .
    The host file on Apps machine has the following entries:
    127.0.0.1 localhost
    127.0.0.1 localhost.suneel.com suneel.com
    127.0.0.1 websoft-xp.suneel.com
    So when I connect to apps login server from other systems in lan, I've to edit their hosts file and add an entry for localhost.suneel.com to point to its ip address or else the apps throws an error after logging in as operations/welcome using a different url say 192.168.1.4:8000 . Is there a way to get around this issue?
    More over I'm not able connect to VIS db from other systems. The oracle clients give an error 'No listner' at this address. (The original listener was listening at localhost.suneel.com:1521). So I tried to create a new listerner from Net Manager that actually listens at websoft-xp (the real system name) but it throws me an error 'A valid log file is required' while saving the network configuration and prevents me from saving the network configuration.
    Did I do something wrong with the hosts file during installation or did i miss any entries in that file thats causing this? Any solutions for the above problems will be appreciated?
    Thanks
    Suneel
    Message was edited by:
    suneelgv

    Well I tried that option but for some reason it didn't work for me. It kept giving the tns:connection closed error. Then I searched in metalink and found this note : Note:333158.1
    It suggested setting tcp.validnode_checking = no
    in sqlnet.ora. in
    F:\oracle\visdb\9.2.0\network\admin\VIS_websoft-xp
    And it works. Hope this helps someone facing a similar problem. Good luck.
    BTW how do I run autoconfig?
    Thanks,
    Suneel Gundlapalli

Maybe you are looking for

  • No SID found error

    Hi , I have the masterdata loaded and activated to the infoobject acttype. when i am loading data to the ods it is giving an error message No sid found for acttype. The master data loaded to the acttype and it is activated. What could be the reason f

  • Fixing a sequence created as 29.97 - should have been 25fps

    It's been many years since I edited anything, as I primarily shoot commercials and edits are done by others much more qualified. My last Premiere software was purchased back when Photoshop 5.0 was new . . . so apologies in advance for this senior mom

  • Having Macbook Pro sleep/fan Issues

    SUMMARY: Macbook Pro eventually loses ability to sleep properly, will begin to constantly wake with fans at full speed and then quickly go back to sleep, back and forth every 30 seconds while the lid is closed. Restarting fixes the issue but it alway

  • How to Create add-on using B1DE tools

    Hi,        How to create add-on using B1DE tools. if any documentation is there, send me or attached document. Thanks, P.Suresh Kumar

  • Problem in double-click on a perform statement in abap editor

    Hello, I was asked to modify a program but as I tried to read it in se38, I could not double click in performs. Their forms are placed in INCLUDES which are stated in the program. So every time i want to see what a perform does, I go into every inclu