Link to home
Start Free TrialLog in
Avatar of Jobeethemage
JobeethemageFlag for United States of America

asked on

Voip Lab

I am setting up a voip lab. I have 1 cisco 3560 switch. 1 2811 router. 1 pc and 1 esxi server.  The esxi server is on a different subnet but for some reason I cant ping it from the switch or the pc. I can from the router though. Most of the network is 10.10 but the exsi is on the 192 network. Below are my configs. I don't want to change any of the ip info or config. Just want to make it work the way it is.


Switch:
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
 switchport voice vlan 15
 spanning-tree portfast
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
 switchport voice vlan 15
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
 switchport voice vlan 15
 spanning-tree portfast
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
 switchport voice vlan 15
 spanning-tree portfast
!
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
 switchport voice vlan 15
 spanning-tree portfast
!
interface FastEthernet0/7
 switchport access vlan 10
 switchport mode access
 switchport voice vlan 15
 spanning-tree portfast
!
Omitted

interface Vlan1
 no ip address
 shutdown
!
interface Vlan11
 ip address 10.11.0.2 255.255.255.0
!
interface Vlan15
 no ip address
!
ip default-gateway 192.168.15.20
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 10.10.0.1
!
!
!
!
line con 0
 exec-timeout 120 0
 password cisco
 logging synchronous
 login
line vty 0 4
 login
line vty 5 15
 login
!
end

Switch# interface Vlan1
         ^
router:

Current configuration : 1788 bytes
!
! Last configuration change at 16:57:39 UTC Mon Jan 26 2015
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
!
dot11 syslog
ip source-route
!
!
ip cef
ip dhcp excluded-address 10.10.0.1 10.10.0.10
ip dhcp excluded-address 10.15.0.1 10.15.0.10
ip dhcp excluded-address 192.168.15.0 192.168.15.9
!
ip dhcp pool Data
 network 10.10.0.0 255.255.255.0
 default-router 10.10.0.1
 option 150 ip 10.10.0.1
!
ip dhcp pool Voice
 network 192.168.15.0 255.255.255.0
 default-router 192.168.15.1
 option 150 ip 192.168.15.1
!
!
!
no ip domain lookup
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811 sn FTX1425A0E5
!
!
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.10
 description Data VLAN
 encapsulation dot1Q 10
 ip address 10.10.0.1 255.255.255.0
!
interface FastEthernet0/0.11
 description Management VLAN
 encapsulation dot1Q 11
 ip address 10.11.0.1 255.255.255.0
!
interface FastEthernet0/0.15
 description Voice VLAN
 encapsulation dot1Q 15
 ip address 192.168.15.1 255.255.255.0
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 192.168.15.10 255.255.255.255 192.168.15.0
!
!
!
!
control-plane
!
!
!
!
mgcp profile default
!
!
!
!
!
line con 0
 exec-timeout 120 0
 password cisco
 logging synchronous
 login
line aux 0
line vty 0 4
 login
 transport input all
!
scheduler allocate 20000 1000
end

Router#
Avatar of José Méndez
José Méndez

Questions:

- The PC is configured with 10.10.0.1 as its def gateway?
- Can you ping 192.168.15.1 from the PC?
- Please copy the output of a tracert 192.168.15.1
- The output of a show ip route from the gateway
- Have you tried adding the <ip routing> command to the 2811?
Avatar of Jobeethemage

ASKER

----Yes, pc has 10.10.0.1 as gateway  

 -----    10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C        10.10.0.0/24 is directly connected, FastEthernet0/0.10
L        10.10.0.1/32 is directly connected, FastEthernet0/0.10
C        10.11.0.0/24 is directly connected, FastEthernet0/0.11
L        10.11.0.1/32 is directly connected, FastEthernet0/0.11
      192.168.15.0/24 is variably subnetted, 3 subnets, 2 masks
C        192.168.15.0/24 is directly connected, FastEthernet0/0.15
L        192.168.15.1/32 is directly connected, FastEthernet0/0.15
S        192.168.15.10/32 [1/0] via 192.168.15.0
Router#


pc can ping 192.168.15.1
- Have you tried adding the <ip routing> command to the 2811?

or

if it already has that command, try negating it

no ip routing

play around with that and see
judging from the wireshark capture it seems like when I try to ping 192.168.15.10, it gets there but cant get back. does this help at all?
Avatar of Predrag Jovic
nice route on router :)
ip route 192.168.15.10 255.255.255.255 192.168.15.0
delete it

Data pool don't need option 150

pc can ping 192.168.15.1
What is 192.168.15.10 default gateway?
if gateway is 192.168.15.1
then what is output from
show int trunk
show vlan
Gateway for 192.168.15.10 is 192.168.15.1

Switch#show int trunk

Port        Mode             Encapsulation  Status        Native vlan
Fa0/1       on               802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/1       1-4094

Port        Vlans allowed and active in management domain
Fa0/1       1,10-11,15

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/1       1,10-11,15


Switch#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/25, Fa0/26, Fa0/27, Fa0/28
                                                Fa0/29, Fa0/30, Fa0/31, Fa0/32
                                                Fa0/33, Fa0/34, Fa0/35, Fa0/36
                                                Fa0/37, Fa0/38, Fa0/39, Fa0/40
                                                Fa0/41, Fa0/42, Fa0/43, Fa0/44
                                                Fa0/45, Fa0/46, Fa0/47, Fa0/48
                                                Gi0/1, Gi0/2, Gi0/3, Gi0/4
10   Data                             active    Fa0/2, Fa0/3, Fa0/4, Fa0/5
                                                Fa0/6, Fa0/7, Fa0/8, Fa0/9
                                                Fa0/10, Fa0/11, Fa0/12, Fa0/13
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21
                                                Fa0/22, Fa0/23, Fa0/24
11   Management                       active
15   voice                            active    Fa0/2, Fa0/3, Fa0/4, Fa0/5
                                                Fa0/6, Fa0/7, Fa0/8, Fa0/9
                                                Fa0/10, Fa0/11, Fa0/12, Fa0/13
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21
                                                Fa0/22, Fa0/23, Fa0/24
 --More--
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That last set of commands made it work.  Can you please explain to me why ?
Trunk needed native VLAN for trunk to work properly.