Re: How to configure a DHCP + (2nd) Static address (eg on eth0+eth0:0)?
- From: "Derek Atkins" <derek ihtfp com>
- To: "Dan Williams" <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: How to configure a DHCP + (2nd) Static address (eg on eth0+eth0:0)?
- Date: Thu, 1 Oct 2015 16:17:03 -0400
Hi,
Upgrading to NM 1.0.6 seems to have fixed the issue.
Sorry for the noise.
I suppose I should have checked to make sure I was at the current version
first.
-derek
On Thu, October 1, 2015 3:30 pm, Derek Atkins wrote:
Hi,
On Thu, October 1, 2015 2:51 pm, Dan Williams wrote:
On Thu, 2015-10-01 at 13:34 -0400, Derek Atkins wrote:
Hi Dan,
On Thu, October 1, 2015 12:49 pm, Dan Williams wrote:
Apparently this still isn't working. I did the following:
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
UUID=3a02edd8-e82d-4dca-a336-933e9177f4cd
DEVICE=eth0
ONBOOT=yes
HWADDR=00:1f:7b:b2:14:42
IPV6_FAILURE_FATAL=no
NAME=eth0
# cat /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
IPADDR=192.168.x.y
I tested the config here and at least git master NM accepts the DHCP +
aliases configuration. After doing 'nmcli con reload' could you do
"nmcli con show 3a02edd8-e82d-4dca-a336-933e9177f4cd" and post the
output for the IPv4 block?
This is running on F22, NetworkManager-1.0.2-1.fc22.armv7hl
I presume you mean:
ipv4.method: auto
ipv4.dns:
ipv4.dns-search:
ipv4.addresses:
ipv4.gateway: --
ipv4.routes:
ipv4.route-metric: -1
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: no
ipv4.dhcp-client-id: --
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.never-default: no
ipv4.may-fail: yes
or do you also want:
IP4.ADDRESS[1]: <DHCP Address>/24
IP4.GATEWAY: <DHCP Router>
IP4.ROUTE[1]: dst = <DHCP Server IP>/32, nh =
<DHCP Router>, mt = 100
IP4.DNS[1]: <DNS1>
IP4.DNS[2]: <DNS2>
IP4.DNS[3]: <DNS3>
IP4.DOMAIN[1]: ihtfp.org
I just noticed there is an update available; I can try updating to 1.0.6
to see if it solves the problem?
Dan
-derek
--
Derek Atkins 617-623-3745
derek ihtfp com www.ihtfp.com
Computer and Internet Security Consultant
--
Derek Atkins 617-623-3745
derek ihtfp com www.ihtfp.com
Computer and Internet Security Consultant
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]