Computing.Net > Forums > Networking > Redirect Traffic

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Redirect Traffic

Reply to Message Icon

Name: tboronczyk
Date: February 7, 2005 at 10:53:11 Pacific
OS: WinXP
CPU/Ram: PIV
Comment:

I need to redirect all traffic intended for a specific network (for example 10.4.160.0) to go to a specific machine on my network (example 192.168.2.17).

I've tried "route add 10.4.160.0 192.168.2.17", adding "192.168.2.17 10.4.160.0" to my hosts file and even tried setting up a route setting on my router/gateway device... all with no success.

Any thoughts?



Sponsored Link
Ads by Google

Response Number 1
Name: bpwrightwv
Date: February 7, 2005 at 11:01:27 Pacific
Reply:

what kind of router do you have?
also, the hosts file does dns like resolution, not routing.
also, a route statement should look something like
sourceipaddress sourcesubnetmask destination
10.4.160 255.255.255.0 192.168.2.17



0

Response Number 2
Name: Michael J (by mjdamato)
Date: February 7, 2005 at 11:13:09 Pacific
Reply:

Your router should have the ability to set one of your computers in what is called the DMZ. But, that computer will now be fully exposed to the internet so be sure to have a good software firewall installed.

Michael J


0

Response Number 3
Name: bpwrightwv
Date: February 7, 2005 at 11:20:47 Pacific
Reply:

but, will putting it in the dmz route traffic to it? or can you only forward specific ports to the dmz?


0

Response Number 4
Name: tboronczyk
Date: February 7, 2005 at 11:43:37 Pacific
Reply:

The router is a multi-tech soho router which also acts as our gateway.

route add 10.4.160 255.255.255.0 192.169.2.17 returns "bad argument 192.168.2.17"

route add 10.4.160 mask 255.255.255.0 192.169.2.17
returns "The route addition failed: The specified mask parameter is invalid. (Destination & Mask) != Destination."



0

Response Number 5
Name: bpwrightwv
Date: February 7, 2005 at 12:26:31 Pacific
Reply:

what happens if you enter 10.1.160.0 (with the zero at the end, I think I left that off)
10.1.160.0 255.255.255.0 192.169.2.17



0

Related Posts

See More



Response Number 6
Name: briantech
Date: February 7, 2005 at 12:49:41 Pacific
Reply:

You need to use policy routing, your router my not support it. that's all..


http://www.zyxel.com/support/supportnote/P791/app/policy.htm


0

Response Number 7
Name: Danny Larouche
Date: February 7, 2005 at 15:32:13 Pacific
Reply:

The given gateway address must be part of the network or subnet involved in the routing entry.

Danny Larouche


0

Response Number 8
Name: briantech
Date: February 7, 2005 at 16:13:46 Pacific
Reply:

By using policy routing , you can direct http traffic to where ever you want it to go.

By just using a static route does not Accomplishes nothing, you need to re-direct http traffic.


0

Response Number 9
Name: briantech
Date: February 7, 2005 at 16:35:33 Pacific
Reply:

Sorry, I thought you wanted to re-direct http traffic, but you can still use policy routing for what you want to do.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Redirect Traffic

Redirects outgoing requests to IP www.computing.net/answers/networking/redirects-outgoing-requests-to-ip/25104.html

Redirect URL to local address? www.computing.net/answers/networking/redirect-url-to-local-address/35208.html

Voice chat lags up games since router www.computing.net/answers/networking/voice-chat-lags-up-games-since-router/8462.html