Task of configuration of 3 routers given by sir
1. Create a network topology like this.
2. IP configuration of router 1:
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with
CNTL/Z.
➢ Router(config)#interface serial0/3/0
➢ Router(config-if)#ip address 3
➢^
➢ % Invalid input detected at '^' marker.
➢ Router(config-if)#ip address 3.0.0.2 255.0.0.0
➢ Router(config-if)#no shutdown
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to
down
➢ Router(config-if)#interface serial0/3/1
➢ Router(config-if)#ip address 4.0.0.1 255.0.0.0
➢ Router(config-if)#no shutdown
➢ %LINK-5-CHANGED: Interface Serial0/3/1, changed state to
down
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
3. IP Configuration of router 2:
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with
CNTL/Z.
➢ Router(config)#interface serial 0/3/0
➢ Router(config-if)#ip address 3.0.0.1
➢ % Incomplete command.
➢ Router(config-if)#ip address 3.0.0.1 255
➢^
➢ % Invalid input detected at '^' marker.
➢ Router(config-if)#ip address 3.0.0.1 255.0.0.0
➢ Router(config-if)#no shutdown
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to
up
➢ %LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial0/3/0, changed state to up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#interface serial 0/3/1
➢ Router(config-if)#ip address 2.0.0.1
➢ % Incomplete command.
➢ Router(config-if)#ip address 2.0.0.1 255.0.0.0
➢ Router(config-if)#no shutdown
➢ %LINK-5-CHANGED: Interface Serial0/3/1, changed state to
down
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#interface gigabitethernet0/0
➢ Router(config-if)#ip address 1.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)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
4. IP Configuration of Router 4:
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with
CNTL/Z.
➢ Router(config)#interface serial 0/3/1
➢ Router(config-if)#ip address 4.0.0.2 255.0.0.0
➢ Router(config-if)#no shutdown
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/1, changed state to
up
➢ %LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial0/3/1, changed state to up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#interface serial 0/3/0
➢ Router(config-if)#ip address 2.0.0.2 255.0.0.0
➢ Router(config-if)#no shutdown
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to
up
➢ %LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial0/3/0, changed state to up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#interface gigabitethernet0/0\
➢ ^
➢ % Invalid input detected at '^' marker.
➢ Router(config-if)#interface gigabitethernet0/0
➢ Router(config-if)#ip address 5.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)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
5. PC IP Configuration:
1) PC 0
2) PC 1
3) PC 2
4) PC 3
6. Static Routing Configuration on Router 1:
ROUTER(config)#ip route 4.0.0.0 255.0.0.0 3.0.0.2
ROUTER(config)#ip route 4.0.0.0 255.0.0.0 2.0.0.2
ROUTER(config)#ip route 5.0.0.0 255.0.0.0 2.0.0.2
ROUTER(config)#ip route 5.0.0.0 255.0.0.0 3.0.0.2
7. Static Routing Configuration on Router 2:
ROUTER(config)#ip route 1.0.0.0 255.0.0.0 2.0.0.1
ROUTER(config)#ip route 1.0.0.0 255.0.0.0 4.0.0.1
ROUTER(config)#ip route 3.0.0.0 255.0.0.0 4.0.0.1
ROUTER(config)#ip route 3.0.0.0 255.0.0.0 2.0.0.1
8. Static Routing Configuration on Router 4:
ROUTER(config)#ip route 1.0.0.0 255.0.0.0 3.0.0.1
ROUTER(config)#ip route 1.0.0.0 255.0.0.0 4.0.0.2
ROUTER(config)#ip route 2.0.0.0 255.0.0.0 4.0.0.2
ROUTER(config)#ip route 2.0.0.0 255.0.0.0 3.0.0.1
ROUTER(config)#ip route 5.0.0.0 255.0.0.0 4.0.0.2
ROUTER(config)#ip route 5.0.0.0 255.0.0.0 3.0.0.1
9. Check routing Tables of Routers:
1) Routing Table of Router 1:
ROUTER#show ip route
C 1.0.0.0/8 is directly connected, FastEthernet0/0
C 2.0.0.0/8 is directly connected, Serial0/0/0
C 3.0.0.0/8 is directly connected, Serial0/0/1
S 4.0.0.0/8 [1/0] via 2.0.0.2
[1/0] via 3.0.0.2
S 5.0.0.0/8 [1/0] via 2.0.0.2
[1/0] via 3.0.0.2
2) Routing Table of Router ROUTER 2:
ROUTER#show ip route
S 1.0.0.0/8 [1/0] via 2.0.0.1
[1/0] via 4.0.0.1
C 2.0.0.0/8 is directly connected, Serial0/0/0
S 3.0.0.0/8 [1/0] via 4.0.0.1
[1/0] via 2.0.0.1
C 4.0.0.0/8 is directly connected, Serial0/0/1
C 5.0.0.0/8 is directly connected, FastEthernet0/0
3) Routing Table of Router 4:
ROUTER#show ip route
S 1.0.0.0/8 [1/0] via 3.0.0.1
[1/0] via 4.0.0.2
S 2.0.0.0/8 [1/0] via 4.0.0.2
[1/0] via 3.0.0.1
C 3.0.0.0/8 is directly connected, Serial0/0/0
C 4.0.0.0/8 is directly connected, Serial0/0/1
S 5.0.0.0/8 [1/0] via 4.0.0.2
[1/0] via 3.0.0.1