zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Windows Routing

October 12, 2011 by Igor Drobot Leave a Comment

Some very simple and basic windows command line routing commands.
If you are working as a user without administrative permissions, you must execute CMD as Administrator

 

Example:
route ADD [address or network] MASK [255.255.255.252] [gateway IP]

route ADD 10.1.100.0 MASK 255.255.255.0 10.1.100.1

route ADD 10.1.100.0 MASK 255.255.255.0 10.1.100.1

Route ADD -p flag will add a persistent route, after restart this route will be still active:

route ADD -p 10.1.100.0 MASK 255.255.255.0 10.1.100.1

route ADD -p 10.1.100.0 MASK 255.255.255.0 10.1.100.1

Following command will print all available ipv4 routes:

route print -4

route print -4

Filed Under: Networking, Windows Tagged With: CMD, IPv4, Routing, Windows, Windows 7, Windows add route

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *