Syed Jahanzaib Personal Blog to Share Knowledge !

December 4, 2009

Howto add permanent ROUTE ?

Filed under: Linux Related — Syed Jahanzaib / Pinochio~:) @ 12:38 PM

WIN*
Following is the command to add permanent route to connect to another network using your local route / gateway.

route -p ADD 192.168.0.0 MASK 255.255.255.0 192.168.0.100 METRIC 3 IF

Where 192.168.0.0 is your target network , and 192.168.0.100 is your local router / gateway.

*niX:
route add default gw 192.168.2.100

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: