Re: NM doesn't see connection



On Mon, 2014-04-21 at 20:21 -0400, Sean Darcy wrote:
Multihomed machine running Fedora 20, 
NetworkManager-0.9.9.0-33.git20131003.fc20.x86_64

external and internal interfaces:

cat /etc/sysconfig/network-scripts/ifcfg-external
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
BOOTPROTO=dhcp
DEVICE=external
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
PEERDNS=no
DNS1=127.0.0.1
DNS2=8.8.8.8
USERCTL=no

cat /etc/sysconfig/network-scripts/ifcfg-internal
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
BOOTPROTO=none
DEVICE=internal
ONBOOT=yes
IPADDR=10.10.11.251
PREFIX=24
DEFROUTE=no
IPV4_FAILURE_FATAL=no
IPV6INIT=no
USERCTL=no

This looks OK to me so far.

On boot, NM doesn't see the internal connection:

nmcli connection show configured

NAME             UUID                                  TYPE 
TIMESTAMP
-REAL
System external  02b123a7-baea-20e2-051e-8a9ec27cc44a  802-3-ethernet 

Can you take a look at the bootup logs (journalctl -b -u NetworkManager)
and see if the 'ifcfg-rh' plugin reported any errors for ifcfg-internal?

NM *should* show ifcfg-internal here too, so we get to figure out why
it's not doing that.

...........

but ip sees it:

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT
  group default
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: internal: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
state UP mode DEFAULT group default qlen 1000
     link/ether a0:ce:c8:00:49:82 brd ff:ff:ff:ff:ff:ff
3: external: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state 
UP mode DEFAULT group default qlen 1000
     link/ether 00:1d:72:05:4a:68 brd ff:ff:ff:ff:ff:ff

ip link is reporting the actual network interfaces on the system, but
"nmcli con show conf" reports network configurations/profiles stored
in /etc.

The closer match to "ip link" would be "nmcli dev".  What does that say?

Dan

If I manually configure internal, all is well:

systemctl stop NetworkManager

ifdown internal
ip addr add 10.10.11.251/24 dev internal
ping -c 5 10.10.11.180

PING 10.10.11.180 (10.10.11.180) 56(84) bytes of data.
64 bytes from 10.10.11.180: icmp_seq=1 ttl=64 time=0.789 ms
........

What am I doing wrong here?

sean

_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list




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