Announcement

Collapse
No announcement yet.

Unable to set the default gateway.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to set the default gateway.

    Hi All,

    I am unable to set the default gateway from K Menu=>System Settings=>Network Settings.

    After setting the gateway from the Network Settings, I am unable to ping to the gateways.

    Also when I tried route -n, it shows a route entry in which the gateway is 0.0.0.0.

    So the workaround as of now is that I am setting a default gateway everytime I boot into the system. To set the default gateway, do the following
    route add default gw <gateway ip address>

    #2
    Re: Unable to set the default gateway.

    Hi,

    You should do like this :
    kdesu kate /etc/network/interfaces
    Add under the iface line corresponding the interface you want to change :
    gateway <gateway ip>

    Save it and type in konsole :
    sudo ifdown <your interface>
    sudo ifup <your interface>

    Hope it helped.

    Comment


      #3
      Re: Unable to set the default gateway.

      Thanks sky! I jad the exact same bug and it is now permanently fixed thanks to you!
      _____________
      Kubuntu rocks!

      Comment


        #4
        Re: Unable to set the default gateway.

        I'm glad that it helped I was not 100% sure of this line :P

        Cheers

        Comment

        Working...
        X