Link to home
Start Free TrialLog in
Avatar of jomfra
jomfra

asked on

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
Avatar of thur6165
thur6165

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.
Avatar of jomfra

ASKER

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)



Avatar of jomfra

ASKER

HELLO EXPERT

someone please provide a response to the question
i am running out of time
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?
Avatar of jomfra

ASKER

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
Avatar of jomfra

ASKER

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
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
Avatar of jomfra

ASKER

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
Avatar of jomfra

ASKER

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
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
Avatar of jomfra

ASKER

hello thru 6165,

                          Thank for all the help
Finally got it right.
thnak you
ASKER CERTIFIED SOLUTION
Avatar of thur6165
thur6165

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial