||05-18-2011 03:17 AM
Assign MTU value for network interface. need help
I have dsl broadband shared through a Modem Bridge Mode forwarded to wireless router which is configured for dhcp lease to the clients(1 Desktop, 1 Laptop).
So, in My Debian Testing Desktop, I have following lines in /etc/network/interfaces :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet dhcp
hwaddress ether xx:xx:xx:xx:xx:xx
I need to give a Custom MTU value of 1454. Simply adding "MTU 1454" to /etc/network/interfaces file does not seems to work for Me.
How can I assign MTU value as 1454 on start up itself?
BTW, I can manually change MTU as :
ifconfig eth0 mtu 1454
Is there any option like editing dhcp client configuration files to reflect change in MTU?
I tried tcpdump to observe network interface and it shows some packets are dropped. is this due to wrong MTU/MSS value?
:~# tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
14:09:15.546657 IP 192.168.2.1.1900 > 22.214.171.124.1900: UDP, length 323
1 packets captured
60 packets received by filter
29 packets dropped by kernel