# sysname 1832 # dialer-rule 1 ip permit # interface Dialer0 link-protocol ppp mtu 1450 tcp mss 1410 ip address ppp-negotiate dialer user whateveryouwant dialer-group 1 dialer bundle 20 # interface Ethernet1/0 # interface Atm2/0 adsl standard gdmt # interface Atm2/0.1 p2p atm-link check pvc 1/36 map bridge Virtual-Ethernet1 # interface Virtual-Ethernet1 pppoe-client dial-bundle-number 20 # interface NULL0 # ip route-static 0.0.0.0 0.0.0.0 Dialer 0 preference 60 # user-interface con 0 user-interface vty 0 4 # return Configure DVPN Server ...... AR 18-20 # Configure Tunnel0 interface attributes. [1820]interface Tunnel 0 [1820-Tunnel0]tunnel-protocol udp dvpn [1820-Tunnel0]dvpn interface-type server [1820-Tunnel0]dvpn vpn-id 100 [1820-Tunnel0]dvpn udp-port 8008 [1820-Tunnel0]source Ethernet 2/0 [1820-Tunnel0]ip address 192.168.10.10 24 Configure DVPN Client ...... AR 18-32 # Configure dvpn-class. [1832]dvpn class zongbu-server [1832-dvpn-class-zongbu-server]public-ip 162.105.66.30 [1832-dvpn-class-zongbu-server]private-ip 192.168.10.10 [1832-dvpn-class-zongbu-server]udp-port 8008 # Configure tunnel interface attributes. [1832]interface Tunnel 0 [1832-Tunnel0]tunnel-protocol udp dvpn [1832-Tunnel0]dvpn interface-type client [1832-Tunnel0]dvpn vpn-id 100 [1832-Tunnel0]dvpn server zongbu-server [1832-Tunnel0]source Dialer 0 [1832-Tunnel0]ip address 192.168.10.11 24 [1832-Tunnel0]dvpn udp-port 8001 Verify that the DVPN link is normal [1832-Tunnel0]dis dvpn map VPNID privateip publicip udpport state type 100 192.168.10.10 162.105.66.30 8008ActiveC<->S <1820>dis dvpn map VPNID privateip publicip udpport state type 100 192.168.10.11 202.113.67.10 8001ActiveC<->S Configure and publish a private network ingress in the dvpn domain # Configure branch office AAR 18-32) [1832]interface Ethernet 1/0 [1832-Ethernet1/0]ip address 10.10.11.1 24 [1832-Ethernet1/0]dhcp select interface [1832]ospf 1 [1832-ospf-1]area 0 [1832-ospf-1-area-0.0.0.0]network 10.10.11.0 0.0.0.255 [1832-ospf-1-area-0.0.0.0]network 192.168.10.0 0.0.0.255 [1832]interface Tunnel 0 [1832-Tunnel0]ospf network-type p2mp # Configure the Head Office AAR 18-20) [1820]interface Ethernet 1/0 [1820-Ethernet1/0]ip address 10.10.10.1 24 [1820-Ethernet1/0]dhcp select interface [1820]ospf 1 [1820-ospf-1]area 0 [1820-ospf-1-area-0.0.0.0]network 10.10.10.0 0.0.0.255 [1820-ospf-1-area-0.0.0.0]network 192.168.10.0 0.0.0.255 [1820]interface Tunnel 0 [1820-Tunnel0]ospf network-type p2mp Configure branch B router 3Com 3031 according to the configuration of branch Route table check
<3031>dis ip rout Routing Table: public net Destination/Mask Protocol Pre CostNexthop Interface 0.0.0.0/0 STATIC 60 0 202.112.58.8Dialer0 10.10.10.0/24 OSPF 10 1563192.168.10.10 Tunnel0 10.10.11.0/24 OSPF 10 3125192.168.10.10 Tunnel0 10.10.12.0/24 DIRECT 00 10.10.12.1 Ethernet1/0 10.10.12.1/32 DIRECT 00 127.0.0.1 InLoopBack0 127.0.0.0/8DIRECT 00 127.0.0.1 InLoopBack0 127.0.0.1/32 DIRECT 00 127.0.0.1 InLoopBack0 192.168.10.0/24DIRECT 00 192.168.10.12 Tunnel0 192.168.10.10/32 OSPF 10 1562192.168.10.10 Tunnel0 192.168.10.11/32 OSPF 10 3124192.168.10.10 Tunnel0 192.168.10.12/32 DIRECT 00 127.0.0.1 InLoopBack0 202.112.58.1/32DIRECT 00 202.112.58.1Dialer0 202.112.58.8/32DIRECT 00 127.0.0.1 InLoopBack0 |