PVC bundling
U
SER
G
UIDE
141
PVC
BUNDLING
The PVC bundle is a way to create a virtual interface which integrates two physical interfaces, i.e.
two different circuits. It is applied to ADSL, SHDSL, Frame Relay circuits. It is also possible to
classify the traffic in order to transmit it to the only specified circuit.
For example, in the case of a SHDSL network, two different circuits are defined:
set shdsl line-mode 4-wire standard
set shdsl line-term cpe
set shdsl line-rate-type fixed
set shdsl pvc atm0 encap rfc1483-bridged
set shdsl pvc atm0 vpi 8
set shdsl pvc atm0 vci 35
set shdsl pvc atm0 no-default-route
set shdsl pvc atm0 no-masquerade
set shdsl pvc atm0 ipaddr 0.0.0.0
set shdsl pvc atm1 encap rfc1483-bridged
set shdsl pvc atm1 vpi 8
set shdsl pvc atm1 vci 36
set shdsl pvc atm1 no-default-route
set shdsl pvc atm1 no-masquerade
set shdsl pvc atm1 ipaddr 0.0.0.0
set shdsl on
The two circuits correspond to the network interfaces named
shdsl.835
and
shdsl.836
.
By
setting the commands:
set pvc-bundle pvc0 shdsl.835
set pvc-bundle pvc1 shdsl.836
set pvc-bundle ipaddr 192.168.1.2
set pvc-bundle netmask 255.255.255.252
set pvc-bundle on
in addition to the two SHDSL commands, the virtual interface
pbond0
will be created with the
address
192.168.1.2:
root@IMOLA>
ifconfig pbond0
pbond0 Link encap:Ethernet HWaddr 00:0D:5A:9E:7B:B8
inet addr:192.168.1.2 Bcast:0.0.0.0 Mask:255.255.255.252
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:512
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Packets transmitted on this interface will be distributed in round robin way on both
shdsl.835
and
shdsl.836
interfaces, i.e. on both SHDSL circuits.
In this example no address has been assigned to physical interfaces
shdsl.835
and
shdsl.836
, so
the only way to use SHDSL interface is to activate the
pbond0
logic interface.