NIC and Jumbo Frames

2006-03-13 Thread Sean Murphy

How do I set Jumbo Frames on a Gigabit NIC in FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC and Jumbo Frames

2006-03-13 Thread Charles Swiger

On Mar 13, 2006, at 2:57 PM, Sean Murphy wrote:

How do I set Jumbo Frames on a Gigabit NIC in FreeBSD?


   ifconfig _device_ mtu 8192

...where you would use em0, bge0, or whatever the actual interface  
device is.

See the manpages for the various devices, for example man em:

 Support for Jumbo Frames is provided via the interface MTU  
setting.
 Selecting an MTU larger than 1500 bytes with the ifconfig(8)  
utility con-
 figures the adapter to receive and transmit Jumbo Frames.  The  
maximum

 MTU size for Jumbo Frames is 16114.

...which usually will discuss the MTU sizes the specific devices can  
handle.


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC and Jumbo Frames

2006-03-13 Thread Sean Murphy

Charles Swiger wrote:

On Mar 13, 2006, at 2:57 PM, Sean Murphy wrote:

How do I set Jumbo Frames on a Gigabit NIC in FreeBSD?


   ifconfig _device_ mtu 8192

...where you would use em0, bge0, or whatever the actual interface 
device is.

See the manpages for the various devices, for example man em:

 Support for Jumbo Frames is provided via the interface MTU setting.
 Selecting an MTU larger than 1500 bytes with the ifconfig(8) 
utility con-
 figures the adapter to receive and transmit Jumbo Frames.  The 
maximum

 MTU size for Jumbo Frames is 16114.

...which usually will discuss the MTU sizes the specific devices can 
handle.


---Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


What do I need to add to the rc.conf config line so that it sets up the 
mtu for jumbo 16128 bytes size and sets the speed from auto to 1000?  I 
have this so far...


ifconfig_em0=inet x.x.x.x  netmask x.x.x.x 1000baseTX

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC and Jumbo Frames

2006-03-13 Thread Robert Huff

Sean Murphy writes:

  What do I need to add to the rc.conf config line so that it sets up the 
  mtu for jumbo 16128 bytes size and sets the speed from auto to 1000?  I 
  have this so far...
  
  ifconfig_em0=inet x.x.x.x  netmask x.x.x.x 1000baseTX

You can't: 16114 is the maximum frame size.  As for the rest,
try: 

ifconfig_em0=inet x.x.x.x  netmask x.x.x.x media 1000baseTX mtu 16114


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC and Jumbo Frames

2006-03-13 Thread Charles Swiger

On Mar 13, 2006, at 5:02 PM, Sean Murphy wrote:
What do I need to add to the rc.conf config line so that it sets up  
the mtu for jumbo 16128 bytes size and sets the speed from auto to  
1000?  I have this so far...


ifconfig_em0=inet x.x.x.x  netmask x.x.x.x 1000baseTX


Something like:

ifconfig_em0=inet x.x.x.x  netmask x.x.x.x 1000baseTX mtu 16128

...?

--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]