WAN技术-3IP-Trunk&PPPoE原理与配置

发布于:2023-01-12 ⋅ 阅读:(260) ⋅ 点赞:(0)

1 Trunk接口

        a Eth-trunk 以太网链路构成

        b IP-Trunk POS接口构成,只能用HDLC封装

                逐流负载分担:报文源目地址相同时从同一成员链路通过

                逐包地址分担:以报文为单位从不同成员链路发送

2 IP-Trunk配置

        R1与R2互联

        R1

                int IP-Trunk 1

                        undo shutdown

                        ip add 10.1.1.1 24

                int Pos1/0/0

                        link-protocol hdlc

                        undo shutdown

                        ip-trunk 1

                int Pos2/0/0

                        link-protocol hdlc

                        undo shutdown

                        ip-trunk 1

        

        R2

                int IP-Trunk 1

                        undo shutdown

                        ip add 10.1.1.2 24

                int Pos1/0/0

                        link-protocol hdlc

                        undo shutdown

                        ip-trunk 1

                int Pos2/0/0

                        link-protocol hdlc

                        undo shutdown

                        ip-trunk 1

3 PPPoE配置

        通过以太网把多台主机连接到接入设备,能够提供与拨号上网类似的访问控制和计费功能

        服务端R1与客户端R2互联

        R1

                ip pool pool1

                        gateway-list 1.1.1.1

                        network 1.1.1.0 mask 24

                aaa

                        local-user huawei password cipher 123456

                int Virtual-Template 0

                        ppp authentication-mode pap

                        remote add pool pool1

                        ip add 1.1.1.1 24

                int G0/0/0

                        pppoe-server bind Virtual-Template 0

        R2

                int Dialer 1

                        link-protocol ppp

                        ppp pap local-user huawei pass cipher 123456

                        ip add ppp-negotiate

                        dialer user huawei

                        dialer bundle 1

                        dialer group 1

                int G0/0/0

                        pppop-client dial-bundle-number 1

                dialer-rule

                        dialer-rile 1 ip permit

本文含有隐藏内容,请 开通VIP 后查看