Disable Internet Access on Eth0

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















I have a Raspberry with eth0 (192.168.02 / static) connected to a router (Fritz Box @ 192.168.0.1). The Router has internet connection. The Raspberry has a mobile usb stick with ppp connect to the internet. Actually if ppp is not connected the internet access from the Raspberry is through the Router over eth0. If ppp is connected the internet access is via ppp. if i del the default route for eth0 there is no internet connection if ppp is not connected and if ppp is connected internet connection is through ppp. so far everything fine. but if restart the raspberry it again has internet connection through eth0. But i only want to allow the raspberry internet connection only via ppp. eth0 just for internal communication like ssh. any ideas how to configure that?



/etc/network/interfaces looks like:
source-directory /etc/network/interfaces.d

auto lo

iface lo inet loopback



auto eth0

iface eth0 inet static

address 192.168.178.2

netmask 255.255.255.0



allow-hotplug wlan0

iface wlan0 inet manual

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf



allow-hotplug wlan1

iface wlan1 inet manual

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf










share|improve this question




























    0















    I have a Raspberry with eth0 (192.168.02 / static) connected to a router (Fritz Box @ 192.168.0.1). The Router has internet connection. The Raspberry has a mobile usb stick with ppp connect to the internet. Actually if ppp is not connected the internet access from the Raspberry is through the Router over eth0. If ppp is connected the internet access is via ppp. if i del the default route for eth0 there is no internet connection if ppp is not connected and if ppp is connected internet connection is through ppp. so far everything fine. but if restart the raspberry it again has internet connection through eth0. But i only want to allow the raspberry internet connection only via ppp. eth0 just for internal communication like ssh. any ideas how to configure that?



    /etc/network/interfaces looks like:
    source-directory /etc/network/interfaces.d

    auto lo

    iface lo inet loopback



    auto eth0

    iface eth0 inet static

    address 192.168.178.2

    netmask 255.255.255.0



    allow-hotplug wlan0

    iface wlan0 inet manual

    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf



    allow-hotplug wlan1

    iface wlan1 inet manual

    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf










    share|improve this question


























      0












      0








      0








      I have a Raspberry with eth0 (192.168.02 / static) connected to a router (Fritz Box @ 192.168.0.1). The Router has internet connection. The Raspberry has a mobile usb stick with ppp connect to the internet. Actually if ppp is not connected the internet access from the Raspberry is through the Router over eth0. If ppp is connected the internet access is via ppp. if i del the default route for eth0 there is no internet connection if ppp is not connected and if ppp is connected internet connection is through ppp. so far everything fine. but if restart the raspberry it again has internet connection through eth0. But i only want to allow the raspberry internet connection only via ppp. eth0 just for internal communication like ssh. any ideas how to configure that?



      /etc/network/interfaces looks like:
      source-directory /etc/network/interfaces.d

      auto lo

      iface lo inet loopback



      auto eth0

      iface eth0 inet static

      address 192.168.178.2

      netmask 255.255.255.0



      allow-hotplug wlan0

      iface wlan0 inet manual

      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf



      allow-hotplug wlan1

      iface wlan1 inet manual

      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf










      share|improve this question
















      I have a Raspberry with eth0 (192.168.02 / static) connected to a router (Fritz Box @ 192.168.0.1). The Router has internet connection. The Raspberry has a mobile usb stick with ppp connect to the internet. Actually if ppp is not connected the internet access from the Raspberry is through the Router over eth0. If ppp is connected the internet access is via ppp. if i del the default route for eth0 there is no internet connection if ppp is not connected and if ppp is connected internet connection is through ppp. so far everything fine. but if restart the raspberry it again has internet connection through eth0. But i only want to allow the raspberry internet connection only via ppp. eth0 just for internal communication like ssh. any ideas how to configure that?



      /etc/network/interfaces looks like:
      source-directory /etc/network/interfaces.d

      auto lo

      iface lo inet loopback



      auto eth0

      iface eth0 inet static

      address 192.168.178.2

      netmask 255.255.255.0



      allow-hotplug wlan0

      iface wlan0 inet manual

      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf



      allow-hotplug wlan1

      iface wlan1 inet manual

      wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf







      networking network-interface dhcp






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 15 at 14:58







      swapfile

















      asked Feb 15 at 13:52









      swapfileswapfile

      11




      11




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Sounds like you want to get rid of a static route. Check your /etc/network/interfaces file for any route configuration. Comment these lines (add a # at the beginning of the line), save the file, reboot, and try again.
          But your Pi is more than likely getting this info via DHCP, I would suggest configuring the interface with static details (and without a route).






          share|improve this answer























          • i get rid of the static routes. still have internet via eth0 after reboot. updated the question with /etc/network/interface content

            – swapfile
            Feb 15 at 14:31


















          0














          If you don't want the Raspberry to have an connection when PPP is disconnected, remove the gateway from your network configurations. Probably you're using the file /etc/network/interfaces, so open it on a text editor and change it from



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          gateway 192.168.0.1


          to



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          #gateway 192.168.0.1


          You'll still able to access the raspberry on local network (192.168.0.0/24) but it won't have an internet connection if PPP is down.






          share|improve this answer























          • thanks. i tried that.. but internet is still available in eth0. /etc/network/interfaces looks like: # Ethernet auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.178.2 netmask 255.255.255.0 #gateway 192.168.178.1 #dns-nameservers 192.168.178.1

            – swapfile
            Feb 15 at 14:18












          • Did you rebooted after changing the file? What is the output of " route -n"

            – JucaPirama
            Feb 15 at 14:27











          • yep, output is: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 202 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 if ppp not connected.

            – swapfile
            Feb 15 at 14:28












          • if ppp is connected its: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

            – swapfile
            Feb 15 at 14:29











          • but when i do: route del default route -n is still Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 but ping google over eth0 doesnt work.

            – swapfile
            Feb 15 at 14:57










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f500873%2fdisable-internet-access-on-eth0%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Sounds like you want to get rid of a static route. Check your /etc/network/interfaces file for any route configuration. Comment these lines (add a # at the beginning of the line), save the file, reboot, and try again.
          But your Pi is more than likely getting this info via DHCP, I would suggest configuring the interface with static details (and without a route).






          share|improve this answer























          • i get rid of the static routes. still have internet via eth0 after reboot. updated the question with /etc/network/interface content

            – swapfile
            Feb 15 at 14:31















          0














          Sounds like you want to get rid of a static route. Check your /etc/network/interfaces file for any route configuration. Comment these lines (add a # at the beginning of the line), save the file, reboot, and try again.
          But your Pi is more than likely getting this info via DHCP, I would suggest configuring the interface with static details (and without a route).






          share|improve this answer























          • i get rid of the static routes. still have internet via eth0 after reboot. updated the question with /etc/network/interface content

            – swapfile
            Feb 15 at 14:31













          0












          0








          0







          Sounds like you want to get rid of a static route. Check your /etc/network/interfaces file for any route configuration. Comment these lines (add a # at the beginning of the line), save the file, reboot, and try again.
          But your Pi is more than likely getting this info via DHCP, I would suggest configuring the interface with static details (and without a route).






          share|improve this answer













          Sounds like you want to get rid of a static route. Check your /etc/network/interfaces file for any route configuration. Comment these lines (add a # at the beginning of the line), save the file, reboot, and try again.
          But your Pi is more than likely getting this info via DHCP, I would suggest configuring the interface with static details (and without a route).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 15 at 14:08









          relevantRoperelevantRope

          162




          162












          • i get rid of the static routes. still have internet via eth0 after reboot. updated the question with /etc/network/interface content

            – swapfile
            Feb 15 at 14:31

















          • i get rid of the static routes. still have internet via eth0 after reboot. updated the question with /etc/network/interface content

            – swapfile
            Feb 15 at 14:31
















          i get rid of the static routes. still have internet via eth0 after reboot. updated the question with /etc/network/interface content

          – swapfile
          Feb 15 at 14:31





          i get rid of the static routes. still have internet via eth0 after reboot. updated the question with /etc/network/interface content

          – swapfile
          Feb 15 at 14:31













          0














          If you don't want the Raspberry to have an connection when PPP is disconnected, remove the gateway from your network configurations. Probably you're using the file /etc/network/interfaces, so open it on a text editor and change it from



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          gateway 192.168.0.1


          to



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          #gateway 192.168.0.1


          You'll still able to access the raspberry on local network (192.168.0.0/24) but it won't have an internet connection if PPP is down.






          share|improve this answer























          • thanks. i tried that.. but internet is still available in eth0. /etc/network/interfaces looks like: # Ethernet auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.178.2 netmask 255.255.255.0 #gateway 192.168.178.1 #dns-nameservers 192.168.178.1

            – swapfile
            Feb 15 at 14:18












          • Did you rebooted after changing the file? What is the output of " route -n"

            – JucaPirama
            Feb 15 at 14:27











          • yep, output is: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 202 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 if ppp not connected.

            – swapfile
            Feb 15 at 14:28












          • if ppp is connected its: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

            – swapfile
            Feb 15 at 14:29











          • but when i do: route del default route -n is still Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 but ping google over eth0 doesnt work.

            – swapfile
            Feb 15 at 14:57















          0














          If you don't want the Raspberry to have an connection when PPP is disconnected, remove the gateway from your network configurations. Probably you're using the file /etc/network/interfaces, so open it on a text editor and change it from



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          gateway 192.168.0.1


          to



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          #gateway 192.168.0.1


          You'll still able to access the raspberry on local network (192.168.0.0/24) but it won't have an internet connection if PPP is down.






          share|improve this answer























          • thanks. i tried that.. but internet is still available in eth0. /etc/network/interfaces looks like: # Ethernet auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.178.2 netmask 255.255.255.0 #gateway 192.168.178.1 #dns-nameservers 192.168.178.1

            – swapfile
            Feb 15 at 14:18












          • Did you rebooted after changing the file? What is the output of " route -n"

            – JucaPirama
            Feb 15 at 14:27











          • yep, output is: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 202 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 if ppp not connected.

            – swapfile
            Feb 15 at 14:28












          • if ppp is connected its: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

            – swapfile
            Feb 15 at 14:29











          • but when i do: route del default route -n is still Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 but ping google over eth0 doesnt work.

            – swapfile
            Feb 15 at 14:57













          0












          0








          0







          If you don't want the Raspberry to have an connection when PPP is disconnected, remove the gateway from your network configurations. Probably you're using the file /etc/network/interfaces, so open it on a text editor and change it from



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          gateway 192.168.0.1


          to



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          #gateway 192.168.0.1


          You'll still able to access the raspberry on local network (192.168.0.0/24) but it won't have an internet connection if PPP is down.






          share|improve this answer













          If you don't want the Raspberry to have an connection when PPP is disconnected, remove the gateway from your network configurations. Probably you're using the file /etc/network/interfaces, so open it on a text editor and change it from



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          gateway 192.168.0.1


          to



          auto eth0
          inet iface eth0 static
          address 192.168.0.1
          netmask 255.255.255.0
          #gateway 192.168.0.1


          You'll still able to access the raspberry on local network (192.168.0.0/24) but it won't have an internet connection if PPP is down.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 15 at 14:08









          JucaPiramaJucaPirama

          215




          215












          • thanks. i tried that.. but internet is still available in eth0. /etc/network/interfaces looks like: # Ethernet auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.178.2 netmask 255.255.255.0 #gateway 192.168.178.1 #dns-nameservers 192.168.178.1

            – swapfile
            Feb 15 at 14:18












          • Did you rebooted after changing the file? What is the output of " route -n"

            – JucaPirama
            Feb 15 at 14:27











          • yep, output is: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 202 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 if ppp not connected.

            – swapfile
            Feb 15 at 14:28












          • if ppp is connected its: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

            – swapfile
            Feb 15 at 14:29











          • but when i do: route del default route -n is still Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 but ping google over eth0 doesnt work.

            – swapfile
            Feb 15 at 14:57

















          • thanks. i tried that.. but internet is still available in eth0. /etc/network/interfaces looks like: # Ethernet auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.178.2 netmask 255.255.255.0 #gateway 192.168.178.1 #dns-nameservers 192.168.178.1

            – swapfile
            Feb 15 at 14:18












          • Did you rebooted after changing the file? What is the output of " route -n"

            – JucaPirama
            Feb 15 at 14:27











          • yep, output is: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 202 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 if ppp not connected.

            – swapfile
            Feb 15 at 14:28












          • if ppp is connected its: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

            – swapfile
            Feb 15 at 14:29











          • but when i do: route del default route -n is still Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 but ping google over eth0 doesnt work.

            – swapfile
            Feb 15 at 14:57
















          thanks. i tried that.. but internet is still available in eth0. /etc/network/interfaces looks like: # Ethernet auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.178.2 netmask 255.255.255.0 #gateway 192.168.178.1 #dns-nameservers 192.168.178.1

          – swapfile
          Feb 15 at 14:18






          thanks. i tried that.. but internet is still available in eth0. /etc/network/interfaces looks like: # Ethernet auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.178.2 netmask 255.255.255.0 #gateway 192.168.178.1 #dns-nameservers 192.168.178.1

          – swapfile
          Feb 15 at 14:18














          Did you rebooted after changing the file? What is the output of " route -n"

          – JucaPirama
          Feb 15 at 14:27





          Did you rebooted after changing the file? What is the output of " route -n"

          – JucaPirama
          Feb 15 at 14:27













          yep, output is: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 202 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 if ppp not connected.

          – swapfile
          Feb 15 at 14:28






          yep, output is: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 202 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 if ppp not connected.

          – swapfile
          Feb 15 at 14:28














          if ppp is connected its: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

          – swapfile
          Feb 15 at 14:29





          if ppp is connected its: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0

          – swapfile
          Feb 15 at 14:29













          but when i do: route del default route -n is still Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 but ping google over eth0 doesnt work.

          – swapfile
          Feb 15 at 14:57





          but when i do: route del default route -n is still Destination Gateway Genmask Flags Metric Ref Use Iface 169.254.0.0 0.0.0.0 255.255.0.0 U 304 0 0 wwan0 192.168.178.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 but ping google over eth0 doesnt work.

          – swapfile
          Feb 15 at 14:57

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f500873%2fdisable-internet-access-on-eth0%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

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)