Understanding Ingress and Egress in General (Part 1)

AID: 2663
  • Status: Published

5650 points

  • Bymoodjbow
  • TypeTutorial
  • Posted on2010-03-13 at 14:28:27
There are numerous misunderstandings of the Ingress and Egress concepts when related to different OSI layers, so here is a brief overview:

There is no big philosophy when one keeps in mind that Ingress/Egress-terms were originally explaining OSI L2 features. So they are always switch port related. First we had "dumb" L2 switches with only physical ports. Then a frame - mind NOT a packet - from a PC1 to the switch port 1 is ingress and the same frame from 24 to PC2 is egress. To summarize as a definition on L2 ports: ingress is incoming from an adjacent node, egress outgoing to an adjacent node.

This concept was later needed to explain OSI L2 enhancements like VLAN and QoS where different tags were applied to the frame header and a decision had to be made from the switch, where exactly to add or strip them down.  So for example for a “client” switch port (called under Cisco "switchport mode access") belonging to a certain VLAN this header information had to be erased before egressing, whereas for a VLAN trunk port (i.e., switchport mode trunk) this header information had to be preserved by the egressing process.

Later on the terms were applied on L3-enhanced switches which brought some troubles since there we have L3 packets (this means with additional IP header) that are being routed and not switched. There physical ports and VLAN-ports mingled the straight understanding but the logic behind stayed the same – a bridged frame that has to cross-over VLANs is ingressing the source VLAN port and egressing the destination VLAN port. See further details on “Understanding Ingress and Egress on L3 Switches (Part 2)".

And at the very latest many people started using the words for edge routers / gateways, using egress term for all outgoing connection (from the perspective of the "insider", usually a LAN with private IP address scope, but not obligatory) and ingress for the incoming packets (i.e., from MAN or WAN). In other words on the level of the corporate gateway or firewall the egress term is applied to the information from Intranet to Internet and ingress term signifies the information from Internet to the Intranet (the latter also known as corporate LAN). In such usage, the L2 and L3 aspect of ports on the firewall (usually called under Cisco PIX-devices "outside" and "inside") is generally being neglected.

Summary: we discussed the Ingress and Egress concepts in their historical development as well as in their implication within different network levels. Under the listed circumstances it is thus advisable to interprete these terms in their context.
Asked On
2010-03-13 at 14:28:27ID2663
Tags

switching

,

routing

,

ingress

,

egress

,

network

Topic

Miscellaneous Networking

Views
7588

Comments

Expert Comment

by: Margit on 2012-01-10 at 10:52:43ID: 34438

Great information, thanks!

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Misc Networking Experts

  1. giltjr

    142,949

    Master

    0 points yesterday

    Profile
    Rank: Genius
  2. hanccocka

    57,868

    Master

    2,800 points yesterday

    Profile
    Rank: Genius
  3. kevinhsieh

    53,840

    Master

    0 points yesterday

    Profile
    Rank: Genius
  4. keith_alabaster

    49,846

    0 points yesterday

    Profile
    Rank: Genius
  5. Darr247

    46,924

    0 points yesterday

    Profile
    Rank: Genius
  6. pergr

    41,116

    0 points yesterday

    Profile
    Rank: Master
  7. donjohnston

    36,633

    2,000 points yesterday

    Profile
    Rank: Genius
  8. rigan123

    34,141

    0 points yesterday

    Profile
    Rank: Guru
  9. nazsky

    32,574

    0 points yesterday

    Profile
    Rank: Wizard
  10. erniebeek

    31,778

    10 points yesterday

    Profile
    Rank: Genius
  11. ve3ofa

    30,145

    664 points yesterday

    Profile
    Rank: Genius
  12. thinkpads_user

    27,941

    0 points yesterday

    Profile
    Rank: Genius
  13. mattvmotas

    26,898

    0 points yesterday

    Profile
    Rank: Sage
  14. eeRoot

    26,578

    0 points yesterday

    Profile
    Rank: Wizard
  15. fmarshall

    26,541

    0 points yesterday

    Profile
    Rank: Wizard
  16. craigbeck

    26,240

    0 points yesterday

    Profile
    Rank: Sage
  17. TimotiSt

    25,004

    2,000 points yesterday

    Profile
    Rank: Master
  18. fgasimzade

    23,834

    0 points yesterday

    Profile
    Rank: Wizard
  19. RobWill

    23,300

    0 points yesterday

    Profile
    Rank: Savant
  20. arnold

    22,913

    0 points yesterday

    Profile
    Rank: Genius
  21. leew

    21,174

    0 points yesterday

    Profile
    Rank: Savant
  22. Netty

    20,562

    0 points yesterday

    Profile
    Rank: Guru
  23. chakko

    20,000

    0 points yesterday

    Profile
    Rank: Genius
  24. Soulja

    19,800

    0 points yesterday

    Profile
    Rank: Genius
  25. DaveBaldwin

    17,908

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame