Bug 1002775
Summary: | Cannot add default route in nm-connection-editor | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Roskin <plroskin> |
Component: | network-manager-applet | Assignee: | Dan Williams <dcbw> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | alibek.a, dcbw, jklimes |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-30 08:48:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pavel Roskin
2013-08-30 00:43:16 UTC
You can't configure default route and you don't have to because NM manages it itself. You can have multiple connections active and NM sets the default route for a preferred connection automatically. You can mark connections so that they can never be default ones. See https://bugzilla.gnome.org/show_bug.cgi?id=687423 How do I have two connections active? If I select "Ethernet connection 2" in nm-applet, I get disconnected from "Ethernet connection 1". I want two addresses on the same interface without using VLAN. I have a solution now. The default gateway is mislabeled as simply gateway on the "IPv4 settings" tab. So, if I want to have a default gateway, I should enter is as the gateway for the subnet it is on. The default gateway could not be saved because nm-connection-editor assumed that I wanted to create a _local_ subnet with the address 0.0.0.0. It is possible to have multiple addresses for the interface, which covers my needs completely. However, it is not possible to have several Ethernet connections for one physical interface to be active at the same time. At least the GUI doesn't allow that. So, what we have is a bug in nm-connection-editor. Confusing gateway and default gateway is a big deal. This is a bug, becouse UI not allow legal function: nmcli con modify eth0.200 ipv4.routes "0.0.0.0/0 10.200.0.1" In this case have network with LAN with dhcp-address-only and VLAN (0.200) without dhcp, need set default route for VLAN. Nm-connection-editor not allow this, unlike nm-cli. |