route add range of IP

August 7th, 2016

Does anyone here know how to route add range of IP in batch file? instead of adding line by line.cuz i need to route 10.0.1.0-10.0.254.0 to gateway.
i got three range of IP need to route,instead of adding hundred of line in batch file,which would be so tedious,anybody here got any workaround?

Answer #1
What? I don’t understand what you’re asking
Answer #2
why your are using private Ip`s ? what type or route are you using ? you can setup a Vlan using a cisco switch that will help you again you need some basic- medium knowledge of the cisco commands to do it.
Answer #3
why your are using private Ip`s ? what type or route are you using ? you can setup a Vlan using a cisco switch that will help you again you need some basic- medium knowledge of the cisco commands to do it.
its a vpn,thats why its in private IP.its a non-cisco routing environment.the task is to point every vpn tunnel to gateway,so every users that use different gateway able to join the tunnel.
but,nvm,i already solved it hours ago.thanks for your input

 

| Sitemap |