Gre vpn configuration instance

Source: Internet
Author: User
Tags domain lookup

 

R1: Current configuration: 1299 bytes! Version 12.3 service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption! Hostname r1! Boot-start-markerboot-end-marker !! Memory-size iomem 5no aaa new-modelip subnet-zero !! No ip domain lookup !! Ip cefip ips po max-events 100no ftp-server write-enable interface Loopback1 ip address 1.1.1.1 255.255.0! Interface Loopback3 no ip address! Interface Serial0/0 ip address 192.168.1.1 255.255.0 serial restart-delay 0! Interface Serial0/1 ip address 192.168.3.1 255.255.255.0 serial restart-delay 0! Interface Serial0/2 no ip address shutdown serial restart-delay 0! Interface Serial0/3 no ip address shutdown serial restart-delay 0! Router ospf 1 log-adjacency-changes network 1.1.1.0 0.0.255 area 0 network 192.168.3.0 0.0.255 area 0! Router bgp 200 no bgp router-id 1.1.1.1 bgp log-neighbor-changes network 1.1.1.0 mask 255.255.0 255.3.3.3.3 remote-as 200 neighbor 3.3.3.3.3 update-source Loopback1 neighbor 3.3.3.3 next-hop-self neighbor 192.168.1.2 remote-as 100 no auto-summary! Ip http serverno ip http secure-serverip classless! Control-plane! Line con 0 line aux 0 line vty 0 4 login !! End R2: Building configuration... Current configuration: 1081 bytes! Version 12.3 service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption! Hostname r2! Boot-start-markerboot-end-marker !! Memory-size iomem 5no aaa new-modelip subnet-zero !! No ip domain lookup !! Ip cefip ips po max-events 100no ftp-server write-enable! Interface Loopback2 ip address 2.2.2.2 255.255.255.0! Interface Serial0/0 ip address 192.168.1.2 255.255.255.0 serial restart-delay 0! Interface Serial0/1 ip address 192.168.2.1 255.255.255.0 serial restart-delay 0! Interface Serial0/2 no ip address shutdown serial restart-delay 0! Interface Serial0/3 no ip address shutdown serial restart-delay 0! Router bgp 100 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes network 2.2.2.0 mask route 255.255.0 neighbor 192.168.1.1 remote-as 200 neighbor 192.168.2.2 remote-as 200 no auto-summary! Ip http serverno ip http secure-serverip classless! Control-plane! Line con 0 line aux 0 line vty 0 4 login !! R3: r3 # show running-configBuilding configuration... Current configuration: 1384 bytes! Version 12.3 service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption! Hostname r3! Boot-start-markerboot-end-marker !! Memory-size iomem 5no aaa new-modelip subnet-zero !! No ip domain lookup !! Ip cefip ips po max-events 100no ftp-server write-enable! Interface Loopback3 ip address 3.3.3.3 255.255.255.0! Interface Serial0/0 no ip address shutdown serial restart-delay 0! Interface Serial0/1 ip address 192.168.3.2 255.255.0 serial restart-delay 0! Interface Serial0/2 no ip address shutdown serial restart-delay 0! Interface Serial0/3 no ip address shutdown serial restart-delay 0! Interface FastEthernet1/0 ip address 192.168.4.1 255.255.255.0 duplex auto speed auto! Router ospf 1 log-adjacency-changes network 3.3.3.0 0.0.0.255 area 0 network 192.168.3.0 0.0.0.255 area 0 network 192.168.4.0 0.0.255 area 0! Router bgp 200 no bgp router-id 3.3.3.3 bgp log-neighbor-changes network 3.3.3.0 mask 255.255.255.0 255.1.1.1.1 remote-as 200 neighbor 1.1.1.1 update-source Loopback3 neighbor limit remote-as 200 neighbor limit update-source Loopback3 no auto-summary! Ip http serverno ip http secure-serverip classless! Control-plane! Line con 0 line aux 0 line vty 0 4 login !! End R4: r4 # show running-configBuilding configuration... Current configuration: 1340 bytes! Version 12.3 service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption! Hostname r4! Boot-start-markerboot-end-marker !! Memory-size iomem 5no aaa new-modelip subnet-zero !! No ip domain lookup !! Ip cefip ips po max-events 100no ftp-server write-enable! Interface Loopback4 ip address 4.4.4.4 255.255.255.0! Interface Serial0/0 no ip address shutdown serial restart-delay 0! Interface Serial0/1 ip address 192.168.2.2 255.255.0 serial restart-delay 0! Interface Serial0/2 no ip address shutdown serial restart-delay 0! Interface Serial0/3 no ip address shutdown serial restart-delay 0! Interface FastEthernet1/0 ip address 192.168.4.2 255.255.255.0 duplex auto speed auto! Router ospf 1 log-adjacency-changes network 4.4.4.0 0.0.0.255 area 0 network 192.168.4.0 0.0.0.255 area 0! Router bgp 200 no bgp router-id bgp log-neighbor-changes network 4.4.4.0 mask 255.255.255.0 255.3.3.3.3 remote-as 200 neighbor 3.3.3.3 update-source Loopback4 neighbor 3.3.3.3 next-hop-self neighbor 192.168.2.1 remote-as 100 no auto-summary! Ip http serverno ip http secure-serverip classless! Control-plane! Line con 0 line aux 0 line vty 0 4 login !! End

This article is from the "IT dream-qi-sharing" blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.