05-31-2007 06:43 AM - edited 03-11-2019 03:23 AM
When I type: show route
the outside entry seems to be incorrect.
It shows
x.x.x.16 255.255.255.248 x.x.x.20 1 CONNECT static
Now, if the cable modem/router's IP is rather:
x.x.x.17 (and NOT x.x.x.16)
Shouldn't the show route output be:
x.x.x.17
As it stands, I can ping (from the PIX) the:
- inside interface
- outside interface
- cable modem / router
but not the enigmatic x.x.x.16, nor can I ping anything beyond the cable modem.
For example:
pixfw# ping x.x.x.171
No route to host x.x.x.171.
Usage: ping [if_name] <host>
Note: this was IP address of ISP DNS server.
How can I change the x.x.x.16 to x.x.x.17 (assuming that is what i need to do)?
I tried this, out of curiosity, to create a default route:
pixfw# configure terminal
pixfw(config)# route 0 0 x.x.x.17 1
Usage: [no] route <if_name> <foreign_ip> <mask> <gateway> [<metric>]
What should <if_name> be?
What should <foreign_ip> be?
Thank you,
David
Solved! Go to Solution.
05-31-2007 06:51 AM
.16 is the network number. It is not a host address. In the x.x.x.16 255.255.255.248 network, the usable host addresses are 17-30 and 31 is the broadcast address. The pix is telling you that the network is attached to x.x.x.20. Add the default route with the command below.
route outside 0.0.0.0 0.0.0.0 x.x.x.17
05-31-2007 06:51 AM
.16 is the network number. It is not a host address. In the x.x.x.16 255.255.255.248 network, the usable host addresses are 17-30 and 31 is the broadcast address. The pix is telling you that the network is attached to x.x.x.20. Add the default route with the command below.
route outside 0.0.0.0 0.0.0.0 x.x.x.17
05-31-2007 10:19 AM
Of course!
255.255.255.248
256 - 248 = 8
0-7 0 = network address of this subnet, 7 = broadcast
8-15 8 = network address of this subnet, 15 = broadcast
16-23 16 = etc. etc.
(I'm just learning how to subnet)
Anyway, thanks a lot.
05-31-2007 10:35 AM
you got it and corrected my mistake above. oops :)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: