[Mageia-discuss] Temporarily changing IP address
support at drdos.info
Mon May 21 16:54:16 CEST 2012
>> 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.
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
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
More information about the Mageia-discuss