Wiki1 · Network Fundamentals · protocolIn both courses

Ephemeral Ports

Also: ephemeral portdynamic portssource portsource ports

Temporary source port numbers a client picks for each outbound connection so replies reach the right session. IANA's dynamic range is 49152-65535, though operating systems may use other ranges; PAT relies on unique source ports to share one public IP among many hosts.

NetworkChuck1

  1. Day 05 how the OSI model works on YouTube (Application and Transport Layers)

    Ephemeral PortsTemporary, dynamic port numbers generated by a client operating system to be used as the 'Source Port' during a network session.

    17:10Look at everything I'm talking to right now you can see that my computer is using a bunch of different source ports 52015 for this particular server I'm talking to to 51 931 talking to this server and.
    Said 3×

Jeremy's IT Lab7

  1. Day 30 TCP & UDP

    Ephemeral PortsThe IANA range 49152-65535, also called private or dynamic ports. Hosts pick their random source port from this range.

    5:02In PC1’s case, let’s say it is communicating with SRV1. At Layer 4 it is using TCP, and it uses a source port of 50000 and a destination port of 80.
    Said 10×
  2. Day 39 DHCP

    Ephemeral PortsJeremy contrasts DHCP with DNS: in DNS only the server port is fixed and the client uses a random ephemeral source port, whereas a DHCP client always uses UDP 68.

    8:44Inside is a UDP header, and notice the ports. Source port 68, destination port 67. DHCP servers use UDP port 67 and DHCP clients use UDP port 68.
    Said 6×
  3. Day 30 Lab Wireshark Demo (TCP/UDP)

    Ephemeral PortsJeremy's PC chose source port 62652 from the ephemeral range for its HTTPS connection, and a random ephemeral source port for its DNS query.

    4:50What is 62652? It’s the random source port my PC selected from the ephemeral port range.
    Said 2×
  4. Day 45 NAT (part 2)
    13:26Its source IP is 192.168.0.167, and it selects a random source port, 54321. PC2 also sends a DNS message to 8.8.8.8, with source IP 192.168.0.168.
    Said 16×
  5. Day 35 Extended ACLs
    18:16this. EQ, followed by the source port, is just one option. For example, EQ 80 means equal to port 80. So, it matches TCP source port 80.
    Said 8×
  6. Day 43 FTP & TFTP
    8:20…client sends the first message to the server, the destination port is UDP port 69 and the source is a random ephemeral port.
    Said 5×
  7. Day 35 Lab Extended ACLs
    4:04Then the source IP, 172.16.1.0 0.0.0.255. We don’t need to specify the source port, so next is the destination IP.
    Said 2×

Related terms

Flashcards that test it