From the computer of: indianboy
(8 recipes)
Created: May 17, 2004
To view the Network tunable parameters on a Solaris machine, we can use the following commands
bash-2.03# ndd -get /dev/hme ? | pg
? (read only)
transceiver_inuse (read only)
link_status (read only)
link_speed (read only)
link_mode (read only)
ipg1 (read and write)
ipg2 (read and write)
use_int_xcvr (read and write)
pace_size (read and write)
adv_autoneg_cap (read and write)
adv_100T4_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)
autoneg_cap (read only)
100T4_cap (read only)
100fdx_cap (read only)
100hdx_cap (read only)
10fdx_cap (read only)
10hdx_cap (read only)
lp_autoneg_cap (read only)
lp_100T4_cap (read only)
output truncated.....
The ( read and write ) parameters are the ones that can be changed on the system
You should be root to change the parameters and the changes will be temporary .
for example lets take a common example
# ndd -get /dev/hme link_speed
1
#
Here it is specified that the link_speed (ethernet is 100Mbps). To change that to 10Mbps
we can do the following
# ndd -get /dev/hme link_speed ( present condition)
1
#
# ndd -set /dev/hme instance 0 ( if there is only one nic then no issues )
# ndd -set /dev/hme link_speed 0
# ndd -get /dev/hme link_speed
0
#
This is just an example other interesting parameters that can be changed are the ip_forwarding feature, which were normally carried out on firewalls. Now it is done by the firewalls during installation.
Anyway the command is
#ndd -set /dev/ip hme0:ip_forwarding 0
#ndd -get /dev/ip hme0:ip_forwarding
0
#
A value of 0 specifies a disabled condition.
Interesting Modules are
/dev/ip
/dev/hme
For making the changes permenant, make entries in the /etc/system file.
Subscribe to the Tech-Recipes Newsletter
You can get tips like this delivered in your email every week!
We will never, ever sell your email address or spam you.
Related recipes:
Check hme ethernet link speed, duplex, and status in Solaris
Remove a virtual interface in Solaris
Solaris 10: set subnet mask in zone
Create a virtual interface in Solaris
Simple Solaris IP Multipathing
View the routing table in Solaris
Get MAC address without root
Configure interface automatically with DHCP
Change the default route in Solaris
Change the subnet mask of an interface
Sponsored links
Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.Search
Tech Recipes
· Home
· Mac OS X
· Solaris
· Windows
· Programming
· UNIX
· Cisco
· MySQL
· Google
· Instant messaging
· Add recipes
· Leave feedback
· Recommend us
· RSS Syndication
Hot recipes
XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them
Firefox 3: Display Search Results in New Tab
Make XP look like Windows Vista / Longhorn for free!
How Do I Use or Open Bin, Cue, or ISO Files?
MySpace Hack: View Pictures and Comments on a Private Profile
Vista: Should I Install 64-bit or 32-bit Version? (x64 vs x86)
Hacks to Beat Rapidshare Download Limits and Waiting Time
SMS through E-Mail: Cingular, Nextel, Sprint, T-Mobile, Verizon, Virgin Mobile
Who's Online
There are currently, 2095 guest(s) and 2 member(s) that are online.
You are Anonymous user. You can register for free by clicking here
Information
Wish to advertise with us?
All logos and trademarks in this site are property of their respective owner. The comments and forum posts are property of their posters, all the rest © 2003-2007 by QD Ideas, LLC.
Users of this site are legally bound by the Terms and conditions and Disclaimer. Do not use this web site if you do not agree with these policies.
The members, admins, and authors of this website respect your privacy.
Page Generation: 0.76 Seconds
Sun Jul 20 17:46:02 2008