ā01-21-2018 02:40 AM - edited ā03-08-2019 01:29 PM
Hi Team,
This is a continued discussion from a previous one that I had answered closed prematurely.
Suspect I have a vlan issue, either on switch or router that is doing my head in, as the phone isn't getting it's IP address or anything else
Can someone please check the switch and router configs to see what isn't happening please?
Much appreciated again. :) :)
Thanks to Mark Malone, Julio Moisa and Paul Driver for their previous helpful comments for which I have used
Router and switch config is attached
Solved! Go to Solution.
ā01-26-2018 08:19 PM
ā01-21-2018 03:04 AM
Hello
your dhcp pool isn't defined correctly - you have two differing default routes and your nat acl isn't specific enough
Have you created vlans for the data and voice on the switch and is that switch interface trucked to the rtr?
Also You don't say what type of phone are connecting and is cdp or lldp enabled on the access port for the phone to be able to negotiate
res
paul
ā01-21-2018 04:08 AM
Hi Paul,
Thanks for your quick response.
Will look at the DHCP.
For the default routes.
ip route 0.0.0.0 0.0.0.0 203.1.233.220 (is for the ISP)
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 192.168.20.1 (from my 2691 MPS cisco router to the ISP via (ISP supplied router with)
For the nat acl. I could use 192.168.20.0 0.0.0.255
I have created the vlans on the switch as the attached file shows and fa0/24 is trunked to fa0/1 on router
Is a 7940 SIP based Cisco phone that is registered in CUCM 7.2.1 and CDP is enabled on switch
I did have another 7940 SIP based phone that was registered but that was having trouble so thought would use 1 for time being.
ā01-21-2018 01:03 PM - edited ā01-21-2018 01:07 PM
Hello
rtr
ip route 0.0.0.0 0.0.0.0 203.1.233.220 < this should be a more specific static route pointing the networks via its next hop < -- ip route x.x.x.x y.y.y.y 203.1.233.220
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 192.168.20.1 <--- ???? this should be 192.168.30.x < isp next hop)
conf t
ip dhcp pool Data-Voice
network 192.168.10.0 255.255.255.0
network 192.168.20.0 255.255.255.0 secondary
override default-router 192.168.20.2
default-router 192.168.10.2
dns-server 8.8.8.8 8.8.4.4
option 150 ip x.x.x.x <----- is this option required , are you downloading from tftp?
lease 0 8
SW
conf t
no interface VLAN2
no ip routing
spanning-tree vlan 1 -4092
interface FastEthernet0/24
no switchport access vlan 24
no spanning-tree portfast
interface VLAN1
ip address 192.168.10.x 255.255.255.0 ( not .2 as this is your rtrs ip address)
ip default-gateway 192.168.10.2
vlan 2
name Voice
exit
int x/x
description voice and data port
switchport mode access
switchport voice vlan 2
res
Paul
ā01-23-2018 02:34 AM
Find attached a schematic diagram of network on paper as packet tracer isn't allowed
Hope this helps
ā01-23-2018 02:36 AM
Hi Team,
Please find attached a schematic diagram of network on paper as packet tracer isn't allowed
Hope this helps
ā01-21-2018 04:10 AM
Hi Paul,
Thanks for your quick response.
Will look at the DHCP.
For the default routes.
ip route 0.0.0.0 0.0.0.0 203.1.233.220 (is for the ISP)
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 192.168.20.1 (from my 2691 MPS cisco router to the ISP via (ISP supplied router with)
For the nat acl. I could use 192.168.20.0 0.0.0.255
I have created the vlans on the switch as the attached file shows and fa0/24 is trunked to fa0/1 on router
Is a 7940 SIP based Cisco phone that is registered in CUCM 7.2.1 and CDP is enabled on switch
I did have another 7940 SIP based phone that was registered but that was having trouble so thought would use 1 for time being.
ā01-21-2018 04:34 AM - edited ā01-21-2018 04:34 AM
Hi
The phone should be connected to port under the VLAN 2 on the switch but I dont see a port with the VLAN 2. If the f0/24 is a trunk you should not configure vlan and portfast
interface FastEthernet0/24
description Trunk-to-Router
no switchport access vlan 24
switchport trunk encapsulation dot1q
switchport mode trunk
no spanning-tree portfast
Also is the VLAN 2 configured on the switch?
conf t
vlan 2
name VOICE
:-)
ā01-22-2018 01:21 PM
Hi Julio,
Thanks for your response. I added the vlans to the trunkport as a previous tech had suggested. Those entries have been updated now
vlan2 has been created.as shows in the router configuration ie interface vlan2
Phone is connected to port 3
ā01-21-2018 02:00 PM
Hello,
on a side note, is this a lab configuration or a real network ? There are multiple issues with your current configuration, which basically result in nothing working.
The DHCP pool configuration is in incomplete, I don't see how the voice Vlan is supposed to work either.
The NAT doesn't do anything, since you are matching a network that doesn't exist:
access-list 10 permit 192.168.0.0 0.0.0.255
This matches 192.168.0.0/24, a network I do not see configured anywhere. Also, you are NATing to a private address, 192.168.30.2/24, is this what you want to do, double NAT ?
It might be faster if you could provide a schematic drawing of what your network looks like, including the physical connections.
ā01-25-2018 04:23 AM
Hi Guys,
Updated schematic diagram and router/switch config so far
I tried to update the ip route with below but advised %incorrect ip address
ip route 203.1.233.220 255.255.255.0 192.168.20.1(fa0/0)
First is the ISP. Last is my router that connects to ISP
Didn't understand the comment re placing cisco phone ip address in vlan as when I placed 192.168.20.17 into the vlan 3 I got error of
Switch(config-subif)#ip address 192.168.20.14 255.255.255.0
192.168.20.0 overlaps with VLAN2
But I know that 20.14 is one of the excluded IP's in the range unless it's overlapping with the vlan2 ip address of 192.168.20.0. So I suppose the work around for that is to change the ip address for vlan2 to 21.0?
Thanks again.
ā01-25-2018 04:34 AM
Furthermore
Don't the vlan ip addresses have to correlate to the router sub interfaces?
ā01-26-2018 08:19 PM
ā01-27-2018 01:29 AM
Hi Georg,
Thanks for your comments.
I have already replied but updating further as I believe my previous response is inadequate for your double NAT comment
I think I should cancel these services on MPS Cisco router
-NAT, IP NAT inside and outside, ACL
-the excluded 192.168.20.0 IP address range entries
-(update the ISP router with exclusion ip addresses for what I need)
-take the LAN cable that runs from one of the LAN ports of the ISP router that goes to FA0/0 port on the back of this router and plug the end into FA0/1 port on the 2924 cisco switch
-update 2691 router table with ip route 0.0.0.0 0.0.0.0 x.x.x.x (ISP router address)
I can still have CUCM 7.2.1 access via 192.168.20.2 IP (secured)
My only thing am unsure of is how the sub interfaces on router would go but they interact with switch vlans which used port 24 thats is trunked to FA0/1 on router.
Please let me know your thoughts.
I have also posted the network diagram
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide