[Mageia-discuss] Temporarily changing IP address
Anne Wilson
annew at kde.org
Mon May 21 17:05:19 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21/05/12 15:54, Doug Lytle wrote:
>>> I'm trying to set up a NAS server, and the built-in address is
>>> not on the same subnet as my LAN, so I need to temporarily
>>> change the address of this netbook so that I can run the
>>> configuration.
>
Thanks for the speedy reply.
> Easy enough to do from the command line, as root:
>
> if your NAS is on 192.168.0.1, you can put your notebook at
> 192.168.0.100 with:
>
> ifconfig eth0:temp 192.168.0.100 netmask 255.255.255.0
>
> Now your netbook would have 2 ip addresses, one under eth0 and one
> under eth0:temp
>
> To remove the eth0:temp would be:
>
> ifconfig eth0:temp down
>
I guess that I have to remove NetworkManager control before doing
this? And then "ifdown eth0" before calling up eth0:temp? I wonder
of NM was the problem all the time.
Anne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+6Wa4ACgkQj93fyh4cnBfLTQCbBNmgbgKir5JJ4NF9JEHH1uyq
sksAnibpnAkxKuxf8ZHQnUg9q3m5iS2x
=tI/9
-----END PGP SIGNATURE-----
More information about the Mageia-discuss
mailing list