Friday, May 9, 2008

Solaris enable jumbo frames

Solaris 9 with a "ce" NIC
1. # ifconfig -a
lo0: flags=1000849 mtu 8232 index 1

inet 127.0.0.1 netmask ff000000

ce0: flags=1000843 mtu 1500 index 2

inet 128.200.197.161 netmask ffffff80 broadcast 128.200.197.255
ether 0:3:ba:d2:f6:d3

ce1: flags=1000843 mtu 1500 index 3

inet 192.168.2.101 netmask ffffff00 broadcast 192.168.2.255
ether 0:3:ba:d2:f6:d3

2. # ifconfig ce1 down unplumb

3. # ndd -set /dev/ce instance 1

4. # ndd -set /dev/ce accept-jumbo 1

5. #) ifconfig ce1 plumb 192.168.2.101 up

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...