• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 157
  • Last Modified:

cannot redirect clients to internet

ello EXPERT

  I have a baystack router  act of as the default gateway for my two other remote subnetsl
hence all local clients has the address of baystack router as thier
their default gateway.

I recently configure a windows 2000 nat server to allows
clients to access the internet
i would like to impleament a static route
from the default router(baystack) to the windows 2000 nat server,
so packets destining for the internet will be directed out thru the
window 2000 rras server

how do i configure my baystack router (default gateway) so
it can have knowledge of the windows 2000 nat server.

the movement of packets should be

client A,B,C...

TO  BAYNETWORKS(DEFAULT GATEWAY)

TO WINDOWS 2000 NAT SERVER

TO INTERNET .

thanks
0
jomfra
Asked:
jomfra
  • 7
  • 5
1 Solution
 
thur6165Commented:
You need to setup a default route on the router to point to the private interface on the RAS server.  telnet into the router, here are some commands:

set WfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 1;commit
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 x.x.x.x;commit
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 y.y.y.y;commit

Remember, the commands are case sensitive.
x.x.x.x = next hop
y.y.y.y = next hop subnet mask

All packets will be forwarded to the RAS server.
0
 
jomfraAuthor Commented:
Hello thur6165,

                           Thank for the response.
Below is a list of the static routes(see figure1) I have for my two remote subnets
I need to verify if the commands you provided will append to this list (see figure 2)
Since only clients trying to reach the Internet should be directed to
the nat sever.
To ensure I have the correct picture I will replot how I understand the route will look after I add the default route would you please check I have the correct picture.
I am not too comfortable about baystack routers .

My baystack router is turn off every evening, hence I would
like this route to be retained by the router permanently,
if I need to delete a static route how can I do so.

The next hop in your response is it the private interface of ras server?

Thanks for you suggestion await you response.




[1:TN]$ show ip static
IP Destination    Network Mask     Cost       Nexthop      Valid Enabled
---------------- ---------------- -------- ---------------- ----- -------
192.168.2.0      255.255.255.0    1        192.168.4.2      Yes   Yes
192.168.3.0      255.255.255.0    1        192.168.4.3      Yes   Yes
2 entries found

                                            FIGURE (1)

[1:TN]$ show ip static
IP Destination    Network Mask     Cost       Nexthop      Valid Enabled
---------------- ---------------- -------- ---------------- ----- -------
192.168.2.0      255.255.255.0    1        192.168.4.2      Yes   Yes
192.168.3.0      255.255.255.0    1        192.168.4.3      Yes   Yes
00.00.00.00      255.255.255.0     1        x.x.x.x.             yes   yes


                                       FIGURE (2)



0
 
jomfraAuthor Commented:
HELLO EXPERT

someone please provide a response to the question
i am running out of time
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
thur6165Commented:
Sorry, I have been away.
IP = 0.0.0.0
MASK = 0.0.0.0
nexthop = private interface of RAS server

What this default route means is if the packet in not designated for 192.168.2.0 or 192.168.3.0 it will go to your RAS server.  Thats what you want right?
0
 
jomfraAuthor Commented:
Hello Thur6165,

Thanks for your response, your suggestion is exactly what I am attempting to achieve.
I Tried the commands you suggested. - below is the result
My ras interface ip address is not showing as the next hop.
Could please check where I went wrong

 
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 1;commit
 
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 192.168.1.75;commit
 
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 0.0.0.0;commit

[1:TN]$ show ip static

 IP Destination  Network Mask   Cost    Nexthop         Valid      Enabled
---------------- -------------       -------   ----------                
0.0.0.0               0.0.0.0            1        0.0.0.0             No         Yes
192.168.2.0      255.255.255.0    1      192.168.4.2       Yes         Yes
192.168.3.0      255.255.255.0    1       192.168.4.3      Yes         Yes
3 entries found

192.168.1.75     IS THE  PRIVATE INTERFACE OF THE RAS SERVER.

I HAVE TWO QUESTIONS

(1)      I F I WOULD LIKE TO CHANGE A ROUTE ENTRY HOW CAN I DO THIS?

(2)      ARE THEY ANY DELETE COMMANDS TO REMOVE A ROUTE?


Thank you
0
 
jomfraAuthor Commented:
Hello Thur6165,

Thanks for your response, your suggestion is exactly what I am attempting to achieve.
I Tried the commands you suggested. - below is the result
My ras interface ip address is not showing as the next hop.
Could please check where I went wrong

 
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 1;commit
 
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 192.168.1.75;commit
 
set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 0.0.0.0;commit

[1:TN]$ show ip static

 IP Destination  Network Mask   Cost    Nexthop         Valid      Enabled
---------------- -------------       -------   ----------                
0.0.0.0               0.0.0.0            1        0.0.0.0             No         Yes
192.168.2.0      255.255.255.0    1      192.168.4.2       Yes         Yes
192.168.3.0      255.255.255.0    1       192.168.4.3      Yes         Yes
3 entries found

192.168.1.75     IS THE  PRIVATE INTERFACE OF THE RAS SERVER.

I HAVE TWO QUESTIONS

(1)     I F I WOULD LIKE TO CHANGE A ROUTE ENTRY HOW CAN I DO THIS?

(2)     ARE THEY ANY DELETE COMMANDS TO REMOVE A ROUTE?


Thank you
0
 
thur6165Commented:
When you do this what to you get in your routing table.

set wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 192.168.1.75;commit
0
 
jomfraAuthor Commented:
hello

when i execute the command given

1:TN]$ show ip static

 IP Destination  Network Mask   Cost    Nexthop         Valid      Enabled
---------------- -------------       -------   ----------                
0.0.0.0               0.0.0.0            1        0.0.0.0             No         Yes
192.168.2.0      255.255.255.0    1      192.168.4.2       Yes         Yes
192.168.3.0      255.255.255.0    1       192.168.4.3      Yes         Yes

this is the return
and the route will 0.0.0.0 first line
will be lost when the router is turn off fot the evening
thanks
0
 
jomfraAuthor Commented:
hello

when i execute the command given

1:TN]$ show ip static

 IP Destination  Network Mask   Cost    Nexthop         Valid      Enabled
---------------- -------------       -------   ----------                
0.0.0.0               0.0.0.0            1        0.0.0.0             No         Yes
192.168.2.0      255.255.255.0    1      192.168.4.2       Yes         Yes
192.168.3.0      255.255.255.0    1       192.168.4.3      Yes         Yes

this is the return
and the route will 0.0.0.0 first line
will be lost when the router is turn off fot the evening
0
 
thur6165Commented:
Lets take a slightly different approach.

s wfIpStaticRouteEntry.1.0.0.0.0.0.0.0.0.1 1;commit
s wfIpStaticRouteEntry.wfIpSrNextHopAddr.0.0.0.0.0.0.0.0.1 x.x.x.x;commit
s wfIpStaticRouteEntry.wfIpSrNextHopMask.0.0.0.0.0.0.0.0.1 y.y.y.y;commit

x.x.x.x = next hop
y.y.y.y = next hop subnet mask

In order to keep the settings after you reboot:
save config config
0
 
jomfraAuthor Commented:
hello thru 6165,

                          Thank for all the help
Finally got it right.
thnak you
0
 
thur6165Commented:
Glad to hear,  If we have a solution please accept the answer to your question.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now