Andere IP-Adresse -> keine Verbindung
Von: Niklaus Kuehnis (kuehnik_0505@gmx-topmail.de) [Profil]
Datum: 29.06.2008 15:38
Message-ID: <48679051$0$16174$5402220f@news.sunrise.ch>
Newsgroup: de.comp.os.unix.networking.misc
Datum: 29.06.2008 15:38
Message-ID: <48679051$0$16174$5402220f@news.sunrise.ch>
Newsgroup: de.comp.os.unix.networking.misc
Ein PC (Ubuntu 6.06) ist über einen Netgear FS-105 Switch mit einem Zyxel p623ME DSL-Gateway verbunden. Ich möchte die statische IP-Adresse des PCs ändern. Dazu habe ich in /etc/network/interfaces 192.168.1.6 in 192.168.1.16 geändert. Das nachfolgende /etc/init.d/networking restart dauert sehr lange. Danach ist die neue IP-Adresse in ifconfig eingetragen. Aber alle Pings nach draussen misslingen. Frage: Reicht das Aendern der IP-Adresse in "interfaces" aus, oder muss ich noch etwas ändern? Outputs siehe unten. Danke im Voraus! Niklaus /etc/network/interfaces ----------------------- # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.16 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 195.141.56.5 194.158.230.53 ------------------- # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 ------------------- # ifconfig eth0 Link encap:Ethernet HWaddr 00:50:DA:28:E3:6B inet addr:192.168.1.16 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::250:daff:fe28:e36b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:96586 errors:0 dropped:0 overruns:0 frame:0 TX packets:49120 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:139838258 (133.3 MiB) TX bytes:3267368 (3.1 MiB) Interrupt:10 Base address:0xc000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1624 (1.5 KiB) TX bytes:1624 (1.5 KiB) --------------------[ Auf dieses Posting antworten ]
Antworten
- Juergen P. Meier (30.06.2008 05:51)
