April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

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>