• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

setup a static route

Steevo

Spammer representing.
Political User
#1
Scenerio

I have a AS/400 on our network at the main store. IP address 159.61.51.199 Subnet 255.255.255.0
My computer has 2 ethernet cards and a modem.
ISP IP 192.168.1.2 subnet 255.255.255.252 gateway 192.168.1.1
LAN side 192.168.0.1 subnet 255.255.255.255 gateway 192.168.0.1
Modem 159.61.51.206 subnet 255.255.255.255 gateway 159.61.51.208
Remote server Lan side 159.61.51.207 subnet 255.255.255.0 gateway 159.61.51.210
Remote server Modem 159.61.51.208 subnet 255.255.255.255

From my computer I can ping teh AS/400 .199 and a tracert reveals that the remote server is acting invisable so it appears
bla bla bla 159.61.51.208
bla bla bla 159.61.51.199

I want to be sure I am doing this right, I have RIP enabled on my XP machine, and Remote routing. Debian 192.168.0.5 can ping the modem 159.61.51.206 locally, but not any remote PC's or teh AS/400.

So I setup a route on my XP machine (route add 159.61.51.199 mask 255.255.255.255 159.61.51.206) so that any quierys would be directed through the modem.

I cannot setup or do mot understand how to setup a static route in Debain. I have read help more tiems than I care to think about.

route add 159.61.51.199 255.255.255.255 159.61.51.206

but it returns

inet_route add|del|show {-host|-net} Target bla bla bla

so I tried

inet_route add -host 159.61.51.206 -net 255.255.255.255 159.61.51.199

still no joy...


I have already whacked teh keyboard on teh tower. Any thoughts?
 
#3
are you trying to setup the default route? so that all unknown destination traffic go through the modem?

would be something like this then I would think
route add default <ip of modem>
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,240
Members
89,018
Latest member
timpage