routing – Windows Server ignoring directly connected networks to send traffic? How to fix?

Here’s a network diagram:

enter image description here

I have an isolated sandbox network, and connected to it is a jump server that’s got 2 NICs in it. One NIC in the jump server is connected to the isolated sandbox network (“Fake192”), the other NIC is connected to a general use network (“Gen16”) that’s reachable from the rest of my company network and also has internet access. The jump server is NOT configured to be a router. It has a default gateway of 10.0.16.1 (actually serviced by 10.0.16.2 because HSRP) configured on the “Gen16” connected NIC, and no default gateway configured on the “Fake192” NIC.

The cloned servers on the “Fake192” network are configured to have a default gateway of 192.168.2.1, but I have purposefully NOT attached a router with that address on the “Fake192” network. If either of the cloned servers want to talk to anything not on the directly connected network, they’re out of luck, by design.

Additionally, there is a Real Production Network ™ that is also configured as 192.168.2.0/23 (“Real192”). Servers on that network have a default gateway of 192.168.2.1 (which is a router that exists) and are reachable from the rest of the company network, and they can see the internet.

Since the jump server has 2 directly connected networks and one default gateway, I would expect it to send traffic destined for 192.168.2.0/23 out of the 192.168.2.10 interface, and any other traffic out the 10.0.16.101 interface.

If I’m sitting on the jump server and I try to connect to hosts in the sandbox network, the jump server will send traffic out the 192.168.2.10 NIC to “Server D1 Clone” and “Server D2 Clone” on “Fake192”, which is as expected.

If I try to connect to 192.168.2.12 from the jump server, I would EXPECT it to fail, as there is not a clone of Server P on the “Fake192” sandbox network.

The behavior that I OBESERVE is that the sandbox will connect to the REAL Server P on “Real192”. EVEN THOUGH the jump server has a directly connected 192.168.2.0/23 network, it will send traffic destined for 192.168.2.12 to the default gateway on the “Gen16” network, and that router will then dutifully route it to “Real192”

Here’s the routing table from the jump server:

enter image description here

And here are a couple traceroutes from the jump server:

enter image description here

So… what the heck is happening here? Why is Windows insisting on sending traffic for a directly connected network to a default gateway?

oracle grid control – How to send alert while using Python with GridDB Cluster


Your privacy


By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




send commands programmatically to a VPS

I have created a snapshot on digital ocean with a NodeJs app files and I want to create new vps with the same snapshots. However, i have to … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1843568&goto=newpost

How to send ctrl-d in Expect/Tcl?

The following hangs (ctrl-d is not sent).

expect {
  default {
    puts $failed
    exit 1
  }
  -re {Type secret and press enter, then ctrl-d} {
    send "$secretnx04"
  }
}

Send email to multiple users without having to enter them one by one?

Using Gmail, how can you send an email to several contacts without having to enter their emails one by one?

I cannot seem to figure out an easy way to do this.

stored procedures – SQL Server Management Send Mail as Part of a Job

I have a SQL Job that I would like to send an email through, but for some reason I can’t get any details on why the email is not sending. This code works as expected when executed in the query window, and SQL Server Agent will also send error emails to me, so my email profile seems to be set up correctly. The code:

BEGIN
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'MailProfile',
@recipients = 'myaccount@emailcom',
@subject = 'Bad Data Report',
@query = N' USE Database;
   DECLARE @yesterday date = getdate() - 1;  select * from Timecards WHERE Date = @yesterday AND (DailyHours > 24.1 OR DailyHours < 0 ) ',
@exclude_query_output = 1,
@attach_query_result_as_file = 1,
@query_result_header = 1,
@query_attachment_filename = 'BadDataQuery.txt'
END

Following some advice from similar issues on this site, I tried looking through sysmail_allitems and sysmail_faileditems, but neither log any attempts to send. I also created a stored procedure that I had the job call as a roundabout way to send the email, but that also did not send an email nor leave an error. Any ideas what might be going on?

Bitcoin.com wallet fails to import and send btc

I have an old Bitcoin wallet since 2017 and never updated it. I have BTC on it and I have the 12 words code. I tried to send btc from my wallet and it does not allow me to change the participant address to something other than my wallet and I don’t know what meant by my wallet in the participant address. It only allows me to send Bitcoin cash from my wallet which is zero in my case. I also trie to import my wallet on my phone app and it always results with fail on the Bitcoin.com app.
Any help would be appreciated 😭

magento2 – Magento 2 how to send information from Knockout Js to Js component?

I’m trying to send an array of data from a Knockout Js component to a JS file so I can do an ajax request there.

Here is what I’m doing:

phtml:

<div class="container">
  <div class="notification">
    <div id="portability-conversion" data-bind="scope:'portabilityconversion'">
    <!-- ko template: getTemplate() --><!-- /ko -->
    <script type="text/x-magento-init">
    {
        "#portability-conversion": {
            "Magento_Ui/js/core/app": {
               "components": {
                    "portabilityconversion": {
                        "component": "Vendor_GetQuote/js/quote",
                        "quote_data": <?php /* @escapeNotVerified */ echo $data ?>,
                        "employee_quote": <?php /* @escapeNotVerified */ echo $employee ?>
                    }
                }
            }
        }
    }
    </script>
    </div>
  </div>
      <div class="buttons">
        <button class="button is-link common-place-order" style="margin:auto">Add to Cart</button>
      </div>
</div>

<script type="text/x-magento-init">
    {
        "*": {
            "Magento_Ui/js/core/app": {
               "components": {
                    "ajaxrequest": {
                        "component": "Vendor_GetQuote/js/ajax-request"
                    }
                }
            }
        }
    }
  </script>

On quote.js I work with data dinamically, so I can update and push this data to an observable array called data.

define(('jquery', 'uiComponent', 'ko'), function ($, Component, ko) {
    'use strict';
    return Component.extend({
        defaults: {
            template: 'Transom_GetQuote/portability',
            template2: 'Transom_GetQuote/conversion-life',
            data:  ko.observableArray(()),
            employee:  ko.observableArray(())
        },
        
        initialize: function () {
            this._super();
            this.employee.push({
                EMP_NOM:this.employee_quote.EMP_NOM,
                EE_basic_amount_original:this.employee_quote.EE_basic_amount_original,
                EE_basic_amount:this.employee_quote.EE_basic_amount,
                EE_supp_amount:this.employee_quote.EE_supp_amount,
                EE_supp_amount_original:this.employee_quote.EE_supp_amount_original,

            })
            console.log(this.quote_data);
            console.log(this.employee_quote);
            var coverageData = function (name, value){
                this.Name = name;
                this.Value   = value;
            };

            this.coverages = ko.observableArray((
                new coverageData("100%",1),
                new coverageData("75%",0.75),
                new coverageData("50%",0.50),
            ));
    
            this.child_basic_coverage = ko.observable();
            this.child_supp_coverage = ko.observable();
            this.employee_basic_coverage = ko.observable();
            this.employee_supp_coverage = ko.observable();

            var self = this;
            self.basicChange = function() {
                if (typeof this.EMP_NOM !== 'undefined') {
                    this.EE_basic_amount = this.EE_basic_amount_original*self.employee_basic_coverage();
                    self.employee(());
                    self.employee(this);
                }
                else if(typeof this.SP_FIRST_NAME !== 'undefined'){
                    alert("It's an Spouse");
                }
                else if(typeof this.child_FIRST_NAME !== 'undefined'){
                    alert("It's a Children");
                }
            }

            self.suppChange = function() {
                if (typeof this.EMP_NOM !== 'undefined') {
                    this.EE_supp_amount = this.EE_supp_amount_original*self.employee_supp_coverage();
                    self.employee(());
                    self.employee(this);
                }
                else if(typeof this.SP_FIRST_NAME !== 'undefined'){
                    alert("It's an Spouse SUPP");
                }
                else if(typeof this.child_FIRST_NAME !== 'undefined'){
                    alert("It's a Children SUPP");
                }
            }

            // this.children = ko.observableArray(());
            this.displayChildrenTable = ko.observable(false);
            // this.spouse = ko.observableArray(());
             this.loadChildren(this.quote_data(0).childs) == true ? this.displayChildrenTable(true) : this.displayChildrenTable(false);
        
        },

        loadChildren: function (children_data) {
            if(children_data.length > 0){
                for(var i = 0; i < children_data.length; i++){
                    this.data.push(children_data(i));
                }
                return true;
            }
            else{
                return false;
            }
        },
        
        getChildren: function () {
            return this.quote_data(0).childs;
        },

        getSpouse: function () {
            return this.quote_data(0).wife;
        },

        getEmployee: function () {
            return this.employee;
        }
    });
}
);

Finally on ajax-request.js I wan’t to get the property data.

define(
(
‘jquery’,
‘ko’,
‘uiComponent’,
‘Vendor_GetQuote/js/quote’
),
function(
$,
ko,
Component,
portconv
) {
‘use strict’;

    $(document).on('click', '.common-place-order', function (event) {
        var data = portconv.call().data; //here quote.js component is loaded
        console.log(data);
    });
}

);

Result:

Error, because knockout js quote.js is trying to load everything from the beginning, all data. So logically it’s null because I’m not sending that data again to that component.

I don’t know how to deal with this, I’m not very skilled on Magento frontend. I was thinking in not creating a knockout js, but just functions for returning data, however it will be the same result, because data is empty.

Greetings!

magento2 – Magento 2 How to send data from one html template to another?

I’m developing 2 forms with knockout js and html template. This 2 forms templates need to be separated, however they share data in common, for example, coverages amounts (this templates are about insurances).

So I have my structure like this:

templates
 -portability.html
 -conversion.html
js
 -quote.js

The problem is that I feel that mixing methods of this 2 separated products in a single js file like quote.js will be a mess, because there will be methods applying just for portability.html and other methods applying just for conversion.html.

My idea:

Separate this methods in 2 different js, like portability.js and conversion.js

My problem:

I don’t see how to send data from portability.js to conversion.js and vice versa.

This is how my phtml will look like when I get this 2 different js files communicated:

 <div id="custom-component" data-bind="scope:'customcomponent'">
        <!-- ko template: getTemplate() --><!-- /ko -->
        <script type="text/x-magento-init">
        {
            "#custom-component": {
                "Magento_Ui/js/core/app": {
                   "components": {
                        "customcomponent": {
                            "component": "Vendor_GetQuote/js/portability",
                            "basic_amount": "<?= /* @escapeNotVerified */ $ee_basic_amount_original ?>",
                            "supp_amount": "<?= /* @escapeNotVerified */ $ee_supp_amount_original ?>",
                        }
                    }
                }
            }
        }
        </script>
        </div>

<div id="custom-component" data-bind="scope:'customcomponent'">
    <!-- ko template: getTemplate() --><!-- /ko -->
    <script type="text/x-magento-init">
    {
        "#custom-component2": {
            "Magento_Ui/js/core/app": {
               "components": {
                    "customcomponent2": {
                        "component2": "Vendor_GetQuote/js/conversion",
                        "basic_amount": "<?= /* @escapeNotVerified */ $ee_basic_amount_original ?>",
                        "supp_amount": "<?= /* @escapeNotVerified */ $ee_supp_amount_original ?>",
                    }
                }
            }
        }
    }
    </script>
    </div>

Greetings!

I want to clear data on whatsapp to recover my messages but i lost the number would whatsapp send a message to the umber?


Your privacy


By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.