153
• On Router C, interface Dialer0 is assigned an IP address 122.1.1.2/24.
• The Dialer0 interfaces on Router A and Router B are located on the same network segment, so
are the Dialer1 interface on Router A and the Dialer0 interface on Router C.
Configure RS-DCC to allow Router A to call Router B and Router C from multiple interfaces but
disable Router B and Router C from calling each other.
Figure 48 Network diagram
Configuration procedure
1. Configure Router A:
# Configure a dial access control rule for dialer access group 1. Create local user accounts
userb and userc for Router B and Router C, and configure PPP authentication for them.
<RouterA> system-view
[RouterA] dialer-rule 1 ip permit
[RouterA] local-user userb
[RouterA-luser-userb] password simple userb
[RouterA-luser-userb] service-type ppp
[RouterA-luser-userb] quit
[RouterA] local-user userc
[RouterA-luser-userc] password simple userc
[RouterA-luser-userc] service-type ppp
[RouterA-luser-userc] quit
# Assign an IP address to interface Dialer0, enable RS-DCC, and configure the remote
username allowed to call in.
[RouterA] interface dialer 0
[RouterA-Dialer0] ip address 100.1.1.1 255.255.255.0
[RouterA-Dialer0] dialer user userb
[RouterA-Dialer0] dialer bundle 1
# Configure information for PPP authentication and the dial strings on interface Dialer0.
(Assume PAP is used at the local end.)
[RouterA-Dialer0] dialer-group 1
[RouterA-Dialer0] ppp authentication-mode pap
[RouterA-Dialer0] ppp pap local-user usera password simple usera
[RouterA-Dialer0] dialer number 8810052
[RouterA-Dialer0] quit