Re: f22: how to change default gateway via line command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/11/2015 01:18 PM, Dario Lesca wrote:
Il giorno gio, 11/06/2015 alle 10.00 -0700, Rick Stevens ha scritto:
Not sure about this, but you could try the "Automatic (DHCP)" option
under the IPV4 settings, then click "Routes..." and add a route with
address 0.0.0.0, netmask 0.0.0.0, gateway of your choosing and a
metric of 1. Also make sure the "Ignore automatically obtained
routes" checkbox is ticked. I believe that now becomes your default
gateway.

I have try this approach, but do not work.
If I put the IP 0.0.0.0 or NM 0.0.0.0 the Apply button is disable.
Whether if I use gnome config panel or nm-connection-editor.

It seems strange, but both of these panels do not provide the
possibility of combining DHCP + DNS and a specific GW

Try using the "Automatic (DHCP) Address Only" option. I've never done
it, but it may work. Keep in mind that you're using DHCP, 95% of the
time you WANT an IP, gateway and DNS servers.

You're trying to do something that NM really wasn't designed to do. If
you're doing this sort of experiment, then turn NM off and configure
the stuff manually or use the old-school networking stuff (bugger up
the stuff in /etc/sysconfig/networking and "systemctl stop
NetworkManger;systemctl start networking").
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-      Do you know how to save five drowning lawyers?  No?  GOOD!    -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux