On 10/2/14 11:39 PM, Daniel Ouellet wrote:
> May be a bit more for you as well under man hostname.if
>
> in the description it said this. "Any lines not matching these packed
> formats are passed directly to ifconfig(8)."
>
> and this section.
>
> options
> Miscellaneous options to set on the interface, e.g., “media
> 100baseTX mediaopt full-duplex”. Valid options for a particular
> interface type can be found in ifconfig(8). When used, the netmask and
> broadcast_addr options must also be present.
>
> Based on this information look to me that you should be able to pass the
> option you want and it would pass it to ifconfig on your behalf so you
> should be able to preset your MTU as you see fit there for the network
> card you specifically want.
>
> Anyway the best way would be to try and see what you get.
>
> Hopefully this provide you what you need.
>
> Daniel
>
>
>
> On 10/2/14 11:27 PM, Daniel Ouellet wrote:
>> Unless I do not read the man page properly the information is available
>> there.
>>
>>
>> NAME
>> ifconfig — configure network interface parameters
>> SYNOPSIS
>> ifconfig [-AaC] [interface] [address_family] [address [dest_address]]
>> [parameters]
>>
>> ...
>> and lower you have:
>> ...
>> The following parameters may be set with ifconfig:
>> ...
>> mtu value
>> Set the MTU for this device to the given value. Cloned routes
>> inherit this value as a default. For Ethernet devices which support
>> setting the MTU, a value greater than 1500 enables jumbo frames. The
>> hardmtu output from hwfeatures shows the maximum supported MTU.
>> ...
>>
>> So if you read the man page you should have the information you need.
>>
>> Hope this help
>>
>> Daniel