Thursday, September 4, 2008

VOIP Lab 2 – VOIP Network Setup

The purpose of this lab is to setup the IP network connectivity configuration between Ballplayers, Inc’s locations in Baltimore and New York to support the eventual VOIP, as depicted in Lab 1.

Tasks 2.1 – Initial IP Network Setup

  1. Configure the IP addressing based on the diagram in VoIP Lab 1.
  2. R7 will serve as the “hub” location; its WAN interfaces shall have a “.1” host addresses and the corresponding WAN interfaces on the Baltimore and New York WAN interfaces shall have a “.2” host address.
  3. Provide a loopback interface on each router using a /32 mask.
  4. Configure PPP Encapsulation on the WAN links.
  5. Configure the clocking on the R7 with clock rate 128000.
  6. Configure OSPF Area 0 for the WAN.
  7. Place the R7 loopback in Area 0; the Baltimore loopback in OSPF Area 1; the New York loopback in Area 2.
  8. Verify IP connectivity via show ip route and by pinging each interface from each router.

Tasks 2.2 – Verifying the Network Setup

Verifying IP connectivity from Baltimore:

Baltimore#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/1563] via 172.16.1.1, 00:04:45, Serial0/2/0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.16.1.1/32 is directly connected, Serial0/2/0
C 172.16.1.0/24 is directly connected, Serial0/2/0
O 172.16.2.0/24 [110/1562] via 172.16.1.1, 00:05:25, Serial0/2/0
7.0.0.0/32 is subnetted, 1 subnets
O 7.7.7.7 [110/782] via 172.16.1.1, 00:14:19, Serial0/2/0
Baltimore#
Baltimore#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
Baltimore#ping 172.16.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
Baltimore#ping 172.16.2.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms
Baltimore#ping 7.7.7.7

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 7.7.7.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms
Baltimore#ping 172.16.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms
Baltimore#

Verifying IP connectivity from New York:

NewYork#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/1563] via 172.16.2.1, 00:06:44, Serial0/2/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
O 172.16.1.0/24 [110/1562] via 172.16.2.1, 00:06:44, Serial0/2/0
C 172.16.2.0/24 is directly connected, Serial0/2/0
C 172.16.2.1/32 is directly connected, Serial0/2/0
7.0.0.0/32 is subnetted, 1 subnets
O 7.7.7.7 [110/782] via 172.16.2.1, 00:06:45, Serial0/2/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
NewYork#
NewYork#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
NewYork#ping 172.16.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
NewYork#ping 172.16.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms
NewYork#ping 7.7.7.7

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 7.7.7.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms
NewYork#ping 172.16.2.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms
NewYork#

Verifying IP connectivity from R7:

R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.1.1.1 to network 0.0.0.0

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/782] via 172.16.1.2, 00:17:08, Serial0/0/0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/782] via 172.16.2.2, 00:05:40, Serial0/0/1
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.2.2/32 is directly connected, Serial0/0/1
C 172.16.1.0/24 is directly connected, Serial0/0/0
C 172.16.2.0/24 is directly connected, Serial0/0/1
C 172.16.1.2/32 is directly connected, Serial0/0/0
7.0.0.0/32 is subnetted, 1 subnets
C 7.7.7.7 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 10.1.1.1
R7#
R7#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/16 ms
R7#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/13/16 ms
R7#ping 172.16.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms
R7#ping 172.16.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/16 ms
R7#

Router Configs

Below are snippets from the router configurations. For brevity, I have omitted parts.

R7:
R7#sh run
Building configuration...
!
interface Loopback0
ip address 7.7.7.7 255.255.255.255
ip ospf network point-to-point
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.1.3 255.255.255.0
duplex auto
speed auto
no keepalive
!
interface Serial0/0/0
description Link to Baltimore
bandwidth 128
ip address 172.16.1.1 255.255.255.0
encapsulation ppp
clock rate 128000
!
interface Serial0/0/1
description Link to New York
bandwidth 128
ip address 172.16.2.1 255.255.255.0
encapsulation ppp
clock rate 128000
!
!output omitted
!
router ospf 1
router-id 7.7.7.7
log-adjacency-changes
network 7.7.7.7 0.0.0.0 area 0
network 172.16.1.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 0
!

Baltimore:
Baltimore#sh run
Building configuration...
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip ospf network point-to-point
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Service-Engine0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/2/0
description Link to New York via Hub (R7)
bandwidth 128
ip address 172.16.1.2 255.255.255.0
encapsulation ppp
!
interface Serial0/2/1
no ip address
shutdown
clock rate 2000000
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 1
network 172.16.1.0 0.0.0.255 area 0
!

New York City:
NewYork#sh run
Building configuration...
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip ospf network point-to-point
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/2/0
description Link to Baltimore via Hub (R7)
ip address 172.16.2.2 255.255.255.0
encapsulation ppp
!
interface Serial0/2/1
no ip address
shutdown
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 2
network 172.16.2.0 0.0.0.255 area 0


That was fairly easy and straight-forward – CCNP 201 BSCI I guess? Next task I’ll configure the FXS interfaces for the analog phones and some basic VoIP between Baltimore and New York.

No comments: