need help with solaris
hi guys,
i am new to solaris. what command do i use to setup the box as a router. THANKS |
That depends on what kind of router you want. Start here:
http://docs.sun.com/app/docs/doc/819...jj?l=en&a=view |
Thanks friend,
Actually what i want to attain is ip-forwarding in solaris. i wouldnt mind if you can just point out the basic things i need to do. Hope to hear from you soon Thanks |
Use the routeadm command to enable ip-forwarding.
Code:
routeadm -e ipv4-forwarding Code:
svcadm enable ipv4-forwarding |
Thanks so much friend, i tend to be more familiar with linux but now i want to move into Unix. Solaris to be precized.
i would be really oblige if you can tell me the relevants commands you think i should know in solaris. Less i forget while i wad surfing the net and looking for info on how to enable ip_forwarding in solaris. i saw something like this : ifconfig iprb0 plumb i was wondering if this was similar to : ifconfig iprb0 up Hope to hear from you . Thanks |
They are similar but different commands.
"ifconfig iprb0 plumb" makes the iprb0 interface available for further commands. "ifconfig iprb0 unplumb" does the opposite. After unplumbing an interface, it won't appear in "ifconfig -a" output. "ifconfig iprb0 up" makes the iprb0 interface up, i.e. able to send and receive packets. "ifconfig iprb0 down" is disabling all traffic from the interface but all its other settings are still there. |
hi thanks very much for taking out time to put me through i appreciate.
Can i also use the following commands to enable ip_forwarding ndd -set /dev/ip ip_forwarding 1 svcadm enable svc:/network/ipv4-forwarding Thanks |
Quote:
Quote:
|
thanks so much. pls sir i still have more questions to ask.
i will start with : 1.)I kindly want to know how to switch from CDE in solaris to CLI just the way i do it in linux with alt+ctrl f1,f2,f3 etc. 2.)how do i know my current runlevel and how do i change it cos i have gone through the inittab but it is totally difference. 3.)how do i veiw my routing table, is it route -rn Thanks. |
Quote:
Quote:
Quote:
Code:
netstat -rn |
Thank you very much for the reply.
well regarding switching btw Gui and Cli, i do it a lot on Linux so i was thinking it was going to be possible in Solaris 10. Less i forget pls how do i stop,start,restart a service, how do i know services that are currently running or not running. I will be really be glade. It really has not been easy with solaris 10 but i know i will be a master soon. Thanks onces again for your assistance. Thanks. |
Quote:
To disable the graphic environment, run: Code:
/usr/dt/dtconfig -d Code:
/usr/dt/dtconfig -e Quote:
Code:
svcs -a |
All times are GMT -5. The time now is 12:12 PM. |