Bug 191328

Summary: network should support --mtu argument
Product: [Fedora] Fedora Reporter: Philip Prindeville <philipp>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-27 14:58:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Philip Prindeville 2006-05-10 20:28:50 UTC
Description of problem:

Sometimes when doing a network-based Kickstart install, you might not have a
full 1500 byte MTU available to you (such as when installing over a router using
a VPN tunnel to connect to a remote FTP or HTTP server).

Being able to explicitly specify the path MTU would make this more robust.

Version-Release number of selected component (if applicable):


How reproducible:

put "ifconfig -a" into your ks.cfg's %post file.  It will show the default MTU
(!500 bytes for ethernet eth0).


Steps to Reproduce:
1. n/a -- this is an enhancement request
2.
3.
  
Actual results:

n/a

Expected results:

Specifying:

network --device=eth0 --bootproto=dhcp onboot=on --mtu

should have two results:

(1) the interface eth0 gets (re)configured with "ifconfig eth0 mtu XXX" (or via
the appropriate ioctl) before the install process begins (including fetching any
remote files);

(2) the /etc/sysconfig/network-scripts/ifcfg-eth0 (or whatever) should have the
additional line "MTU=XXX" inserted.

Additional info:

Comment 1 Chris Lumens 2006-05-15 20:57:14 UTC
Committed to anaconda and pykickstart.  We'll test this out in the next anaconda
rebuild and see how it goes from there.

Comment 2 Chris Lumens 2006-05-24 02:39:36 UTC
Could you please test with Rawhide and see if this is working as you expect?

Comment 3 Philip Prindeville 2006-05-24 03:39:37 UTC
I can test it as a patch...

Can you point me at the diffs?

Comment 4 Chris Lumens 2006-05-25 22:06:54 UTC
It will probably be easiest for you to just wait until FC6test1, since this
requires changes to pykickstart, anaconda, and the loader.  The update process
for this is fairly complicated and unforgiving.