IP route - route table

robina_80

Active Member
Hello people,

I don't really understand how to add a new route ie the syntax, for windows is it add route -p (ip address) mask (subnet) (gateway)

For the IP address is that the IP address of the source or to the destination and the same question for the mask and gateway

Can anyone please help as I'm bait clueless on this

Thanks

Rob
 
So lets say my pc with addresses -
Start/end172.16.8.0/15.254
Computer Ip - 172.16.9.1
Subnet - 255.255.248.0
Gateway - 172.16.15.254

Wants to talk to another pc on addresses -
Start/end 10.10.20.0/21.254
Computer Ip - 10.10.20.252
Subnet - 255.255.254.0
Gateway - 10.10.20.1

The syntax would be 10.10.20.0 mask 255.255.254.0 172.16.15.254
 
Last edited:
Back
Top