Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I add a route from to with a mask ?

I'm actually trying to access from to with 8080 port. Firewall is off on

I tried the following but no luck is the gateway of

route add mask

Many thanks.

share|improve this question

You need to understand your network setup better. I think you're a little confused about what a gateway or router is.

Most networks have a router. Your default gateway will be that router. The router should know the next-hop for each network (in this case 10.35.0.x and 10.10.10.x). So your client should be sending ALL outbound traffic to the router and it is the router that knows about the subnets.

Any routing commands should be reserved for the router (i.e. "gateway").

share|improve this answer
so do I have to configure/define subnets on to hop on ? – Cem Aug 19 '13 at 21:59
bwal grh mfft zbgsh? Let's go back a step. Can you draw your network explaining what the router is and whether you have access to configure that router? Who told you that you needed an explicit subnet route? What's your current routing tables looking like? – PP. Aug 19 '13 at 22:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .