Patent ID: 8320384
Filing Date: 2012-11-27
Classification: H04L

Abstract:
1. A layer 2 packet forwarding apparatus for connecting a plurality of virtual local area network (VLAN) segments and routing received packets in accordance with layer 2 header information of each of the received packets, the layer 2 header information including a VLAN-ID, the layer 2 packet forwarding apparatus comprising: a plurality of first line interface units for accommodating access lines of said VLAN segments each connected to at least one user terminal; a second line interface unit for connecting the packet forwarding apparatus to a higher-level communication node connected to a communication network including a session management apparatus; and a protocol processing unit for routing the received packets among said first and second line interface units in accordance with layer 2 header information of each of the received packets and detecting a first control packet of SIP for requesting a session establishment from among the received packets, wherein a table update routine by the protocol processing unit is executed if the first control packet is received and then the first control packet is forwarded to the session management apparatus, wherein said protocol processing unit includes: a connection management table in which a plurality of table entries each indicating a correspondence relationship between originating terminal information and terminating terminal information for each session are registered, said originating terminal information including a source port number, an IP address, and an identifier of an originating user terminal, and said terminating terminal information including a source port number and an IP address of a terminating user terminal; a header information table in which a plurality of table entries each indicating, in association with a line number, a combination of a VLAN-ID, a MAC address, and an IP address are registered; and a control unit, wherein said control unit operates, when the first control packet is received from one of said first line interface units, to route the first control packet to said session management apparatus through said second line interface unit after executing the table update routine by registering to said connection management table a new table entry of an originating terminal information of the original user terminal which transmits the first control packet, including a source port number, an IP address, and an identifier extracted by snooping a SIP message included in the first control packet, and registering to said header information table a new table entry of the originating user terminal, including a VLAN-ID, a source MAC address, and a source IP address of the original user terminal which transmits the first control packet, in association with a line number of the first line interface unit having received the first control packet, wherein the control unit operates, when a second control packet of SIP to be transmitted to said session management apparatus is received from one of said first line interface units as a response packet of the first control packet, to route the second control packet to said session management apparatus through said second line interface unit after executing the table update routine by searching whether the originating terminal information extracted by snooping a SIP message included in the second control packet has been registered in the connection management table or not, and if the originating terminal information has been registered, registering the port number and the IP address of the source terminal which transmits the second control packet as the terminating terminal information into the new table entry registered in the connection management table, and registering to said header information table a new table entry for said terminating user terminal, including a VLAN-ID, a source MAC address, and a source IP address used by the source terminal which transmits the second control packet, in association with an input line number of the second line interface unit which receives the second control packet, and wherein said control unit operates, when a real-time packet transmitted after a session has been established between said originating user terminal and said terminating user terminal is received from one of said first line interface units, to compare header information of the received real-time packet with the originating terminal information and the terminating terminal information registered in said connection management table, and if a table entry corresponding to the header information has been registered in said connection management table as a result of executing the table update routine, the control unit routes the received real-time packet to the first line interface unit corresponding to a destination terminal of the received real-time packet without passing the real-time packet to said higher-level communication node connected to said second line interface, after rewriting the VLAN-ID, and the destination MAC address of the received real-time packet based on the contents of a table entry corresponding to the destination IP address of the real-time packet searched from said header information table, and if a table entry corresponding to the header information has not been registered in said connection management table as a result of executing the table update routine, the control unit routes the received real-time packet to the second line interface unit so that the real-time packet is processed by said higher-level communication node.