Ping from subinterface Announcing the arrival of Valued Associate #679: Cesar Manara ...

Is CEO the "profession" with the most psychopaths?

How to compare two different files line by line in unix?

AppleTVs create a chatty alternate WiFi network

What's the point of the test set?

The Nth Gryphon Number

What are the discoveries that have been possible with the rejection of positivism?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Dyck paths with extra diagonals from valleys (Laser construction)

How to write capital alpha?

How does the math work when buying airline miles?

Lagrange four-squares theorem --- deterministic complexity

Is multiple magic items in one inherently imbalanced?

Sliceness of knots

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

Why are my pictures showing a dark band on one edge?

preposition before coffee

How does light 'choose' between wave and particle behaviour?

A term for a woman complaining about things/begging in a cute/childish way

Deconstruction is ambiguous

What does 丫 mean? 丫是什么意思?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Why are vacuum tubes still used in amateur radios?

An adverb for when you're not exaggerating

How many morphisms from 1 to 1+1 can there be?



Ping from subinterface



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)Cannot ping localhost after a half day of uptimeStateless auto configuration IPv6 in ubuntu 12.04Ubuntu 14.04 - Network problems (wireless and DNS)Ubuntu 14.04 Server Install Unable to Connect to Network via EthernetI can SSH into the server remotely but the ubuntu 14.04 cannot ping the internetNetwork Issues ubuntu serverManual network IP leads to spotty connectionSending packets between interfaces using pingCan't connect internet 16.04 and ping doesn't workUbuntu 14.0 VM (VirtualBox) on Windows 7 host not connecting to internet





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have interface eth0:0



auto eth0:0 iface eth0:0 inet static
address 192.168.2.96
netmask 255.255.255.0
gateway 192.168.2.1


and I try this:



ping -I eth0:0 8.8.8.8


and I get this



ping: SO_BINDTODEVICE: Invalid argument


If I try to ping from eth0 everything is OK. I am using ubuntu 14.04. How to fix it ?










share|improve this question





























    1















    I have interface eth0:0



    auto eth0:0 iface eth0:0 inet static
    address 192.168.2.96
    netmask 255.255.255.0
    gateway 192.168.2.1


    and I try this:



    ping -I eth0:0 8.8.8.8


    and I get this



    ping: SO_BINDTODEVICE: Invalid argument


    If I try to ping from eth0 everything is OK. I am using ubuntu 14.04. How to fix it ?










    share|improve this question

























      1












      1








      1








      I have interface eth0:0



      auto eth0:0 iface eth0:0 inet static
      address 192.168.2.96
      netmask 255.255.255.0
      gateway 192.168.2.1


      and I try this:



      ping -I eth0:0 8.8.8.8


      and I get this



      ping: SO_BINDTODEVICE: Invalid argument


      If I try to ping from eth0 everything is OK. I am using ubuntu 14.04. How to fix it ?










      share|improve this question














      I have interface eth0:0



      auto eth0:0 iface eth0:0 inet static
      address 192.168.2.96
      netmask 255.255.255.0
      gateway 192.168.2.1


      and I try this:



      ping -I eth0:0 8.8.8.8


      and I get this



      ping: SO_BINDTODEVICE: Invalid argument


      If I try to ping from eth0 everything is OK. I am using ubuntu 14.04. How to fix it ?







      14.04 ping






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 20 '16 at 14:27









      IvanIvan

      61




      61






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The eth0:0 seems to be an alias interface for eth0. That's why not able to interface from alias name. Kindly assign an individual(either virtual or physical ) interface.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f789340%2fping-from-subinterface%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The eth0:0 seems to be an alias interface for eth0. That's why not able to interface from alias name. Kindly assign an individual(either virtual or physical ) interface.






            share|improve this answer




























              0














              The eth0:0 seems to be an alias interface for eth0. That's why not able to interface from alias name. Kindly assign an individual(either virtual or physical ) interface.






              share|improve this answer


























                0












                0








                0







                The eth0:0 seems to be an alias interface for eth0. That's why not able to interface from alias name. Kindly assign an individual(either virtual or physical ) interface.






                share|improve this answer













                The eth0:0 seems to be an alias interface for eth0. That's why not able to interface from alias name. Kindly assign an individual(either virtual or physical ) interface.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 1 hour ago









                linux.cnflinux.cnf

                214




                214






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f789340%2fping-from-subinterface%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

                    Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...

                    List of shipwrecks in 1808...