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

From ITCwiki
Jump to navigation Jump to search
(Created page with "=Router Configuration= <pre> hostname PodX-Router ! ip dhcp excluded-address 192.168.10.1 192.168.10.10 ! ip dhcp pool internal-voip network 192.168.10.0 255.255.255.0 d...")
 
No edit summary
Line 13: Line 13:
  ip address 172.17.144.50 255.255.255.0
  ip address 172.17.144.50 255.255.255.0
  ip nat outside
  ip nat outside
no shutdown
!
!
interface FastEthernet0/1.10
interface FastEthernet0/1.10
Line 18: Line 19:
  ip address 192.168.10.1 255.255.255.0
  ip address 192.168.10.1 255.255.255.0
  ip nat inside
  ip nat inside
no shutdown
!
!
ip route 0.0.0.0 0.0.0.0 172.17.144.1
ip route 0.0.0.0 0.0.0.0 172.17.144.1
Line 39: Line 41:
  switchport access vlan 10
  switchport access vlan 10
  switchport mode access
  switchport mode access
no shutdown
!
!
!
!
interface GigabitEthernet1/0/24
interface GigabitEthernet1/0/24
  switchport mode trunk
  switchport mode trunk
no shutdown
!
!
interface Vlan10
interface Vlan10

Revision as of 01:19, 30 October 2019

Router Configuration

hostname PodX-Router
!
ip dhcp excluded-address 192.168.10.1 192.168.10.10
!
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.50 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
!