Cấu hình như sau:
Code:
Router A# isdn switch-type basic-5ess interface ethernet 0 ip address 172.16.1.1 255.255.255.128 interface serial 0 ip address 172.16.2.1 255.255.255.0 interface bri 0 ip address 172.16.3.1 255.255.255.0 encapsulation ppp dialer map ip 172.16.3.2 name Router B broadcast 1234567 ppp authentication chap dialer-group 1 router EIGRP 1 network 172.16.0.0 access-list 101 deny eigrp any any access-list 101 permit ip any any dialer-list 1 protocol ip list 101 ip route 172.16.4.0 255.255.255.128 172.16.3.2 200 Router B# isdn switch-type basic-5ess interface ethernet 0 ip address 172.16.4.1 255.255.255.128 interface serial 0 ip address 172.16.2.2 255.255.255.0 interface bri 0 ip address 172.16.3.2 255.255.255.0 encapsulation ppp dialer map IP 172.16.3.1 name Router_A broadcast 3456789 ppp authentication chap dialer-group 1 router eigrp 1 network 172.16.0.0 access-list 101 deny eigrp any any access-list 101 permit ip any any dialer-list 1 protocol ip list 101 ip route 172.16.1.0 255.255.255.128 172.16.3.1 200
Code:
Router B# interface ethernet 0 ip address 172.16.4.1 255.255.255.0 interface serial 0 ip address 172.16.2.2 255.255.255.0 interface bri 0 ip address 172.16.3.2 255.255.255.0 encapsulation PPP dialer map IP 172.16.3.1 name Router A broadcast xxx ppp authentication chap dialer-group 1 router eigrp 1 network 172.16.0.0 access-list 101 deny eigrp any any access-list 101 permit IP any any dialer-list 1 protocol IP list 101 ip route 172.16.1.0 255.255.255.128 172.16.3.1 200
Cấu hình như sau: Router B# interface ethernet 0 ip address 172.16.4.1 255.255.255.128
Nguyễn Minh Hải – VnPro