Configuration on Router R1
enableconfig t
! assigning name to the Router
host R1
! assigning ip address on the interface FastEthernet 0/0
int fa0/0
no sh
ip add 7.7.7.1 255.0.0.0
! assigning ip address on the interface FastEthernet 0/1
int fa0/1
no sh
ip add 192.168.1.100 255.255.255.0
! pointing default route towards Router R2
ip route 0.0.0.0 0.0.0.0 7.7.7.2
! shows ip address on the interfaces
do sh ip int br
!
Configuration on Router R2
enableconfig t
! assigning name to the Router
host R2
! assigning ip address on the interface FastEthernet 0/0
int fa0/0
no sh
ip add 7.7.7.2 255.0.0.0
! static route for Inside Network of Router R1
ip route 192.168.1.0 255.255.255.0 7.7.7.1
! shows ip address on the interfaces
do sh ip int br
!
0 comments:
Post a Comment