0

I have a linux computer A running RHEL-8.10 that has internet access, on it's eth3 port; it has a quad port nic whose ports shows up as eth<0,1,2, and 3>.

If I use a second RHEL-8.10 computer B, and connect its eth0 port to computer A's eth2 port, is it possible to allow computer B to see the internet via computer A's eth3 port ? If so can someone post the instructions and terminology on what/how to configure computer A to allow this to happen?

Thus far:

  • I have set A's eth2 port to static 192.168.1.1.
  • And B's eth0 port to 192.168.1.2.
  • I have connection between A and B and can do scp between the two... given default public firewalld settings of allowing tcp/22 for SSH.

1 Answer 1

0

This is exactly what every router does, and most routers use Linux under the hood. So in terms of terminology, you are looking for the steps to configure your machine A as a router. Another relevant term is IP forwarding and NAT.

1
  • so on computer A I set up IP forwarding between its eth2 and eth3 port? Commented Mar 18 at 19:13

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.