Re: internal network

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

 



On Sat, 1 Mar 2025 at 22:22, Patrick Dupre via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am lost.

I had a configuration with was working, but my usb WiFi doogle does not work anymore.
The configuration which was working

Doogle on PC A with 2 ethernet cards.
One connected to PC B: a laptop
one connected to PC C

Now, The laptop PC B is connect to a wifi mobile.
It works
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.43.115  netmask 255.255.255.0  broadcast 192.168.43.255

I set the ethernet interface "shared to other computers"
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.1  netmask 255.255.255.0  broadcast 10.42.0.255

Now I am trying to connect this ethernet card to PC A
>From the network interface, It tried
"shared to other computers"
and
"Automatic (DHCP)",
but none of them allow me to make the connection
(connecting for ever).
Hence, I tried manually
10.42.0.5  255.255.255.0
It connected
enp1s0 flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.5 netmask 255.255.255.0  broadcast 10.42.0.255

But the 2 computers do not talk together
>From PC B to PC A:
 ping 10.42.0.5
PING 10.42.0.5 (10.42.0.5) 56(84) bytes of data.
>From 10.42.0.1 icmp_seq=1 Destination Host Unreachable
traceroute to 10.42.0.5 (10.42.0.5), 30 hops max, 60 byte packets
 1  Sappho (10.42.0.1)  3068.823 ms !H  3068.691 ms !H  3068.614 ms !H
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.43.1    0.0.0.0         UG    600    0        0 wlp2s0
10.42.0.0       0.0.0.0         255.255.255.0   U     100    0        0 enp3s0
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0

>From PC A to PC B:
same behavior
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.42.0.0       0.0.0.0         255.255.255.0   U     100    0        0 enpls0
192.168.122.0   0.0.0.0         255.255.255.0   U     600    0        0 virbr0

I think if I'm reading your description correctly, this is roughly your topology and addressing?


If my understanding is correct
- the default gateway (0.0.0.0) from PC A (10.42.0.5) needs to be PC B (10.42.0.1)
- you probably don't want 192.168.0.122.0 to be a gateway configured on PC A
- you probably need ip_forwarding (net.ipv4.ip_forward) enabled on PC B if it's being used as an ersatz router
 
-- 
_______________________________________________
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