Re: Why this default route doesn't work ?
- From: "Doug Sherman [MVP]" <dsherman@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Jun 2005 16:36:24 -0400
If the mask is correct, the command should be:
route add 2.0.0.0 MASK 255.0.0.0 1.1.1.254
If the network ID is correct but the mask is wrong, the command should be:
route add 2.2.2.0 MASK 255.255.255.0 1.1.1.254
Also, if you only need to reach one machine as opposed to an entire network,
you can use a static route with the host IP and a full mask:
route add 2.2.2.2 MASK 255.255.255.255 1.1.1.254
Doug Sherman
MCSE, MCSA, MCP+I, MVP
"Magoo" <magoo-nospam@xxxxxxxxxxx> wrote in message
news:%23mNmST6ZFHA.2900@xxxxxxxxxxxxxxxxxxxxxxx
> Pardon me, I sent you misinformation:
> I have no default gateway set on the TCP/IP properties. That's why I
> configured the default route.
> correct, assume the subnet mask is correct (I edited the IP address before
> posting this message and in the process I didn't reflect my correct mask).
>
> Therefore all information is correct :
> Assume I have the correct default route set with the right subnect mask:
> route 2.2.2.0 MASK 255.0.0.0 1.1.1.254.
> It still returns destination host unreachable.
> How can this be ?
>
>
>
> "Doug Sherman [MVP]" <dsherman@xxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:Oy2lUN6ZFHA.1368@xxxxxxxxxxxxxxxxxxxxxxx
> > Well first of all, if the router/computer at 1.1.1.254 knows where to
send
> > packets destined for 2.2.2.2, then there is no need for a static route.
> > Second, if the router/computer at 1.1.1.254 does not know where to send
> > packets destined for 2.2.2.2, then a static route pointing to that
gateway
> > will not help. Finally, if you want to configure a static route to the
> > network on which 2.2.2.2 resides, it would be 2.0.0.0 NOT 2.2.2.0.
> >
> > Doug Sherman
> > MCSE, MCSA, MCP+I, MVP
> >
> > "Magoo" <magoo-nospam@xxxxxxxxxxx> wrote in message
> > news:uyNLjF6ZFHA.1456@xxxxxxxxxxxxxxxxxxxxxxx
> > > I have a Win2003 server named ISA with the following configuration
under
> > > TCP/IP Properties:
> > >
> > > IP address=1.1.1.1
> > > Subnet mask=255.0.0.0
> > > Defaut gateway=1.1.1.254
> > >
> > > That's it.
> > >
> > > Now I need to make sure this server will reach mypublisheserver.com.
> > > On the host file of ISA Server, I put
> > > mypublished server 2.2.2.2.
> > >
> > > Then I add a route:
> > > Route add -p 2.2.2.0 MASK 255.0.0.0 1.1.1.254
> > > I do a route print and I confirm the persistent, static route has been
> > > added.
> > >
> > > Then I ping mypublished server. It resolves to IP 2.2.2.2
accordingly,
> > but
> > > it returns:
> > > "Destination host unreachable"
> > >
> > > What's wrong ?
> > >
> > >
> > >
> >
> >
>
>
.
- Follow-Ups:
- Re: Why this default route doesn't work ?
- From: Neteng
- Re: Why this default route doesn't work ?
- References:
- Why this default route doesn't work ?
- From: Magoo
- Re: Why this default route doesn't work ?
- From: Doug Sherman [MVP]
- Re: Why this default route doesn't work ?
- From: Magoo
- Why this default route doesn't work ?
- Prev by Date: Using Net Dom to rename all the computers, changes in Active Direc
- Next by Date: Re: Broadcasts from another subnet
- Previous by thread: Re: Why this default route doesn't work ?
- Next by thread: Re: Why this default route doesn't work ?
- Index(es):
Relevant Pages
|