beautypg.com

Pppoe, Overview of ppp, Defining a vlan – D-Link DFL-2500 User Manual

Page 61: Section 3.3.4, “pppoe

background image

3.

Assign a VLAN ID that is unique on the physical interface.

4.

Optionally specify an IP address for the VLAN.

5.

Optionally specify an IP broadcast address for the VLAN.

6.

Create the required route(s) for the VLAN in the appropriate routing table.

7.

Create rules in the IP rule set to allow traffic through on the VLAN interface.

Example 3.11. Defining a VLAN

This simple example defines a virtual LAN called VLAN10 with a VLAN ID of 10. Note that this Virtual LAN
interface will use the IP address of the corresponding Ethernet interface, as no IP address is specified.

CLI

gw-world:/> add Interface VLAN VLAN10 Ethernet=lan Network=all-nets VLANID=10

Web Interface

1.

Go to Interfaces > VLAN > Add > VLAN

2.

Enter a suitable name for the VLAN, in this case VLAN10

3.

Now enter:

Interface: lan

VLAN ID: 10

4.

Click OK

3.3.4. PPPoE

Point-to-Point Protocol over Ethernet (PPPoE) is a tunneling protocol used for connecting multiple
users on an Ethernet network to the Internet through a common serial interface, such as a single
DSL line, wireless device or cable modem. All the users on the Ethernet share a common
connection, while access control can be done on a per-user basis.

Internet server providers (ISPs) often require customers to connect through PPPoE to their
broadband service. Using PPPoE the provider can:

Implement security and access-control using username/password authentication

Trace IP addresses to a specific user

Allocate IP address automatically for PC users (similar to DHCP). IP address provisioning can
be per user group

3.3.4.1. Overview of PPP

Point-to-Point Protocol (PPP), is a protocol for communication between two computers using a
serial interface, such as the case of a personal computer connected through a switched telephone line
to an ISP. In terms of the OSI model, PPP provides a layer 2 encapsulation mechanism to allow
packets of any protocol to travel through IP networks. PPP uses Link Control Protocol (LCP) for
link establishment, configuration and testing. Once the LCP is initialized, one or several Network

3.3.4. PPPoE

Chapter 3. Fundamentals

61