<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hackspherelabs.com/index.php?action=history&amp;feed=atom&amp;title=Gigabit</id>
	<title>Gigabit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hackspherelabs.com/index.php?action=history&amp;feed=atom&amp;title=Gigabit"/>
	<link rel="alternate" type="text/html" href="https://wiki.hackspherelabs.com/index.php?title=Gigabit&amp;action=history"/>
	<updated>2026-10-13T15:10:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.hackspherelabs.com/index.php?title=Gigabit&amp;diff=259&amp;oldid=prev</id>
		<title>Webdawg: Created page with &quot;If you transfer files over your LAN and do not have gigabit...get it.  Right now my gigabit equipment is lacking.  I have some new equipment ready to test.  Here are some tests a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackspherelabs.com/index.php?title=Gigabit&amp;diff=259&amp;oldid=prev"/>
		<updated>2011-11-29T04:36:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If you transfer files over your LAN and do not have gigabit...get it.  Right now my gigabit equipment is lacking.  I have some new equipment ready to test.  Here are some tests a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you transfer files over your LAN and do not have gigabit...get it.&lt;br /&gt;
&lt;br /&gt;
Right now my gigabit equipment is lacking.  I have some new equipment ready to test.  Here are some tests and config tips and guides.  You will have problems with SOHO switches not really supporting Jumbo Frames and problems with protocols keeping up with the connection speed.  I suggest Cisco because I have used them but I am about to test a nice Dell switch.&lt;br /&gt;
&lt;br /&gt;
These are some of my tests.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ZFS, NFS, OpenSolaris, and Ubuntu Clients Test Results==&lt;br /&gt;
&lt;br /&gt;
===NFS Client/Server Setup===&lt;br /&gt;
I have an opensol server and ubuntu clients.  This is the guide I created from my testing and my results.&lt;br /&gt;
&lt;br /&gt;
====Open Solaris ====&lt;br /&gt;
&lt;br /&gt;
[http://developers.sun.com/openstorage/articles/opensolaris_storage_server.html Open Solaris NFS Config Guide]&lt;br /&gt;
&lt;br /&gt;
Server:&lt;br /&gt;
&lt;br /&gt;
 svcs nfs/server&lt;br /&gt;
 svcadm enable nfs/server&lt;br /&gt;
 zfs set sharenfs=on mypool/myfs&lt;br /&gt;
 dfshares&lt;br /&gt;
&lt;br /&gt;
Client:&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;See Above Link&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
&lt;br /&gt;
[http://ubuntuforums.org/showthread.php?t=249889 Ubuntu NFS Config Guide]&lt;br /&gt;
&lt;br /&gt;
Server:&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;See Above Link&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Client: http://www.cyberciti.biz/tips/ubuntu-linux-nfs-client-configuration-to-mount-nfs-share.html&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install portmap nfs-common&lt;br /&gt;
 sudo mount server.mydomain.com:/network/officesdocs /home/me/myfiles&lt;br /&gt;
&lt;br /&gt;
Mounting at boot using /etc/fstab&lt;br /&gt;
Invoke the text editor using your favorite editor, or&lt;br /&gt;
gksudo gedit /etc/fstab&lt;br /&gt;
&lt;br /&gt;
/etc/fstab was like this:&lt;br /&gt;
&lt;br /&gt;
 server.mydomain.com:/files /files nfs rsize=8192,wsize=8192,timeo=14,intr&lt;br /&gt;
then&lt;br /&gt;
 mount /local/mount/point/dir&lt;br /&gt;
&lt;br /&gt;
===GIGABIT MTU and Static IP Config Test===&lt;br /&gt;
&lt;br /&gt;
====Ubuntu Client====&lt;br /&gt;
 sudo ifconfig eth1 10.0.2.10 netmask 255.255.255.0 mtu 9000&lt;br /&gt;
&lt;br /&gt;
====OpenSolServer + e1000g NIC MTU Not Working?====&lt;br /&gt;
&lt;br /&gt;
[http://saifulaziz.wordpress.com/2009/11/22/how-to-change-the-default-maximum-transmission-unit-mtu-size/ WHY ISNT MY GIGABIT WORKING LINK (You should look at this.  I have a nice Intel Gigabit Nic and I needed it)]  The MaxFrameSize below should be changed for two of my nics.&lt;br /&gt;
&lt;br /&gt;
 sudo nano /kernel/drv/e1000g.conf&lt;br /&gt;
 MaxFrameSize=0,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0;&lt;br /&gt;
 restart the system&lt;br /&gt;
 sudo ifconfig e1000g1 10.0.2.200 netmask 255.255.255.0 mtu 9000&lt;br /&gt;
 svcadm restart network/nfs/server&lt;br /&gt;
&lt;br /&gt;
===GIGABIT MTU and Static IP Config Permanent===&lt;br /&gt;
====OpenSolaris====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====One of the first ways I tried to set a persistent static IP=====&lt;br /&gt;
(This did not work - &amp;#039;&amp;#039;&amp;#039;READ NOTE BELOW IT MAY WORK NOW - AND WILL WORK IF YOU ONLY HAVE ONE INTERFACE)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/nwam/llp&lt;br /&gt;
&lt;br /&gt;
change e1000g1 dhcp --&amp;gt; e1000g1 static 10.0.2.200/24&lt;br /&gt;
&lt;br /&gt;
 svcadm restart svc:/network/physical:nwam&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE:  I found out that this configuration should have worked if I had one interface.  nwam (as of May 2, 2010 and OpenSolaris 2009.06 snv_111b X86) only tracks ONE interface.  They said it should be fixed in the next release.&amp;#039;&amp;#039;&amp;#039; #opensolaris @ freenode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====The Second Way I tried to set a persistent IP and worked -  [http://docs.sun.com/app/docs/doc/819-3000/ipconfig-1?l=en&amp;amp;a=view Here Is The Sun Guide]=====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The only way I could do this over SSH was if I made a bash script with the commands that I am using.&lt;br /&gt;
&lt;br /&gt;
From what has been explained to me each nic gets a &amp;#039;hostname&amp;#039;.  That is when physical:default runs or ifconfig it searches the nic file for the host name and pulls the nic IP out of the hosts file.  It does the same thing for the netmask file.  It goes hostname-&amp;gt;ip-&amp;gt;network-&amp;gt;netmask.  The canocial name of the machine is defined in &amp;quot;/etc/nodename&amp;quot;.  We are going to edit three files:  nodename, hostname.&amp;lt;nic&amp;gt;, and netmasks.&lt;br /&gt;
&lt;br /&gt;
 pfexec bash (This will give you a root prompt)&lt;br /&gt;
 cat &amp;lt;youhostname&amp;gt; &amp;gt; /etc/nodename&lt;br /&gt;
  ex.  cat cella &amp;gt; /etc/nodename&lt;br /&gt;
 svcadm enable network/physical:default&lt;br /&gt;
 svcadm disable network/physical:nwam (SSH DIES :( )&lt;br /&gt;
&lt;br /&gt;
 nano /etc/hostname.&amp;lt;nic&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
 enter your hostname/nicname in the file (one line) and save&lt;br /&gt;
  ex.  staticnic&lt;br /&gt;
  ex.  cella&lt;br /&gt;
 &lt;br /&gt;
 nano /etc/hosts&lt;br /&gt;
 ...&lt;br /&gt;
 First:  Take out and references to 127.0.0.1 and your real host name else it will try to assign 127.0.0.1 to your nic.  Make sure to keep 127.0.0.1 localhost&lt;br /&gt;
 Next:  Add the line:  the.ip.of.nic yourhostnameornickname&lt;br /&gt;
 Save&lt;br /&gt;
&lt;br /&gt;
 ex:&lt;br /&gt;
 # Internet host table&lt;br /&gt;
 #&lt;br /&gt;
 #::1 cella cella.local localhost loghost&lt;br /&gt;
 127.0.0.1 localhost loghost&lt;br /&gt;
 10.0.2.200      cella loghost&lt;br /&gt;
&lt;br /&gt;
 nano /etc/inet/netmasks&lt;br /&gt;
 ...&lt;br /&gt;
 It will pull the mask by referencing the network if the ip that you added to /etc/hosts&lt;br /&gt;
 Add to the end (Substitute you information):  10.0.2.0 255.255.255.0&lt;br /&gt;
 Save&lt;br /&gt;
&lt;br /&gt;
 ex:&lt;br /&gt;
 192.168.0.0 255.255.255.0&lt;br /&gt;
  for ip 192.168.1.25&lt;br /&gt;
 10.0.2.0 255.255.255.0&lt;br /&gt;
  for ip 10.0.2.150&lt;br /&gt;
&lt;br /&gt;
If you run into problems try things like:&lt;br /&gt;
&lt;br /&gt;
 ifconfig &amp;lt;thenicorhostname&amp;gt; up&lt;br /&gt;
 ifconfig e1000g1 plumb 10.0.2.200/24 mtu 1500&lt;br /&gt;
and&lt;br /&gt;
 ifconfig e1000g0 dhcp&lt;br /&gt;
will give you a dhcp addy&lt;br /&gt;
 ifconfig e1000g0 dhcp&lt;br /&gt;
Now you have to restart physical:default or reboot the system&lt;br /&gt;
 svcadm restart svc:/network/physical:default&lt;br /&gt;
to reboot&lt;br /&gt;
 pfexec reboot&lt;br /&gt;
 &lt;br /&gt;
Notes: [http://hub.opensolaris.org/bin/view/Project ifconfig e1000g0 dhcp+caiman/slim_install_GetStarted_nwam nwam man page], [http://blogs.sun.com/natarajan/entry/setting_up_static_ip_and A sun blog that uses GUI tools], [http://malsserver.blogspot.com/2008/08/setting-up-static-network-configuration.html Another blog doing it wrong], [http://wiki.genunix.org/wiki/index.php/Belenix_FAQ#How_do_I_configure_a_static_IP_Address_and_setup_networking_.3F The Belinix Way], [http://wikis.sun.com/display/OpenSolarisInfo200906/How+to+Manually+Configure+Network+Settings The Second Way Kinda], [http://docs.sun.com/app/docs/doc/806-5529/6jehkcs4b?l=en&amp;amp;a=view&amp;amp;q=dhcp+reboot SunOS DHCP Client Crazyness],&lt;br /&gt;
&lt;br /&gt;
=====Adding Another Static Nic=====&lt;br /&gt;
&lt;br /&gt;
Follow the same instructions as above just use a different hostname/nic name in the /etc/hosts file:&lt;br /&gt;
 ex&lt;br /&gt;
 10.0.2.200 staticnic1&lt;br /&gt;
 10.0.2.201 staticnic2&lt;br /&gt;
&lt;br /&gt;
Then add a /etc/hostname.&amp;lt;realnicname&amp;gt; file with one of the above hostnames.&lt;br /&gt;
&lt;br /&gt;
If you are on the same network you should be fine with the netmasks file.  If not add you new network.&lt;br /&gt;
&lt;br /&gt;
=====Adding a DHCP Nic On Top Of That=====&lt;br /&gt;
&lt;br /&gt;
 pfexec touch /etc/dhcp.&amp;lt;nic&amp;gt;&lt;br /&gt;
 pfexec touch /etc/hostname.&amp;lt;nic&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That should be enough.&lt;br /&gt;
&lt;br /&gt;
 ex&lt;br /&gt;
 pfexec touch /etc/dhcp.e1000g0&lt;br /&gt;
 pfexec touch /etc/hostname.e1000g0&lt;br /&gt;
then restart interfaces&lt;br /&gt;
 svcadm restart svc:/network/physical:default&lt;br /&gt;
or reboot machine&lt;br /&gt;
 pfexec reboot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====SETTING THE MTU=====&lt;br /&gt;
Once you have the static ip and everything setup on your Opensolaris box you may need to set a MTU so it will be persistent over reboots.  To do this you simply edit /etc/hostname.&amp;lt;nic&amp;gt; and add mtu YOURMTU to the SAME line.  The file is passed strait to ifconfig on boot I guess. &amp;#039;&amp;#039;&amp;#039;(I should verify that.  It could have made everything more simpler.)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
so instead of&lt;br /&gt;
 cella&lt;br /&gt;
its&lt;br /&gt;
 cella mtu 1500&lt;br /&gt;
&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
First we have to remove that lame GUI management program with:&lt;br /&gt;
 sudo apt-get remove network-manager&lt;br /&gt;
&lt;br /&gt;
Next We Edit:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/network/interfaces&lt;br /&gt;
 ...&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 auto eth1&lt;br /&gt;
 iface eth1 inet static&lt;br /&gt;
 address 192.168.1.35&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
 gateway 192.168.1.1&lt;br /&gt;
 &lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
Save&lt;br /&gt;
&lt;br /&gt;
Issue a restart command to networking:&lt;br /&gt;
 sudo /etc/init.d/networking restart&lt;br /&gt;
&lt;br /&gt;
Should be good to go....&lt;br /&gt;
&lt;br /&gt;
===Gigabit Tests===&lt;br /&gt;
&lt;br /&gt;
I have 3 files that total 1464.9 MB.  I am testing MTU&amp;#039;s right now and GUI vs command line copy tools.&lt;br /&gt;
&lt;br /&gt;
*9000MTU:&lt;br /&gt;
&lt;br /&gt;
 webdawg@tutis:~$ time cp /home/webdawg/Desktop/Lots\ Of\ Temps/* /mnt/shelf1/TEST&lt;br /&gt;
&lt;br /&gt;
 real    0m27.706s&lt;br /&gt;
 user    0m0.352s&lt;br /&gt;
 sys    0m8.685s&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Results = 52.88MB a sec (not megaBITS)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*1500 mtu&lt;br /&gt;
&lt;br /&gt;
 webdawg@tutis:~$ time cp /home/webdawg/Desktop/Lots\ Of\ Temps/* /mnt/shelf1/TEST&lt;br /&gt;
&lt;br /&gt;
 real    0m21.945s&lt;br /&gt;
 user    0m0.284s&lt;br /&gt;
 sys    0m3.432s&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Results = 66.76mb a sec&lt;br /&gt;
&lt;br /&gt;
*GUI TOOL&lt;br /&gt;
While I do not have the official results from using GNOME to copy files.  I was getting like 13MB a sec.  This is LAME.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
Copying Files Faster:&lt;br /&gt;
*[http://www.enterpriseitplanet.com/networking/features/article.php/3497796 Speeding Up Gigabit]&lt;br /&gt;
*[http://www.mail-archive.com/debian-user@lists.debian.org/msg330183.html File copy method that is twice as fast as &amp;quot;cp -a&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Next Test Considerations:&lt;br /&gt;
*[http://linux-mm.org/Drop_Caches Drop Caches]&lt;/div&gt;</summary>
		<author><name>Webdawg</name></author>
	</entry>
</feed>