03-10-2018 07:10 PM - edited 03-08-2019 02:12 PM
Hi Team,
This is all for the purpose of SIP connectivity so am assuming that you do need to be able to have ping established connection for SIP to progress too
Unfortunately I have lost access to my ISP's router of 220.233.1.203
My set up is this
ISP router 192.168.20.1
Cisco 2691 MPS router 192.168.20.2 via FA0/0 to port 3 on router
This is a double NAT environment but have added 192.168.20.2 IP to the DMZ in the Firewall
Below is the current routing table
CiscoCurious#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
C 192.168.30.0/24 is directly connected, FastEthernet0/0
C 192.168.11.0/24 is directly connected, FastEthernet0/1.1
C 192.168.20.0/24 is directly connected, FastEthernet0/1.10
CiscoCurious#
Some commands I have run are...
CiscoCurious(config)#ip route 203.1.233.220 255.255.255.0 192.168.20.2
%Inconsistent address and mask
CiscoCurious(config)#ip route 203.1.233.220 255.255.255.0 192.168.20.1
%Inconsistent address and mask
CiscoCurious(config)#
CiscoCurious(config)#ip route 203.1.233.220 255.255.255.0 FA0/0
%Inconsistent address and mask
CiscoCurious(config)#
CiscoCurious(config)#ip route 203.1.233.220 255.255.255.0 FA0/0 permanent
%Inconsistent address and mask
CiscoCurious(config)#
The last one resulted in this change
"Gateway of last resort is 0.0.0.0 to network 0.0.0.0"
C 192.168.30.0/24 is directly connected, FastEthernet0/0
C 192.168.11.0/24 is directly connected, FastEthernet0/1.1
C 192.168.20.0/24 is directly connected, FastEthernet0/1.10
And this "S* 0.0.0.0/0 is directly connected, FastEthernet0/0"
CiscoCurious#
I had thought that ip route destination ip, mask, 192.168.20.1 would have sufficed considering 192.168.20.2 (my cisco router) is already in the ISP router firewall on my side unless I need to use next hop?
Thanks again. If this doesn't make sense, let me know and will assist further
Solved! Go to Solution.
03-14-2018 05:45 PM
Hi Deepak,
Thanks for your help so far. Much appreciated. I have chatted to my ISP re this issue and all route updates we have done and no connection yet to them.
They have asked me to submit a request for assistance to get this connected. So I will leave this open for time being if your OK with that. Let me know.
03-10-2018 07:41 PM - edited 03-10-2018 07:42 PM
Hi,
CiscoCurious(config)#ip route 203.1.233.220 255.255.255.0 192.168.20.2
%Inconsistent address and mask
Your statement is incorrect. If you want to have a static router to 203.1.233.220 255.255.255.0
You have to use the subnet and not the host address. So, the statement would look like this:
ip route 203.1.233.0 255.255.255.0 192.168.20.1
Also, I am not sure why you need to have this statement at all because if you are trying to reach the outside world using the SIP, you need a default route
ip route 0.0.0.0 0.0.0.0 192.168.20.1 (ISP router)
HTH
03-10-2018 09:20 PM
Hi Reza,
Thanks for your quick reply.
I tried that path already and system replied with (it's this router) and inconsistent address
Tried default route
ip route 0.0.0.0 0.0.0.0 220.233.1.203 and that gets me to ISP router. Thanks very much. Have to note that down.
Now. Tried pinging and traceroute to ISP but not work. Just gives me rows of stars.
03-10-2018 09:24 PM - edited 03-10-2018 10:01 PM
Hi,
You are making some mistake in the configuration of the routes as
CiscoCurious(config)#ip route 203.1.233.220 255.255.255.0 192.168.20.2
%Inconsistent address and mask
You used the host address but as per your subnet, it is required a "Network address / Subnet".
You can make it as:
CiscoCurious(config)#ip route 203.1.233.0 255.255.255.0 192.168.20.1
But as per you mentioned that you want to reach outside world. I have to use the default route:
CiscoCurious(config)#ip route 0.0.0.0 0.0.0.0 192.168.20.1
Try this on your router. I am sure that your problem will resolve. Typo edited.
Don't forget to vote a good solution.
Regards,
Deepak Kumar
03-10-2018 09:54 PM
Thanks Deepak for your reply.
Updated table. Unfortunately that didn't work. :)
03-10-2018 10:00 PM
03-10-2018 10:26 PM
Thanks Deepak,
I tried that. Invalid next hop address( It's this router) message
03-10-2018 10:36 PM
03-10-2018 11:02 PM
Hi Deepak.
Setup is simple
ISP supplied router (192.168.20.1) having 4 ether ports and 1 eth WLAN that goes to ISP
2691 MPS Cisco router (192.168.20.2) connects to this via FA0/0
As this is double NAT I have placed cisco routers IP address in the ISP supplied router firewall in the DMZ
Using console cable to connect to router at this stage
HTH
03-10-2018 11:37 PM
Hi,
Is it possible to share the running configuration of both routers?
Regards,
Deepak Kumar
03-10-2018 11:49 PM
Sure can. Getting now.
03-10-2018 11:53 PM
This is a router on a stick scenario. 1 router and 1 layer 2 switch. Am doing this from the router though. Do you still want the configs?
03-11-2018 12:11 AM
03-11-2018 12:26 AM
Getting now. One moment
03-11-2018 01:06 AM
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