0% found this document useful (0 votes)
15 views

VPN Virtual Private Network

Uploaded by

sivabalanapple13
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

VPN Virtual Private Network

Uploaded by

sivabalanapple13
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

VPN virtual private network

Assign IP and Gateway to all PC and Server


Assign IP and Routing for all router properly

Router 3
Would you like to enter the initial configuration dialog? [yes/no]:

Press RETURN to get started!

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state


to up

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 20.0.0.1 255.0.0.0
Router(config-if)#ip address 20.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state
to up

Router(config-if)#exit
Router(config)#
Router(config)#ip route 0.0.0.0 0.0.0.0 20.0.0.2
Router(config)#
Router(config)#int
Router(config)#interface t
Router(config)#interface tunnel 1

Router(config-if)#
%LINK-5-CHANGED: Interface Tunnel1, changed state to up

Router(config-if)#ip address 192.168.16.1 255.255.255.0


Router(config-if)#tunnel source g
Router(config-if)#tunnel source gigabitEthernet 0/1
Router(config-if)#tunnel destination 30.0.0.2
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel1, changed state to up

Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#ip route 40.0.0.0 255.0.0.0 192.168.16.2
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#wr
Building configuration...
[OK]
Router#
Router#
Router 4
Would you like to enter the initial configuration dialog? [yes/no]:

Press RETURN to get started!

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 40.0.0.1 255.0.0.0
Router(config-if)#ip address 40.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state


to up

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 30.0.0.2 255.0.0.0
Router(config-if)#ip address 30.0.0.2 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state


to up

Router(config-if)#exit
Router(config)#
Router(config)#ip route 0.0.0.0 0.0.0.0 30.0.0.1
Router(config)#
Router(config)#int
Router(config)#interface t
Router(config)#interface tunnel 2
Router(config)#interface tunnel 2

Router(config-if)#
%LINK-5-CHANGED: Interface Tunnel2, changed state to up

Router(config-if)#ip address 192.168.16.2 255.255.255.0


Router(config-if)#tunnel source g
Router(config-if)#tunnel source gigabitEthernet 0/1
Router(config-if)#tunnel destination 20.0.0.1
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel2, changed state to up

Router(config-if)#no shutdown
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf
Router#configure t
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 10.0.0.0 255.0.0.0 192.168.16.1
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#wr
Building configuration...
[OK]
Router#

You might also like