diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20120522/007385.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20120522/007385.html | 133 |
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: +>>>><i> No :-( No difference, even though I restarted the network +</I>>>>><i> service, +</I>>><i> +</I>>><i> Lets start from scratch. +</I>>><i> +</I>>><i> But first, can you tell me the ip address of the NAS and your +</I>>><i> laptop's IP address for eth0. +</I>>><i> +</I>>><i> After making note of these, put the laptop back to it's original +</I>>><i> config. (i.e. remove the manually created interface) and set +</I>>><i> wlan0 not to come up on reboot. Then restart so you only have an +</I>>><i> ip address on eth0. +</I>>><i> +</I>>><i> Then send me the info. +</I>>><i> +</I>>><i> Doug +</I>><i> +</I>><i> in fact, if we want it to be even simpler, you could add the ip +</I>><i> address without a alias interface wit iproute2 +</I>><i> +</I>><i> []# ip addr show eth0 +</I> +# ip addr show eth0 +2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> 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 + +><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 +"www.192.168.0.20/255.255.255.0". + +Not sure what it is expecting. +><i> +</I>><i> this will add an ip address on that interface, and +</I>><i> +</I>><i> []# ip route +</I>><i> +</I>><i> if you're done: +</I>><i> +</I>><i> []# ip addr del www.xxx.yyy.zzz/netmask dev eth0 +</I>><i> +</I>><i> should now show you a route into that different subnet +</I>><i> +</I>><i> this means, no mess with alias interfaces or separate settings, or +</I>><i> anything. +</I>><i> +</I>><i> to be sure, restart shorewall service (in the event it filters on +</I>><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> |