network problem after f40->f42 upgrade

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

 



I recently upgraded f40->f42.

I have a server with two interfaces, eth1 has internet access, eth0 is local through a switch.
The switch is usually powered off, unless I use another computer in the house (not often).

When I boot the system (switch off) eth0 does not get an IP. Until f40 it did get a static IP.

$ ifconfig eth0
eth0: flags=4611<UP,BROADCAST,ALLMULTI,MULTICAST>  mtu 1500
        ether b4:2e:99:83:6d:7d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         e5.eyal.emu.id. 0.0.0.0         UG    100    0        0 eth1

Turning the switch on later does not resolve the problems.

My solution is to now have a command in rc.local
	/sbin/ifconfig eth0 192.168.3.7
and then things boot OK regardless of the state of the switch.

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         e5.eyal.emu.id. 0.0.0.0         UG    100    0        0 eth1
192.168.2.0     0.0.0.0         255.255.255.0   U     100    0        0 eth1
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
base-address.mc 0.0.0.0         240.0.0.0       U     0      0        0 eth0

Many services around the house (wifi sensors etc.) send to eth0 and it used to work just fine (f40).
Not now (F42 without my fix).

I suspect that network manager is interfering with the system which has some legacy settings.

One day I will learn how to set up network manager (and ditch ifcfg-ethX?).

--
Eyal at Home (fedora@xxxxxxxxxxxxxx)

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux