Sunteți pe pagina 1din 8

Name: Bhatt Milay Gautam

PRN: 150251923007
Computer Networks
Assignment of RIP:
Router 0 :
Router#show running-config
Building configuration...
Current configuration : 608 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
ip address 10.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
network 10.0.0.0

network 20.0.0.0
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

Router 1:
Router#show running-config
Building configuration...
Current configuration : 608 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
ip address 30.0.0.1 255.0.0.0
duplex auto
speed auto

!
interface FastEthernet0/1
ip address 20.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
network 20.0.0.0
network 30.0.0.0
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
IP route of Router 0:
Gateway of last resort is not set
C 10.0.0.0/8 is directly connected, FastEthernet0/0
C 20.0.0.0/8 is directly connected, FastEthernet0/1
R 30.0.0.0/8 [120/1] via 20.0.0.2, 00:00:00, FastEthernet0/1
IP route of Router 1:
Gateway of last resort is not set

R 10.0.0.0/8 [120/1] via 20.0.0.1, 00:00:17, FastEthernet0/1


C 20.0.0.0/8 is directly connected, FastEthernet0/1

C 30.0.0.0/8 is directly connected, FastEthernet0/0

Assignmet of OSPF:
Router 0:
Router# show running-config
Building configuration...
Current configuration : 887 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip cef
no ipv6 cef
!
license udi pid CISCO2911/K9 sn FTX15242CT0
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
ip address 172.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.0.0.1 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 192.10.10.1 255.255.255.240
duplex auto
speed auto
!
interface Vlan1

no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.10.10.0 0.0.0.15 area 44
network 172.168.1.0 0.0.0.255 area 44
network 10.0.0.0 0.0.0.3 area 44
!
ip classless
!
ip flow-export version 9
!
no cdp run
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
Router#
IP route of router 0:
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.0.0/30 is directly connected, GigabitEthernet0/1
L 10.0.0.1/32 is directly connected, GigabitEthernet0/1
126.0.0.0/29 is subnetted, 1 subnets
O 126.0.0.0/29 [110/2] via 10.0.0.2, 00:13:28, GigabitEthernet0/1
172.168.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.168.1.0/24 is directly connected, GigabitEthernet0/0
L 172.168.1.1/32 is directly connected, GigabitEthernet0/0
188.0.0.0/28 is subnetted, 1 subnets
O 188.0.0.0/28 [110/2] via 10.0.0.2, 00:13:28, GigabitEthernet0/1
192.10.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.10.10.0/28 is directly connected, GigabitEthernet0/2

Router 1:
Building configuration...

Current configuration : 918 bytes


!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
ip cef
no ipv6 cef
!
license udi pid CISCO2911/K9 sn FTX1524JA8C
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
ip address 10.0.0.2 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 188.0.0.1 255.255.255.240
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 126.0.0.1 255.255.255.248
duplex auto
speed auto
!
interface Vlan1

no ip address
shutdown
!
router ospf 2
log-adjacency-changes
!
router ospf 1
log-adjacency-changes
network 10.0.0.0 0.0.0.3 area 44
network 188.0.0.0 0.0.0.15 area 44
network 126.0.0.0 0.0.0.7 area 44
!
ip classless
!
ip flow-export version 9
!
no cdp run
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
IP route of Router 1:
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.0.0/30 is directly connected, GigabitEthernet0/0
L 10.0.0.2/32 is directly connected, GigabitEthernet0/0
126.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 126.0.0.0/29 is directly connected, GigabitEthernet0/2
L 126.0.0.1/32 is directly connected, GigabitEthernet0/2
172.168.0.0/24 is subnetted, 1 subnets
O 172.168.1.0/24 [110/2] via 10.0.0.1, 00:15:25, GigabitEthernet0/0
188.0.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 188.0.0.0/28 is directly connected, GigabitEthernet0/1

L 188.0.0.1/32 is directly connected, GigabitEthernet0/1


192.10.10.0/28 is subnetted, 1 subnets
O 192.10.10.0/28 [110/2] via 10.0.0.1, 00:15:25, GigabitEthernet0/0

S-ar putea să vă placă și