×

Deterministic network address and port translation

  • US 9,178,846 B1
  • Filed: 12/15/2011
  • Issued: 11/03/2015
  • Est. Priority Date: 11/04/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, with a network device, a packet from a subscriber, wherein the packet includes a private source network address and source port;

    selecting a network address translation (NAT) rule for the packet;

    deterministically computing, with the network device, a public network address and a range of ports assigned to the private network address of the packet using the selected NAT rule by;

    (i) computing an offset within a private address space for the NAT rule as a function of the private source network address,(ii) computing an offset within a public address space for the NAT rule as a function of the offset within the private address space,(iii) computing the public network address as a function of the offset within public network address,(iv) computing a port block offset as a function of both the offset within the private address space and a number of public network addresses within the public address space, and(v) computing the range of ports for the subscriber as a function of the port block offset and a port block size for the NAT rule,dynamically selecting an unused port from the range of ports;

    generating a translated packet from the packet, wherein the translated packet includes the computed public network address and the selected unused port from the range of ports in place of the private source address and source port; and

    forwarding the translated packet from the network device to a public network.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×