Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.