November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Solaris Add Defualt Route

netstat -nr

route delete default 192.168.1.251

ou can add default router temporarily by following command

route add default 192.168.10.249

You can add default router permanently by following commands

route -p add default 192.168.1.249

Or

echo 192.168.1.249 > /etc/defaultrouter

It will create /etc/defaultrouter file if not already available.
Next time you restart you system 192.168.1.249 will be automatically added to default router.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>