Solaris 10 Ethernet Configuration..

sometimes we missed simplicity, sometimes we missed the basics. what is the basic mean when we using multitasking or network ready operating systems? is just about connection to internet, usually over ethernet, and at the moment of writing this article, i’ve been using Solaris 10 as my daily basis OS.

daily basis OS mean all of my works depend on it, in case of internet connection, Solaris 10 use most commonly UNIX command, svcadm, routeadm, ifconfig, route, and ifconfig, also. So, what the hell with Solaris internet connection? Some people ask me how todo internet connection using ethernet card, what a simple task when we did it on Linux or FreeBSD/OpenBSD, but on Solaris 10 you must be sure, connecting to the internet, is not easy as you wish.. horrible.

okay, lets through these steps:

  1. open your console
  2. $ su
  3. get the version of your OS, # uname -a
  4. i get: SunOS risal-solaris 5.10 Generic_137138-09 i86pc i386 i86pc
  5. my network uses DHCP, so lets activate it, but first, let see your working ethernet card, # ifconfig -a
  6. i get: rtls0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4>
  7. uses DHCP connection, # ifconfig rtls0 down ; ifconfig rtls0 auto-dhcp
  8. see through your routing table, # vim /etc/defaultrouter
  9. be sure that it works!
  10. setup your dns connection, # vim /etc/resolv.conf
  11. fill with domain, nameserver and search parameter
  12. change the /etc/nsswitch.dns to /etc/nsswitch.conf , use cp command!
  13. lets try to route to google.com

# route get google.com
route to: jc-in-f99.google.com
destination: default
mask: default
interface: rtls0
recvpipe sendpipe ssthresh rtt,ms rttvar,ms hopcount mtu expire
0 0 0 0 0 0 1500 0

BINGO! you are in!

Leave a Reply

Please log in using one of these methods to post your comment:

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