On 6/15/25 12:32 PM, Samuel Sieb wrote:
On 6/15/25 1:42 AM, Patrick Dupre via users wrote:
PC A is connected to internet and it is fine. device enp0s20f0u11
It is in automatic setting.
This PC has 2 ethernet cards
By default
enp1s0 (connected to PC B) and enp2s0 (connected to PC C)
If I understand PC A run as a router.
By default (shared to other computer) if I start PC B first (after PC
A and before PC C)
enp1s0 takes 10.42.0.1
and
enp2s0 takes 10.42.1.1
PC A in DHCP (automatic) assigns an IP 10.42.0.82
while PC B get 10.42.1.204.
If I reverse the starting order enp1s0 and enp2s0 addresses are switched.
It is fine except that PC B and PC C do not communicate together.
If I understand I need to configure every thing manually to have a
single network
for example
enp1s0 would have 10.42.0.1 PC B could have 10.42.0.82
enp2s0 would have 10.42.0.2, PC C could have 10.42.0.204
Then, what would be the Gateways ? 10.42.0.x (x=1 and x=2 ?)
Now you're getting more complicated. For that you need to create a
bridge over both ethernet interfaces, then set the bridge to shared. Set
the IP address and subnet. Then set B and C to have a static address in
that subnet. The gateway and DNS will be the address of A that you set
in the shared interface.
You will need to use nm-connection-editor for this.
--
_______________________________________________
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