3.0PPP OPERATIONAL BACKGROUND
PPP is a protocol used for
In order to establish communications over a
Once the link has been established and optional facilities have been negotiated, PPP will attempt to establish a network protocol. PPP will use Network Control Protocol (NCP) to choose and con- figure one or more network layer protocols. Once each of the net- work layer protocols have been configured, datagrams from the established network layer protocol can be sent over the link. The link will remain configured for these communications until explicit LCP or NCP packets close the link down, or until some external event occurs.
The PPP Bridging Control Protocol (BCP), defined in RFC 1638, configures and enables/disables the bridge protocol on both ends of the
3.1 Applications
Patton
IM1/I4Router
Bridge
Ethernet LAN
PEC Device w/ Serial I/F
Figure 2. Cisco router with serial interface, configured as PPP Half Bridge.
For example, the customer site is assigned the addresses 192.168.1.0/24 through 192.168.1.1/24. The address 192.168.1.1/24 is also the default gateway for the remote net- work. The above settings remove any routing/forwarding intel- ligence from the CPE. The associated Cisco configuration will set serial interface (s0) to accommodate half bridging for the above example.
Authentication is optional under PPP. In a
Some networking systems do not define network numbers in packets sent out over a network. If a packet does not have a specific destination network number, a router will assume that the packet is set up for the local segment and will not for- ward it to any other
Figure 3 illustrates transparent bridging between two routers over a serial interface (s0). Bridging will occur between the two Ethernet Interfaces on Router A (e0 and e1) and the two Ethernet Interfaces on Router B (e0 and e1).
In situations where a routed network requires connectivity to a remote Ethernet network, the interface on a router can be configured as a PPP IP Half Bridge. The serial line to the remote bridge functions as a Virtual Ethernet interface, effec- tively extending the routers serial port connection to the remote network. The bridge device sends bridge packets (BPDU's) to the router's serial interface. The router will receive the layer three address information and will forward these packets based on its IP address.
Figure 2 shows a typical Cisco router with a serial interface configured as a PPP Half Bridge. The router serial interface uses a remote device that supports PPP bridging to function as a node on the remote Ethernet network. The serial interface on the Cisco will have an IP address on the same Ethernet subnet as the bridge.
!
no ip routing
!
interface Ethernet0
ip address 1.1.1.1 255.255.255.0
!
interface Serial0
ip address 1.1.1.1 255.255.255.0 encapsulation PPP
!
interface Serial1
ip address 2.2.2.2 255.255.255.0
!
bridge 1 protocol ieee
!
|
| Serial Interface | Patton DSL Modem | ||
Router A | |||||
|
| S0 | with Ethernet Interface | ||
|
|
| |||
|
|
| |||
|
|
|
|
S1 | e0 |
|
| LAN |
| LAN |
|
| Using |
|
|
|
| ple remote LANs can be |
|
|
|
| bridged over the |
Router B | S1 |
|
| |
|
|
|
| |
|
| S0 | ||
e0 | e1 |
|
| LAN |
|
| |||
LAN | LAN |
|
|
|
|
|
|
|
|
Serial Interface
5
Figure 3. Transparent bridging between two routers over a serial link.
6