summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120522/007385.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20120522/007385.html')
-rw-r--r--zarb-ml/mageia-discuss/20120522/007385.html133
1 files changed, 133 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120522/007385.html b/zarb-ml/mageia-discuss/20120522/007385.html
new file mode 100644
index 000000000..6ee1cd461
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20120522/007385.html
@@ -0,0 +1,133 @@
+<!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=%3C4FBBA421.20207%40kde.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="007383.html">
+ <LINK REL="Next" HREF="007386.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] Temporarily changing IP address</H1>
+ <B>Anne Wilson</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Temporarily%20changing%20IP%20address&In-Reply-To=%3C4FBBA421.20207%40kde.org%3E"
+ TITLE="[Mageia-discuss] Temporarily changing IP address">annew at kde.org
+ </A><BR>
+ <I>Tue May 22 16:35:13 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="007383.html">[Mageia-discuss] Temporarily changing IP address
+</A></li>
+ <LI>Next message: <A HREF="007386.html">[Mageia-discuss] Temporarily changing IP address
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7385">[ date ]</a>
+ <a href="thread.html#7385">[ thread ]</a>
+ <a href="subject.html#7385">[ subject ]</a>
+ <a href="author.html#7385">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+On 22/05/12 15:08, AL13N wrote:
+&gt;&gt;&gt;&gt;<i> No :-( No difference, even though I restarted the network
+</I>&gt;&gt;&gt;&gt;<i> service,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Lets start from scratch.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> But first, can you tell me the ip address of the NAS and your
+</I>&gt;&gt;<i> laptop's IP address for eth0.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> After making note of these, put the laptop back to it's original
+</I>&gt;&gt;<i> config. (i.e. remove the manually created interface) and set
+</I>&gt;&gt;<i> wlan0 not to come up on reboot. Then restart so you only have an
+</I>&gt;&gt;<i> ip address on eth0.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Then send me the info.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Doug
+</I>&gt;<i>
+</I>&gt;<i> in fact, if we want it to be even simpler, you could add the ip
+</I>&gt;<i> address without a alias interface wit iproute2
+</I>&gt;<i>
+</I>&gt;<i> []# ip addr show eth0
+</I>
+# ip addr show eth0
+2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast
+state UP qlen 1000
+ link/ether 1c:75:08:28:bd:e4 brd ff:ff:ff:ff:ff:ff
+ inet 169.254.100.1/24 brd 169.254.100.255 scope global eth0
+ inet6 fe80::1e75:8ff:fe28:bde4/64 scope link
+ valid_lft forever preferred_lft forever
+
+&gt;<i> []# ip addr add www.xxx.yyy.zzz/netmask dev eth0
+</I>
+# ip addr add www.192.168.0.20/255.255.255.0 dev eth0
+Error: an inet prefix is expected rather than
+&quot;www.192.168.0.20/255.255.255.0&quot;.
+
+Not sure what it is expecting.
+&gt;<i>
+</I>&gt;<i> this will add an ip address on that interface, and
+</I>&gt;<i>
+</I>&gt;<i> []# ip route
+</I>&gt;<i>
+</I>&gt;<i> if you're done:
+</I>&gt;<i>
+</I>&gt;<i> []# ip addr del www.xxx.yyy.zzz/netmask dev eth0
+</I>&gt;<i>
+</I>&gt;<i> should now show you a route into that different subnet
+</I>&gt;<i>
+</I>&gt;<i> this means, no mess with alias interfaces or separate settings, or
+</I>&gt;<i> anything.
+</I>&gt;<i>
+</I>&gt;<i> to be sure, restart shorewall service (in the event it filters on
+</I>&gt;<i> the interface ip addresses)
+</I>
+Shorewall and iptables are currently stopped.
+
+Anne
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A>
+
+iEYEARECAAYFAk+7pCAACgkQj93fyh4cnBd1ogCaAyQMaAzwZ5YEFVTExM0pU2q4
+HiYAnim994jDweytPufhyzaCcKngZpnw
+=BsWC
+-----END PGP SIGNATURE-----
+</PRE>
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="007383.html">[Mageia-discuss] Temporarily changing IP address
+</A></li>
+ <LI>Next message: <A HREF="007386.html">[Mageia-discuss] Temporarily changing IP address
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7385">[ date ]</a>
+ <a href="thread.html#7385">[ thread ]</a>
+ <a href="subject.html#7385">[ subject ]</a>
+ <a href="author.html#7385">[ 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>