ITC-2300 VoIP Lab Switch and Router Configurations: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
hostname PodX-Router
hostname PodX-Router
!
!
ip dhcp excluded-address 192.168.10.1 192.168.10.10
ip dhcp excluded-address 192.168.10.1 192.168.10.20
!
!
ip dhcp pool internal-voip
ip dhcp pool internal-voip

Revision as of 01:22, 30 October 2019

Don't forget to modify for the information specific to your Pod:

  • Change the hostname of both the Router and Switch to include your Pod Number
  • Change the IP Address on the Router Fa0/0 interface to the correct IP for your pod

You may want to make some additional changes for administration ease:

  • Set an enable secret
  • Setup a username and secret on both devices
  • Setup SSH on both devices

Router Configuration

hostname PodX-Router
!
ip dhcp excluded-address 192.168.10.1 192.168.10.20
!
ip dhcp pool internal-voip
   network 192.168.10.0 255.255.255.0
   dns-server 172.17.139.10
   default-router 192.168.10.1
!
interface FastEthernet0/0
 ip address 172.17.144.XX 255.255.255.0
 ip nat outside
 no shutdown
!
interface FastEthernet0/1.10
 encapsulation dot1Q 10
 ip address 192.168.10.1 255.255.255.0
 ip nat inside
 no shutdown
!
ip route 0.0.0.0 0.0.0.0 172.17.144.1
!
ip nat inside source list 1 interface FastEthernet0/0 overload
!
access-list 1 permit 192.168.10.0 0.0.0.255

Switch Configuration

hostname PodX-Switch
!
vtp mode transparent
!
vlan 10
!
spanning-tree portfast default
!
interface GigabitEthernet1/0/1
 switchport access vlan 10
 switchport mode access
 no shutdown
!
!
interface GigabitEthernet1/0/24
 switchport mode trunk
 no shutdown
!
interface Vlan10
 ip address 192.168.10.2 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.10.1
!