Recent Changes - Search:


Code:


Social:


My journals will take the place of a blog. If you go to the Journal page there is an RSS feed to subscribe with.

« September 2017 
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930

Sites I take responsibility for

West Volusia, Florida

Documents

Technical

General

Me

Living

Places I frequent

Hobbies

Humor

Items for sale:


Clipboard

edit SideBar

Redhat Network Tips

Include our styles below Infobox - invoke as >>infobox<< ... >><<

Codebox: - invoke as >>codebox<< ... >><<

warnbox: - invoke as >>codebox<< ... >><<

editingbox: - invoke as >>codebox<< ... >><<

noticebox: - invoke as >>codebox<< ... >><<

Page bread crumbs: Welcome to ke3vin.org! - My Public Technical Notes - Software And Operating Systems - Linux - Redhat - All - Network

Pages by tags: (:listtags:)
Subscribe to this wiki: RSS Feed RSS or subscribe to this page for changes: RSS Feed RSS
496 articles have been published so far. Recent changes
Share

2016-03-22: This site is being moved to my main site at https://kevininscoe.com/wiki as part of a consolidation to one domain.


Nic settings

Routing

The Maximum Transmission Unit (MTU) can be set/modified in real time on Redhat Enterprise Linux or can be set force the value at boot time.

The MTU in simple terms is the maximum size of a packet that can be sent on a Network Interface card. The default MTU size is 1500 bytes.

To dynamically change the MTU in real time while the server is in use,

    redhatlinux# ip link set dev eth0 mtu 1350 

where eth0 is the Ethernet interface and 1350 is the mtu size (1350 bytes)

However, this change is lost when the server or the network interface restarts the next time.

To make the change permanent, edit the interface configuration file (for instance eth0)

    /etc/sysconfig/network-scripts/ifcfg-eth0

    and add the following line

    MTU=1350 

so a cat of the file should look something like this

    redhatlinux# cat /etc/sysconfig/network-scripts/ifcfg-eth0
    DEVICE=eth0
    MTU=1350
    BOOTPROTO=dhcp
    ONBOOT=yes
    TYPE=Ethernet 

Once done, simply restart the interface or reboot the server at the next available maintenance window for the changes to take effect.

To restart the Network Interface

    redhatlinux# service network restart eth0 

To view the updated MTU

    redhatlinux# ip link list
    1: lo:  mtu 16436 qdisc noqueue
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0:  mtu 1350 qdisc pfifo_fast qlen 1000
        link/ether 00:01:11:12:13:14 brd ff:ff:ff:ff:ff:ff
    3: eth1:  mtu 1500 qdisc noop qlen 1000
        link/ether 00:40:f4:98:8e:43 brd ff:ff:ff:ff:ff:ff 

or

    redhatlinux# ifconfig eth0
    eth0      Link encap:Ethernet  HWaddr 00:01:11:12:13:14
              inet addr:192.168.10.11  Bcast:192.168.0.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1350  Metric:1
              RX packets:12321 errors:0 dropped:0 overruns:0 frame:0
              TX packets:6610 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:201126104 (194.1 MiB)  TX bytes:78293 (768.8 KiB)
              Interrupt:209 Memory:fb000000-0

(:tags Redhat:)


Kevin's Public Wiki maintained and created by Kevin P. Inscoe is licensed under a
Creative Commons Attribution 3.0 United States License.

Back to my web site - http://kevininscoe.com

Edit - History - Print - Recent Changes - Search
Page last modified on December 14, 2009, at 11:32 AM EST