Ethernet Interfaces – Understanding eth/in, eth/out, eth/local

interfacelanpacket-pathrouter

I'm using an Edgemax router (EdgeOs), and even after having read posts and checked internet pages, I'm still very confused about which of my ethernet interfaces are communicating with what.

My LAN is on eth2 and my WAN on eth1. Can someone tell me if I'm wrong about what's next (because I saw a lot of opposite answers on network tutorials):

  • eth2/in is the part of my interface that receive packets from the LAN,
  • eth2/out deals with packets from LAN that will go to the WAN and
  • eth2/local are packets from LAN that "travel" through the LAN. Is that right?

Best Answer

Ethernet interfaces are named eth0, eth1, eth2, etc.

ethn/in and ethn/out, in firewall rules, identify respectively the ingress and egress point for a packet that travels through physical interface ethn.

If your LAN is on eth2 and your WAN on eth1, eth2/in receives packets from the LAN and eth2/out deals with packets destined to the LAN.

Related Topic