View Single Post

   
  #6 (permalink)  
Old 01-16-2008, 08:42 PM
Joe Wong
 
Posts: n/a
Default Re: question on adding static route

Hi Rick,

Right now, the LAN0 interface is connecting solely to a port on a PIX
device. It is configured as 10.101.66.118, with net mask 255.255.255.0. My
PIX IP is 10.101.66.139. What I tried to do is to config a route for all
traffic to 192.168.99.0 network going to the PIX. As I mentioned before, I
can ping 10.101.66.139 but route add always complain with network
unreachable error..

- Joe


On Thu, 12 Jan 2006, Rick Jones wrote:

> Joe Wong <joewong@tkodog.no-ip.com> wrote:
> > In this case, what should be the netmask and is there any other settings
> > is required to make 10.101.66.139 "local" to HPUX?

>
> That sounds a bit like putting the cart before the horse - unless you
> happen to be the network designer, one cannot just make-up the
> netmasks as you go along
>
> The netmask would have to be such that the bitwise AND of the netmask
> with the gateway IP or local IP is the same value.
>
> rick jones
>


--


Reply With Quote