Re: [Hampshire] ifconfig eth0 1500

Top Page
Author: Jon Fautley
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] ifconfig eth0 1500

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x578f3100.hantslug.org.uk.17199': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Tue Oct 2 16:20:02 2007 BST
gpg: using DSA key 9111B5743CA26D44
gpg: Can't check signature: No public key
Simon Capstick wrote:
> OK, I managed to omit the mtu setting on the following ifconfig command...
>
> simon-desktop:/home/simon# ifconfig eth0 1500
>
> Expecting to get a complaint about an invalid setting I instead set the
> IP address to 0.0.5.220.

[snip]
> Obviously it was easy to put back but I would love to know why/if this
> is defined behaviour.


Yeah, that's normal. You're trying to set the IP to "1500", which when
converted internally comes out as the weird IP you saw.

If you want to set the MTU:

ifconfig eth0 mtu 1500

Cheers,

/j
-- 
Jon Fautley RHCE, RHCX <jfautley@???> direct: +44 1252 362815
Technical Account Manager                    office: +44 1252 362700
Red Hat UK                                   mobile: +44 7841 558683
        200 Fowler Avenue, Farnborough, Hampshire, GU14 7JP