Gateway apparatus and its controlling method
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsHiroki Suzuki, Yukikuni Nishida, Tsunemasa Hayashi
Life of this patent
Estimating the term…
Abstract
IPoE/PPPoE forwarding table 106 is provided with which registered are network addresses, protocol types, destination IP addresses used in IPoE and retrieval indexes of PPPoE sessions used in PPPoE, a protocol type is selected corresponding to a network address in IPoE/PPPoE forwarding table 106 that matches a destination IP address included in header information of an IP packet of an input frame, and when the selected protocol type is PPPoE, a PPPoE session is further selected from a retrieval index corresponding to the network address.
Claims6
A gateway apparatus comprising:
- an IPoE forwarding table in which network addresses and destination IP addresses are registered;
- a PPPoE proxy table in which source MAC addresses and PPPoE session IDs on input side and destination MAC addresses and PPPoE session IDs on output side are registered;
- an ARP table in which destination IP addresses and destination MAC addresses are registered;
- and
- a control section that controls output of an input frame using the IPoE forwarding table, the PPPoE proxy table and the ARP table, wherein:
- when a PPPoE frame is input and an entry that matches header information of the PPPoE frame is registered in the PPPoE proxy table, the control section controls output of the PPPoE frame based on a destination MAC address and a PPPoE session ID on the output side registered in the entry;
- and
- when an IPoE frame is input, the control section selects a destination IP address in association with a network address in the IPoE forwarding table that matches another destination IP address included in header information of an IP packet of the IPoE frame, and controls output of the IPoE frame based on the destination IP address or a destination MAC address in the ARP table in association with the another destination IP address included in the header information.
A control method of a gateway apparatus which comprises an IPoE forwarding table in which network addresses and destination IP addresses are registered, a PPPoE proxy table in which source MAC addresses and PPPoE session IDs on input side and destination MAC addresses and PPPoE session IDs on output side are registered, and an ARP table in which destination IP addresses and destination MAC addresses are registered, the control method comprising:
- when a PPPoE frame is input and an entry that matches header information of the PPPoE frame is registered in the PPPoE proxy table, controlling output of the PPPoE frame based on a destination MAC address and a PPPoE session ID on the output side registered in the entry;
- and,
- when an IPoE frame is input,
- selecting a destination IP address in association with a network address in the IPoE forwarding table that matches another destination IP address included in header information of an IP packet of the IPoE frame and controlling output of the IPoE frame based on the destination IP address or a destination MAC address in the ARP table in association with the another destination IP address included in the header information.
A gateway apparatus comprising:
- an IPoE/PPPoE forwarding table in which network addresses, protocol types, destination IP addresses used in IPoE and retrieval indexes of PPPoE sessions used in PPPoE are registered;
- a PPPoE session table in which the retrieval indexes, destination MAC addresses and PPPoE session IDs are registered;
- an ARP table in which destination IP addresses and destination MAC addresses are registered;
- and
- a default route table in which source IP addresses, protocol types, destination IP addresses used in IPoE and retrieval indexes of PPPoE sessions used in PPPoE are registered;
- and
- a control section that controls output of an input frame using information registered in the IPoE/PPPoE forwarding table, the PPPoE session table, and the ARP table and the default route table, wherein:
- the control section selects a protocol type according to a network address in the IPoE/PPPoE forwarding table that matches a destination IP address included in header information of an IP packet of the input frame;
- when the protocol type selected is IPoE, the control section controls output of an IPoE frame based on a destination IP address corresponding to the network address or a destination MAC address in the ARP table in association with the destination IP address included in the header information;
- when the protocol type selected is PPPoE, the control section controls output of a PPPoE frame based on a destination MAC address and a PPPoE session ID in the PPPoE session table in association with a retrieval index corresponding to the network address;
- when the destination IP address matches a network address registered as a default route in the IPoE/PPPoE forwarding table, the control section selects a protocol type according to a source IP address in the default route table that matches a source IP address included in the header information;
- when the protocol type selected is IPoE, the control section controls output of the IPoE frame based on a destination IP address corresponding to the source IP address or a destination MAC address in the ARP table in association with the destination IP address included in the header information;
- and
- when the protocol type selected is PPPoE, the control section controls output of the PPPoE frame based on a destination MAC address and a PPPoE session ID in the PPPoE session table in association with a retrieval index corresponding to the source IP address.
A control method of a gateway apparatus which comprises an IPoE/PPPoE forwarding table in which network addresses, protocol types, destination IP addresses used in IPoE and retrieval indexes of PPPoE sessions used in PPPoE are registered, a PPPoE session table in which the retrieval indexes, destination MAC addresses and PPPoE session IDs are registered, an ARP table in which destination IP addresses and destination MAC addresses are registered, and a default route table in which source IP addresses, protocol types, destination IP addresses used in IPoE and retrieval indexes of PPPoE sessions used in PPPoE are registered, the control method comprising:
- selecting a protocol type according to a network address in the IPoE/PPPoE forwarding table that matches a destination IP address included in header information of an IP packet of an input frame;
- when the protocol type selected is IPoE, controlling output of an IPoE frame based on a destination IP address corresponding to the network address or a destination MAC address in the ARP table in association with the destination IP address included in the header information;
- when the protocol type selected is PPPoE, controlling output of a PPPoE frame based on a destination MAC address and a PPPoE session ID in the PPPoE session table in association with a retrieval index corresponding to the network address;
- when the destination IP address matches a network address registered as a default route in the IPoE/PPPoE forwarding table, selecting a protocol type according to a source IP address in the default route table that matches a source IP address included in header information;
- when the protocol type selected is IPoE, controlling output of an IPoE based on a destination IP address corresponding to the source IP address or a destination MAC address in the ARP table in association with the destination IP address included in the header information;
- and
- when the protocol type selected is PPPoE, controlling output of a PPPoE frame based on a destination MAC address and a PPPoE session ID in the PPPoE session table in association with a retrieval index corresponding to the source IP address.
Dependencies are inferred from the claim text.