ASA - added a public server and it is limited to this traffic

I added an internal e-mail server to a whole new ASA5510 today.  I used the GUI because it is a fairly simple installation.  In any case, I added a mail server to allow the port 25 inbound on an address static nat dedicated to this server.  But now, this server can not do anything on the internet: the navigation or search DNS, etc..  The server is also the internal DNS server.  I'm probably missing?

Hello

It not on MAC address about proxy arp

  • Addresses on the same network as the interface is mapped.

If you are using addresses on the same network that the mapped interface, the ASA uses proxy ARP to respond to all ARP requests for mapped addresses, thus intercepting traffic destined to a mapped address. This solution simplifies the delivery because the ASA is not to be the gateway for all additional networks. This solution is ideal if the external network contains a sufficient number of free addresses, a consideration if you are using a 1:1 translation as dynamic NAT or static dynamic NAT PAT greatly expands the number of translations, which you can use with a small number of addresses, so even if the addresses available on the external network is small, this method can be used. For PAT, you can even use the IP address of the mapped interface.

Note If you configure the mapped interface to be any interface and you specify an address that is mapped to the same network as one interfaces mapped, then address topographiee in an ARP request for who arrives on a different interface, then you must manually configure an ARP entry for this network on the interface of penetration, by specifying its MAC address (see the arp command). Normally, if you specify an interface for the mapped interface, then you are using a single network for addresses mapped, so that this situation would not occur.

  • Addresses on a single network.

If you need more addresses available on the mapped interface network, you can identify the address on a different subnet. The upstream router needs a static route for mapped addresses that points to the ASA. Otherwise for routed mode, you can configure a static route on the SAA for mapped addresses and then redistribute the route using your routing protocol. For transparent, if the real host is directly connected, configure the static route on the router upstream to point to the ASA: specify the IP address of the bridge group. For remote hosts in transparent mode, in the static route on the router upstream, you can also specify the IP address of router downstream.

Mapped addresses and routing

http://www.Cisco.com/c/en/us/TD/docs/security/ASA/asa91/configuration/firewall/asa_91_firewall_config/nat_overview.html

HTH

Sandy

Tags: Cisco Security

Similar Questions

  • Why am I not able to update the latest version of Firefox when it tells me that it is ready to download. It seems "stuck" on the connection to the update server and goes no further. This happens everytime I try for several months now.

    I think that the version he is trying to download is 10.something, and it seems to freeze on the window of 'progress' for quite awhile before I get it close. I've sometimes minimized the window while I did other things, coming to him perhaps 30 minutes later and the window is exactly the same as when I left it.

    You can try the alternative and easier way by downloading from here

  • Question to have a test server and a remote server

    Hello

    using DW CS6

    I have my site on a XAMPP test server configuration. Now, I want to publish to a remote server. When I select the remote server, he wants to define me a site. This means that there my site listed twice in the box site definition. I see that there the site twice at one point going to cause me some confusion. It is necessary to define the site twice? Is it possible to have distance and test on the same site definition go on two different servers?

    I ask is because the test server is new to me. I use to have the site put in place in a folder on my computer and the site definition was the remote server if jump between the two was quite simple. I wonder if it's possible that now, I have the site on XAMPP.

    Thank you

    When you created your site in Dreamweaver, you give it a name and set up a local site folder, right? You should not do it twice to add a remote server.

    In the Site configuration > servers, you 'll have to define a new server, however if you want to keep your test server. But this should be no conflict, because they are both pointing to the same local folder in XAMPP, right?

    If I know I'm going to need a test server, I make sure that my site folder is in my XAMPP/htdocs/folder. In this way, that I don't have to worry about having to keep track of two versions of the same site. Then when it's time to upload it to the remote server, I'm just adding a new server and checking the box "Remote".

    A site, two (Local/network and FTP servers), no conflicts.

  • ASA VPN server and vpn client router 871

    Hi all

    I have ASA 5510 as simple VPN server and 871 router as simple VPN client. I want to have the user ID and permanent password on 871 and not to re - enter username and password since 871 uses dynamic IP address and every time I have to ' cry ipsec client ezvpn xauth "and type user name and password.

    any suggestions would be much appreciated.

    Thank you

    Alex

    Do "crypto ipsec client ezvpn show ' on 871, does say:

    ...

    Save password: refused

    ...

    ezVPN server dictates the client if it can automatically connect with saved password.

    Set "enable password storage" under the group policy on the ASA.

    Kind regards

    Roman

  • Error on image from the server and display streaming

    Hi all

    Im trying to read an Image that origin of the server and displays on a screen

    Here's the code I'm using to broadcast the image.

    It is streaming on my Simulator as well as on some devices.

    But on some devices, it's not streaming and throw an exception.

    public UrlToEncodedImage(String url)
    {
    HttpConnection connection = null;
    InputStream inputStream = null;
    byte[] dataArray = null;
    
    try
    {
    connection = (HttpConnection) Connector.open(url+getConnectionString(), Connector.READ, true);
    inputStream = connection.openInputStream();
    byte[] responseData = new byte[10000];
    int length = 0;
    StringBuffer rawResponse = new StringBuffer();
    while (-1 != (length = inputStream.read(responseData)))
    {
    rawResponse.append(new String(responseData, 0, length));
    }
    int responseCode = connection.getResponseCode();
    if (responseCode != HttpConnection.HTTP_OK)
    {
    throw new IOException("HTTP response code: "+ responseCode);
    } 
    
    final String result = rawResponse.toString();
    dataArray = result.getBytes();
    }
    catch (final Exception ex)
    { }
    
    finally
    {
    try
    {
    inputStream.close();
    inputStream = null;
    connection.close();
    connection = null;
    }
    catch(Exception e){}
    } 
    
    bitmap = EncodedImage.createEncodedImage(dataArray, 0,dataArray.length);
    // this will scale your image acc. to your height and width of bitmapfield
    
    int multH;
    int multW;
    int currHeight = bitmap.getHeight();
    int currWidth = bitmap.getWidth();
    if(currHeight>350&&currWidth>350){
        bitmap=scaleToFactor(bitmap,currWidth,currHeight,Display.getWidth()-20,250);
    }
    
    }
    public EncodedImage getEncodedImage()
    {
    return bitmap;
    }
    public  EncodedImage scaleToFactor(EncodedImage encoded, int curWidth, int curHeight, int newWidth,
            int newHeight)
    {
         int numerator_width = Fixed32.toFP(curWidth);
         int denominator_width = Fixed32.toFP(newWidth);
         int scale_width = Fixed32.div(numerator_width, denominator_width);
    
         int numerator_height = Fixed32.toFP(curHeight);
         int denominator_height = Fixed32.toFP(newHeight);
         int scale_height = Fixed32.div(numerator_height, denominator_height);
    
         return encoded.scaleImage32(scale_width, scale_height);
    }
    private static String getConnectionString()
    {
        String connectionString = null;
        if(DeviceInfo.isSimulator())
        {
                if(UrlToEncodedImage.USE_MDS_IN_SIMULATOR)
                {
                       connectionString = ";deviceside=false";
                }
                else
                {
                       connectionString = ";deviceside=true";
                }
        }
        else if(WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED)
        {
           connectionString = ";interface=wifi";
        }
    
        else if((CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_DIRECT) == CoverageInfo.COVERAGE_DIRECT)
        {
            String carrierUid = getCarrierBIBSUid();
            if(carrierUid == null)
            {
             connectionString = ";deviceside=true";
            }
            else
            {
               connectionString = ";deviceside=false;connectionUID="+carrierUid + ";ConnectionType=";
            }
        }                
    
       else if((CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_MDS) == CoverageInfo.COVERAGE_MDS)
        {
          connectionString = ";deviceside=false";
        }
    
       else if(CoverageInfo.getCoverageStatus() == CoverageInfo.COVERAGE_NONE)
        {}
        else
        { connectionString = ";deviceside=true";} 
    
        return connectionString;
    }
    private static String getCarrierBIBSUid()
    {
        ServiceRecord[] records = ServiceBook.getSB().getRecords();
        int currentRecord;
    
        for(currentRecord = 0; currentRecord < records.length; currentRecord++)         {             if(records[currentRecord].getCid().toLowerCase().equals("ippp"))             {                 if(records[currentRecord].getName().toLowerCase().indexOf("bibs") >= 0)
                {
                    return records[currentRecord].getUid();
                }
            }
        }
    
        return null;
    }
    

    The underlined part of the code is where the uid is sent as public _.

    Please, look in the code and let me know where the error is, or is there a better way to disseminate the image.

    In the hope that you hear.

    Thank you & best regards

    Krishnan

    Hello

    I found the error.

    It's in the URL sent by the server.

    The URL consisted of http://google.com

    But the format required to retrieve the image on several device would be http://www.google.com.

    Thanks for anyone who tried to help him.

    Krishnan.

  • Adding host snmp-server error

    I install new software to version 8.03 running ASA5510 and using ASDM-603.

    The ASDM to add host computers using snmp-server, most of the ip addresses in the subnet works very well. However, I have two addresses that always display an error "conflict of IP address with the broadcast interface address.

    One of the addresses is 192.168.100.79 and the management of the ip interface is 192.168.100.252 with a 24 bit mask. It's weird because I can add 192.168.100.78 or 80 simply not the 79. BTW, 88 is a second, I tried and got the same error. I have several in the same subnet that works wonders.

    Someone knows what may cause this?

    Thanks in advance.

    This is bug CSCsm15806, where if you have any interface on the ASA configured with a 255.255.255.252 mask, ASDM raise an error when you try add a snmp server with an address of the host that would be a broadcast with this mask address. The interface is not serious, this is just if you have any interface with a 255.255.255.252 mask on it.

    The bug was fixed only 4 days ago so is not yet in an official statement. For now, just add the snmp via the CLI server and you will be OK, but proceed to 6.0 (4) when you see it on the website.

  • How Anyconnect VPN users will connect with cisco ASA, which uses the server (domain controller) Radius for authentication

    Hi team

    Hope you do well. !!!

    currently I am doing a project which consists in CISCO ASA-5545-X, RADIUS (domain controller) server for authentication. Here, I need to configure Anyconnect VPN and host checker in cisco asa.

    1 users will connect: user advanced browser on SSL VPN pop past username and password.

    2. (cisco ASA) authentication: VPN sends credentials to the RADIUS server.

    3 RADIUS server: authentication: receipt and SSL VPN (ASA) group.

    4 connectivity creation: If employee: PC so NAW verified compliance, no PC check Assign user to the appropriate role and give IP.

    This is my requirement, so someone please guide me how to set up step by step.

    1. how to set up the Radius Server?

    2. how to configure CISCO ASA?

    Thanks in advance.

    Hey Chick,

    Please consult the following page of installation as well as ASA Radius server. The ASA end there is frankly nothing much difference by doing this.

    http://www.4salesbyself.com/1configuring-RADIUS-authentication-for-webvp...

    Hope this helps

    Knockaert

  • Server and DRAC in the tree of devices of OME

    Hello

    We run OpenManage Essentials (OME) v2.0.1.2222 in a Windows domain. I have a Windows 2008 Server PowerEdge R420 and have added the server (only SNMP) and the DRAC (SNMP and WS - MAN) to the discovery and inventory. After a short time the two appear in the tree view of the devices. They both have the green check mark. The DRAC reports correctly with the service tag and model number, etc, but the server does not (review by n/a report model, but there is always a green check mark). I put the last OMSA (7.4.0), removed/re-added the server and DRAC of OME. The Dell troubleshooting tool (v3.4.2) does not report errors when querying the server using SNMP, or the DRAC with SNMP & WS - Man. Am I missing something?

    Thanks in advance.

    John

    I would go ahead and remove from the list which is s. o. OME must remove the old entries to avoid duplication, but it seems that it didn't in this case. I remove all erroneous entries and let him perform a discovery/inventory again. All that he is unable to inventory, try inventory manually the item via right click.

    Thank you

  • latitude longitude coordinates SQL Server and the plot on the map of the brochure

    My question is basically:

    How to transform the data from SQL Server and map by unfolding?

    TIP: We run 11 Coldfusion, SQL Server 2000, flyer and JQuery if that helps somehow. If I need to download a javascript library, I can easily do.

    I ambulance and fire events in a database with the xy coordinates. My goal is to ask them about the news and place them on a map of the brochure. All our ambulances and fire trucks have gps in them and they broadcast at all times their location and status. Here's my query to get the latest data from gps for each truck;

    /*

    SQL Server 2000

    David Kulpanowski

    June 4, 2015

    Lee County EMS

    */

    SELECT

    DateTimeStamp

    RTRIM (CallSign) AS [Guide]

    RTRIM (UnitStatus) AS [UnitStatus]

    Latitude

    Longitude

    CONVERT (VARCHAR (15), DateTimeStamp, 106) AS [CurrentDate]

    CONVERT (VARCHAR (10), DateTimeStamp, 108) AS [CurrentTime]

    OF FireEMSGPSDatabase

    RIGHT OUTER JOIN

    (

    SELECT

    RTrim (CallSign) AS [Ambulance]

    MAX (DateTimeStamp) AS [MostRecentTime]

    OF HISTORY_201506

    WHERE RTRIM (CallSign) AS "LCM__".

    RTRIM GROUP (CallSign)

    )

    LIKE [MostRecent] on DateTimeStamp = MostRecent.MostRecentTime

    ORDER BY RTRIM (CallSign) CSA

    ;

    Shown below is an example of this query output;

    Call DateTimeStamp Latitude UnitStatus Longitude CurrentDate CurrentTime

    2015-06-04 17:14:17.357 LCM01 QA 26.56428 - 81.87044 June 4, 2015 17:14:17

    2015-06-04 17:14:17.357 LCM01 QA 26.56428 - 81.87044 June 4, 2015 17:14:17

    2015-06-04 17:14:18.670 LCM02 QA 26.64074 - 81.86507 June 4, 2015 17:14:18

    2015-06-04 17:14:34.420 LCM03 AR 26.64157 - 81.90973 June 4, 2015 17:14:34

    2015-06-04 17:14:20.420 LCM04 TA 26.63885 - 81.94159 June 4, 2015 17:14:20

    2015-06-04 17:14:21.297 LCM05 QA 26.4377 - 82.07806 June 4, 2015 17:14:21

    Below is my Coldfusion page with the flyer plan added in and the cfquery with cfoutput;

    <! DOCTYPE html >

    < html lang = "en" >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    < meta name = "viewport" content = "width = device-width, original scale = 1.0" >

    " < link rel ="stylesheet"href =" http://CDN.leafletjs.com/leaflet-0.7/leaflet.CSS "/>

    " < script src =" http://CDN.leafletjs.com/leaflet-0.7.3/leaflet.js "> < / script > .

    < / head >

    < body >

    < cfquery datasource = "GPSDatabase" name = "AmbulanceLocation" >

    SELECT

    DateTimeStamp

    RTRIM (CallSign) AS [Guide]

    RTRIM (UnitStatus) AS [UnitStatus]

    Latitude

    Longitude

    CONVERT (VARCHAR (15), DateTimeStamp, 106) AS [CurrentDate]

    CONVERT (VARCHAR (10), DateTimeStamp, 108) AS [CurrentTime]

    OF FireEMSGPSDatabase

    RIGHT OUTER JOIN

    (

    SELECT

    RTrim (CallSign) AS [Ambulance]

    MAX (DateTimeStamp) AS [MostRecentTime]

    OF HISTORY_201506

    WHERE RTRIM (CallSign) AS "LCM__".

    RTRIM GROUP (CallSign)

    )

    LIKE [MostRecent] on DateTimeStamp = MostRecent.MostRecentTime

    ORDER BY RTRIM (CallSign) CSA

    < / cfquery >

    < cfoutput query = "AmbulanceLocation" >

    < table >

    < b >

    < td > #DateTimeStamp # < table >

    < td > #CallSign # < table >

    < td > #UnitStatus # < table >

    < td > #Latitude # < table >

    < td > #Longitude # < table >

    < td > #CurrentDate # < table >

    < td > #CurrentTime # < table >

    < /tr >

    < /table >

    < / cfoutput >

    < div id = ' map' > < / div >

    < script >

    var L.map = map ('plan' {Center: [26.5641867068354,-81.8704100173261], fullscreenControl: true, zoom: 12});

    L.tileLayer ('http://{s}.tile.osm.org/{z}/{x}/{y}.png').addTo(map);

    < /script >

    < / body >

    < / html >

    To sum it all up - I have a SQL Server query that retrieves the last my ambulances xy coordinates. I have a Coldfusion page that has a map of the brochure and the cfquery. My question is how to plot coordinates in a flyer plan. I can't understand the middle of the book to get the results of my query in terms of the brochure.

    In addition, it is a dynamic environment. Ambulances are constantly in motion. This page must be dynamic, so that the page can be updated to show the latest data.

    You must create the map and tile layer prior to place markers and then run your loop inside of the script tag.

    I highly recommend reading through the tutorials on the site of the brochure.  They go on these things in detail.

    Quick start - leaflet guide - a JavaScript library for the mobile environment maps

  • Impossible to connect to the smtp server and send an email using javamail.

    Hi all

    I am struggling with sending e-mail with javamail api.

    I've visited a few forums but not be able to solve the problem then post here.

    Details of the situation are:

    1 SMTP - to which we are able to connect with telnet and able to send emails that work even between the firewall.

    2 tried to disable IPV6 from my windows machine 7 after reading something - java tries to connect to smtp with IPV6 and it should be disabled so that javamail work.

    3 has tried to run the same code to a linux environment. in this environment, we are also able to connect to the smtp with telnet server and send mail

    the code I have tried is below.

    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    
    public class SendEmail
    {
    public static void main(String [] args){
    String to = "[email protected]";//change accordingly
    String from = "[email protected]";//change accordingly
    String host = "smtp.somthing.com";//or IP address
    
    //Get the session object
    Properties properties = System.getProperties();
    properties.setProperty("mail.debug", "true");
    properties.setProperty("mail.smtp.host", host);
    properties.put("mail.smtp.starttls.enable", "false");
    //properties.put("mail.smtp.port", "25"); //commented as its by default takes 25
    Session session = Session.getDefaultInstance(properties);
    
    ////compose the message
    try{
    MimeMessage message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO,new InternetAddress(to));
    message.setSubject("Ping");
    message.setText("Hello, this is example of sending email  ");
    
    // Send message
    Transport.send(message);
    System.out.println("message sent successfully....");
    
    }catch (MessagingException mex) {mex.printStackTrace();}
    }
    }
    

    I get the errors are

    DEBUG: JavaMail version 1.4.7
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG SMTP: trying to connect to host "smtp.something.com", port 25, isSSL false
    Exception in thread "main" java.lang.RuntimeException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.something.com, port: 25;
      nested exception is:
        java.net.ConnectException: Connection timed out: connect
        at emailer.SendMail.main(SendMail.java:64)
    Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.something.com, port: 25;
      nested exception is:
        java.net.ConnectException: Connection timed out: connect
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1961)
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
        at javax.mail.Service.connect(Service.java:295)
        at javax.mail.Service.connect(Service.java:176)
        at emailer.SendMail.main(SendMail.java:58)
    Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)
        at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:237)
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
        ... 4 more
    

    someone had a problem like this?

    suggestions are welcome...

    The server I used was not accessible from the telnet command or java code.
    However when I telnet to the server it was implicitly redirected to another server that I failed to notice.

    My sincere apologies to all
    I'll take more precautions before posting and check the facts in more detail.

  • Oracle FTP adapter - possibility of using the public key and the password

    Hi all

    One needs to connect to a target SFTP server using the public key and password using the Oracle's FTP adapter. Is it possible and feasible?

    I think it's usually one of them that would be used (the password or public key).

    Could someone help me with this please?

    Thank you

    Kind regards

    Nanan

    Hi all

    We checked it with Oracle and it happens that this feature is not available in the product. It is probably considered to be an improvement.

    Hope that this update would be useful at all.

    Thank you

    Kind regards

    Nanan

  • ESXi Server and the DMZ security

    Hello world

    I currently have around 5 physical web servers sitting in a demilitarized zone. My plan is to convert all these web servers to virtual machines and host them on an ESXi server.

    I would like to host the ESXi Server actually in the demilitarized zone, all the VMs on the ESXi box would be public facing anyway. Does anyone know of a good reason not to do from a security point of view.

    I guess my main concern would be the area of ESXi being threaten. Of course, I would limit the traffic through the firewall rules.

    I would like to know your opinion on this and if someone has done this before?

    Thank you very much

    Chris

    Take a look on:

    http://www.VMware.com/files/PDF/dmz_virtualization_vmware_infra_wp.PDF

  • Different output for the same query in SQL Server and Oracle

    I have two tables table1 and table2

    -table1 has two columns c1 int and varchar c2. There are no constraints added in it. It contains data as shown below

    C1 c2
    -------------------
    d 6
    5 d
    102 g
    6%
    f 103
    5.
    501 j
    1 g
    601 n
    2 m

    -table2 has only a single column c1 int. There is no added in constraints. It contains data as shown below

    C1
    ----
    6
    1
    4
    3
    2

    now when I run below, given the query in sql server and oracle it gives me different results

    Select *.
    FROM table1
    table2 on table2.c1 = table1.c1 inner join (SELECT ROW_NUMBER() (any ORDER by ASC c1) AS c1 from table2)

    output of SQL server
    ------------------------
    C1 c2 c1
    --------------------------------
    1 g 1
    2 m 2
    3 h 3
    4 g 4
    5 d 5


    release of Oracle
    ----------------------
    C1 C2 C1
    ---------------------------------
    5 d 5
    4 g 4
    3 h 3
    1 g 1
    2 m 2


    If you notice the first column in the two outputs. It is sorted in sql server and no oracle.

    Why he behaves differently in oracle? Is there a way I can fix this problem in oracle?

    Thank you
    Jigs

    It is NOT a behavior "differently" in Oracle; you did not specify just an order that you expect of your results, so you'll get output in what order the fantasies of the database showing (ie. no guaranteed order). It is an artifact of the way the database chooses to collect the data and databases (or same sets of data within the same database) can and will most likely behave differently.

    Same SQL Server will not be guaranteed to always get your data in an orderly manner if you exclude the order by clause, even if you think that there always display the data in an orderly manner.

    Your solution is to add an order by clause, in the TWO databases, to force the order of the data output.

  • My 5s iphone suddenly showed no service, then I made an attempt to update to ios and itunes connected, now iphone is not enable and display cannot connect to the server and in itunes it shows unable to check your device.please help me

    My 5s iphone suddenly showed no service, then I made an attempt to update to ios and itunes connected, now iphone is not enable and display cannot connect to the server and in itunes it shows unable to check your device.please help me

    Assuming that you have a valid SIM card in the phone, it is more often symptomatic of a phone that has been hacked or jailbroken to unlock.

    Where do you have the phone first?

  • Problem with El Captain (5.1.7 server) and the management of permissions

    Hello world

    I have a big problem with our Mac Mini Server (El Captain) and the server program.

    In recent weeks, the server didn't give the permissions of a folder.

    for example:

    Mr. X had permission to read and write to a folder.
    Mr Y too.

    Mr. X has create a new folder one record something in it.

    Mr Y had the permission to read or write to the folder create Mr. x. But he should have.

    Or

    Mr. X has save a file to a folder

    When he opens it again it is write protected and cannot be replaced.

    So you have to save under a different name in the same folder.

    And every time he save/close the file.

    Anyone know what could be the problem?

    Thank you

    Greetings from the Germany

    Chris

    My guess:

    A few weeks ago someone messed with the permissions on your server and made a mistake. So, you got an inappropriate list ACL (Access Control), which is rampant in the file and must be removed or fixed.

    http://www.TechRepublic.com/blog/Apple-in-the-enterprise/introduction-to-OS-x-AC cess-control-lists-ACL.

    C.

Maybe you are looking for

  • USB ports on the side of the w2207h monitor

    I plugged in the USB ports on the side of my w2207h monitor, but I get an error message saying that the USB device has malfunctioned and it is not recognized by Windows whenever I start my computer.  Is it possible to get the USB ports on the side of

  • Program are deleted. It is not on the Add/Remove list, but there are always

    I tried to uninstall Real Player, because this error message about library being corrupted and Real need to reboot, makes me crazy Went to add/remove programs and received a message that the program cannot be deleted. Presented me with a message "do

  • Can I install an ssd m2 in a VN7 Aspire 591 G (Nitro)?

    Canadian who do not come with SSD, but I would like to install an and I wonder if its possible. If so, what size should it be?

  • HP Pavilion 22xi

    Hello This monitor has a very grainy image, its connected to an iMac 2010, ive tried every possible Dvi Hdmi and Dvi/Hdmi and Vga connection but nothing seems to work. Display nice when lots of theres colours present but very noticeable when there is

  • (0 x 40000015) at the location 0x002cf9bd

    Original title: (0 x 40000015) at location 0x002cf9bd,. This error came a couple of days, please help, I have a hp touchsmart 320, every start he says code error (0 x 40000015) at the location 0x002cf9bd,.