#on router 1

        hostname R1
        # Interfaces
        interface fa0/0
        ip address 156.10.0.1 255.255.255.0
        no shutdown
        exit
        interface s0/0/0
        ip address 176.10.0.1 255.255.255.0
        clock rate 64000
        no shutdown
        exit

        # Routing
        ip route 0.0.0.0 0.0.0.0 176.10.0.2

        # Security
        enable secret class12345,
        service password-encryption
        security passwords min-length 8
        banner motd # Unauthorized access not allowed #

        line console 0
        password cisco
        login
        exec-timeout 5 0
        logging synchronous
        exit

        line vty 0 4
        password cisco
        login
        exec-timeout 5 0
        exit

        line aux 0
        no exec
        exit

        # SSH
        ip domain-name lab.local
        crypto key generate rsa modulus 1024
        username admin secret admin123
        line vty 0 4
        transport input ssh
        login local


#on router 2

hostname R2

        # Interfaces
        interface s0/0/0
        ip address 176.10.0.2 255.255.255.0
        no shutdown
        exit
        interface s0/0/1
        ip address 176.20.0.1 255.255.255.0
        clock rate 64000
        no shutdown
        exit

        # Routing
        ip route 156.10.0.0 255.255.255.0 176.10.0.1
        ip route 166.10.0.0 255.255.255.0 176.20.0.2

        # Security
        enable secret class12345
        service password-encryption
        security passwords min-length 8
        banner motd # Unauthorized access not allowed #

        line console 0
        password cisco
        login
        exec-timeout 5 0
        logging synchronous
        exit

        line vty 0 4
        password cisco
        login
        exec-timeout 5 0
        exit

        line aux 0
        no exec
        exit

        # SSH
        ip domain-name lab.local
        crypto key generate rsa modulus 1024
        username admin secret admin123
        line vty 0 4
        transport input ssh
        login local

#on router 3


hostname R3

        # Interfaces
        interface s0/0/1
        ip address 176.20.0.2 255.255.255.0
        no shutdown
        exit

        interface fa0/0
        ip address 166.10.0.1 255.255.255.0
        no shutdown
        exit

        # Routing
        ip route 0.0.0.0 0.0.0.0 176.20.0.1

        # Security
        enable secret class12345
        service password-encryption
        security passwords min-length 8

        banner motd # Unauthorized access not allowed #

        line console 0
        password cisco
        login
        exec-timeout 5 0
        logging synchronous
        exit

        line vty 0 4
        password cisco
        login
        exec-timeout 5 0
        exit

        line aux 0
        no exec
        exit

        # SSH
        ip domain-name lab.local
        crypto key generate rsa modulus 1024
        username admin secret admin123

        line vty 0 4
        transport input ssh
        login local
