Score:0

Cannot reach LAN from Fedora 35 that is sharing Internet

cn flag

In my cable ethernet configuration, a Fedora 35 workstation has 2 network interfaces:

  1. if0 connected to an Internet router via DHCP
  2. if1 connected to the LAN with a static IP

Machines in the LAN are only connected to this Fedora 35 workstation, and all machines in the network can access Internet.

The problem: my Fedora 35 workstation folio cannot reach machines on the LAN (subnet 192.168.1.0/24). Ping always goes to the Internet router, which can't see my LAN machines. It seems to be a problem with the routing table (some of these entries were mysteriously added after an update):

Destination     Gateway         Genmask         Indic Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    101    0        0 if0
default         folio           0.0.0.0         UG    20100  0        0 if1
10.0.0.0        0.0.0.0         255.255.0.0     U     101    0        0 if0
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 if1
192.168.1.0     folio           255.255.255.0   UG    100    0        0 if1
192.168.1.0     folio           255.255.255.0   UG    101    0        0 if0
folio           0.0.0.0         255.255.255.255 UH    101    0        0 if0

How can I configure the routing table so that traffic to the subnet goes to if1 and all other traffic goes to if0? It seems like this should be simple but I've tried quite a few suggestions and nothing seems to work. If possible, please explain any suggestions in steps, or include a link to reference material, since I don't know much about linux networking.

If there is any way to configure the system to "route the obvious way by netmask", that would really be ideal.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.