summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120521/007355.html
blob: f71d78e9bf87cba1221068e8402b7d0d6d2f5bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-discuss] Temporarily changing IP address
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Temporarily%20changing%20IP%20address&In-Reply-To=%3Csig.548845b2e7.1587344097.49818.1337612056389.JavaMail.root%40drdos.info%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="007354.html">
   <LINK REL="Next"  HREF="007356.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] Temporarily changing IP address</H1>
    <B>Doug Lytle</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Temporarily%20changing%20IP%20address&In-Reply-To=%3Csig.548845b2e7.1587344097.49818.1337612056389.JavaMail.root%40drdos.info%3E"
       TITLE="[Mageia-discuss] Temporarily changing IP address">support at drdos.info
       </A><BR>
    <I>Mon May 21 16:54:16 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="007354.html">[Mageia-discuss] Temporarily changing IP address
</A></li>
        <LI>Next message: <A HREF="007356.html">[Mageia-discuss] Temporarily changing IP address
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7355">[ date ]</a>
              <a href="thread.html#7355">[ thread ]</a>
              <a href="subject.html#7355">[ subject ]</a>
              <a href="author.html#7355">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>&gt;&gt;<i> I'm trying to set up a NAS server, and the built-in address is not on
</I>&gt;&gt;<i> the same subnet as my LAN, so I need to temporarily change the address
</I>&gt;&gt;<i> of this netbook so that I can run the configuration.
</I>
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

Doug


-- 
Ben Franklin quote:

&quot;Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety.&quot;
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="007354.html">[Mageia-discuss] Temporarily changing IP address
</A></li>
	<LI>Next message: <A HREF="007356.html">[Mageia-discuss] Temporarily changing IP address
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7355">[ date ]</a>
              <a href="thread.html#7355">[ thread ]</a>
              <a href="subject.html#7355">[ subject ]</a>
              <a href="author.html#7355">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>