Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

My pc is connected to DSL modem using ethernet cable. At present I change eth0 parameters like mtu, txqueuelen using ifconfig at terminal on each boot. I would like to change some parameters of eth0 permanently.How do I do it?

share|improve this question

2 Answers 2

Why not using the NetworkManager for this? On the other hand, if you are comfortable with command lines you could use /etc/network/interfaces (just google for this).

share|improve this answer
In Network Manager where can we change txqueuelen ? – sriram pandey Jun 11 '12 at 11:01

Unwise txqueuelen mtu is changing by simple mtu statement. Looks like that the only one way to define txqueuelen through the /etc/network/interfaces file is providing post-up statement.

auto eth0
iface eth0 inet static

    mtu 9000

    post-up ifconfig eth0 txqueuelen 10000
    # or
    post-up ip link set eth0 txqueuelen 10000
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.