solaris10; Why I am not able to see route for add-on nic subnet; why its not picking from rc2.d/Sxxnetworks; ?

Hi !

Though I have a route in /etc/rc2.d/S45routes ; I am not seeing it after reboot. The said route is for a new NIC with a different subnet. How to ensure I have this route after each reboot, with out having to run svcadm restart network/physical.

Can you direct me to some source where I know the sequence of network events while booitng ?

Thanks
rags_cdotAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

robocatCommented:

route -p add ...

makes a route persistent.
0
RowleyCommented:
...after release 6/06///or thereabouts.
:)
Otherwise, the rc script is still the way to go. Post back the rc script, permissions on the script, if you don't have the -p option
0
rags_cdotAuthor Commented:
Ofcourse I added with route -p add network gateway;
Even then I have to add after every reboot :(
0
RowleyCommented:
We're just trying to get to the root of the issue here, and you never mentioned that the -p option wasn't working for you.

So.

When you add a static route with the -p option, do you see the entry in the routing table? Can you see the entry in /etc/inet/static_routes file? What does the routing-setup service show as?

svcs routing-setup

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rags_cdotAuthor Commented:
I am sorry for the delay, Your commands helped me to verify the routes. But the issue is related to my new external interfcae configuration, which is not correct. I did mistake while assigning ether address. I reset the interface settings and started afresh, it started working fine.
Thanks for your time and patience.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.