LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mtu with dhcp (https://www.linuxquestions.org/questions/linux-newbie-8/mtu-with-dhcp-371480/)

rubella 10-10-2005 07:03 AM

mtu with dhcp
 
is it possible to manually assign a mtu-value to an interface (in this case eth0) using dhcp? every reboot, the mtu need to be the corrected value. i've tried some things, but it was not... :-)

acid_kewpie 10-10-2005 07:48 AM

yes, there's the interface-mtu option in the standard DHCP rfc spec. all dhcp servers should support this.

rubella 10-10-2005 09:46 AM

edit /etc/network/interfaces like this:

Code:

iface eth0 inet dhcp
    hostname "mymachine"
    name LAN Interface
    pre-up /sbin/ifconfig $IFACE mtu 1492

thx!

acid_kewpie 10-10-2005 10:22 AM

well that's not setting it via DHCP now is it! ;)

rubella 10-10-2005 01:36 PM

my fault, i'm sorry... :-)


All times are GMT -5. The time now is 08:02 AM.