You are not logged in.

#1 2014-10-26 05:21:15

bradgillap
Member
Registered: 2014-10-18
Posts: 12

Two IP Addresses. One dhcp and one static. I only want the static

I don't remember how or where I setup the dhcp and I'm not quite sure how to track it down. The gnome network manager doesn't acknowledge anything.

I used netctl to create the static address and that's working just fine.

output of ip addr

 2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 20:cf:30:23:bc:11 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.10/24 brd 192.168.1.255 scope global enp5s0
       valid_lft forever preferred_lft forever
    inet 192.168.1.212/24 brd 192.168.1.255 scope global secondary enp5s0
       valid_lft forever preferred_lft forever
    inet6 fe80::da26:4be2:8034:be7c/64 scope link 
       valid_lft forever preferred_lft forever

output of netctl my_network

Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.1.10/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')

Offline

#2 2014-10-26 05:39:54

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Two IP Addresses. One dhcp and one static. I only want the static

You didn't provide a whole lot of info... you're getting assigned two IPs?  I don't see that reflected in you `ip addr` output.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2014-10-26 05:42:19

bradgillap
Member
Registered: 2014-10-18
Posts: 12

Re: Two IP Addresses. One dhcp and one static. I only want the static

inet 192.168.1.212/24

inet 192.168.1.10/24


those are on the same adapter. I just want the second one. I'm not sure what else I can cat for you.

Offline

#4 2014-10-26 05:45:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Two IP Addresses. One dhcp and one static. I only want the static

I see it now... half-asleep, sorry.  Never seen a secondary IP assigned... do you have two services assigning them?  Post the output of:

find /etc/systemd/system -mindepth 1 -type d | xargs ls -l --color

If there's nothing there, could something unique to gnome be doing it?  To test that, disable gdm (assuming you're using that) so the machine boots to the console.  Login and see if the secondary IP is assigned.

Last edited by graysky (2014-10-26 05:47:05)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2014-10-26 05:48:09

bradgillap
Member
Registered: 2014-10-18
Posts: 12

Re: Two IP Addresses. One dhcp and one static. I only want the static

Actually I just figured it out. You were right it was gnome and that triggered my memory that I had been messing with networkmanager service.

I was able to resolve it with the help of this forum post.  Before that the network manager wasn't showing anything.


https://bbs.archlinux.org/viewtopic.php?id=180176

Offline

Board footer

Powered by FluxBB