SiNgAuTaRa - Live with EMC # NetApp # Solaris # Linux # UNIX

February 19, 2007

Network Configuration Solaris

Filed under: solaris, unix

Here some tips for network configuration and checking using solaris. Normally the you can look inside /etc/system or /etc/rc2.d

- enable network card bge0

#ifconfig bge0 plumb

- configure IP/netmask and interface up

#ifconfig bge0 999.99.99.99 netmask 255.255.255.0 up

- check link status

# ndd /dev/bge0 link_status
1

link status 0 = Link Down
link status 1 = Link Up

- check link speed

# ndd /dev/bge0 link_speed
1

link speed 0 = 10 Mbps
link speed 1 = 100 Mbps
link speed 1000 = 1 Gbit

- check link mode

# ndd /dev/bge0 link_mode
1

link mode 0 = Half-Duplex mode (FDX)
link mode 1 = Full-Duplex mode (HDX)

- check NIC configuration

# ndd -get /dev/bge0 \?
adv_1000fdx_cap (read and write)
adv_1000hdx_cap (read and write)
adv_100fdx_cap (read and write)
adv_100hdx_cap (read and write)
adv_10fdx_cap (read and write)
adv_10hdx_cap (read and write)
adv_autoneg_cap (read and write)
adv_pause_cap (read and write)
adv_asym_pause_cap (read and write)
link_status (read only)
link_speed (read only)
link_duplex (read only)
loop_mode (read only)

#ndd /dev/bge0 [apa apa]

Comments »

The URI to TrackBack this entry is: http://singautara.blogsome.com/2007/02/19/network-configuration-solaris/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Gary Rogers