cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
602
Views
5
Helpful
3
Replies

Routing problem (?) on PIX 501

DAVMAC111
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

acomiskey
Level 10
Level 10

.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. = interface = network routing to

route outside 0.0.0.0 0.0.0.0 x.x.x.17

View solution in original post

3 Replies 3

acomiskey
Level 10
Level 10

.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. = interface = network routing to

route outside 0.0.0.0 0.0.0.0 x.x.x.17

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.

you got it and corrected my mistake above. oops :)

Getting Started

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:

Review Cisco Networking products for a $25 gift card