You are not logged in.

#1 2013-12-20 20:09:34

tparker
Member
Registered: 2013-12-20
Posts: 1

NetworkManager messes with ip configuration

I am just trying to give an interface an ip address. I do the command

# ip addr add 192.168.0.1 dev enp6s0

and it works. I respond to arp requests and packets flow nicely.

# ip addr show dev enp6s0
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether e8:9a:8f:9a:67:26 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.1/32 scope global enp6s0
       valid_lft forever preferred_lft forever
    inet6 fe80::ea9a:8fff:fe9a:6726/64 scope link 
       valid_lft forever preferred_lft forever

But then about 30 seconds later the ip address is removed from the interface breaking the connection.

# ip addr show dev enp6s0
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether e8:9a:8f:9a:67:26 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::ea9a:8fff:fe9a:6726/64 scope link 
       valid_lft forever preferred_lft forever

I'm using an updated Arch setup with Gnome.
I suspect that the NetworkManager applet is trying to automatically configure something, but I really have no idea what might be causing this behavior. I can't disable the NetworkManager completely because I depend on the convenience for wifi connections.

Does anyone have any idea what might be changing my network settings, or how I can find what is?


Thanks a lot,
Tyler Parker

Offline

Board footer

Powered by FluxBB