Autor Beitrag
Tanrek
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Do 11.08.05 15:18 
Also, ich möchte gerne meine LAN-IP ändern können. der grund ist folgender:
Ich habe ein Notebook, dass ich zuhause, auf der Arbeit und überall anders benutze (so isses nunmal mit einen notebook :wink: ), und überall sind andere ip's vorgegeben. z.b. möchte ich zuhause eine statische haben, die sich aber von der auf der arbeit unterscheidet.
dummerweise habe ich keine ahnung, wie man die IP im programm ändern kann.

zum programm:
ich habe 4 textfelder für die ip und einen button um die Ip zu übernehmen
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 11.08.05 16:01 
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Do 11.08.05 16:27 
Es gäbe auch eine Lösung, mit der man nicht programmieren muss, die aber nicht so komfortabel ist. WinXP erlaubt es, eine alternative Adresse in den TCP-Einstellungen vorzunehmen. Bekommt der Rechner dann keine Adresse von einem DHCP-Server, dann wird diese Alternativ-Adresse eingerichtet.
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 11.08.05 18:06 
Das hab ich mir auch überlegt, aber benutzt der dann nicht zum Senden von Paketen immer die erste IP-Adresse und nicht die alternativen?! :gruebel: Dann würde er u.U. empfangen, aber nichts senden können.
arj
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Fr 12.08.05 09:01 
Der Sinn der alternativen IP ist es, dass er diese verwendet, wenn er vom DCHP-Server keine zugewiesen bekommt. Dann wird also sowohl ein Empfangen als auch ein Senden möglich sein.
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Fr 12.08.05 10:00 
Nehmen wir mal an, ich bin in drei unterschiedlichen Netzen unterwegs, in zwei von denen hab' ich eine statische (natürlich verschiedene) IP-Adresse. Im dritten Netz wird die IP-Adresse per DHCP zugewiesen. Wie soll ich das dann einstellen?! :eyes:
Sephiroth
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 102



BeitragVerfasst: Fr 12.08.05 10:37 
Ich denke man muss das Rad nicht dauernd neu erfinden, wenn es schon gute Freeware Tools gibt, die das können:

download.trampelpfad...KHH-SNZ/SchleppNetz/


(Ausser natürlich du möchtest es für andere Zwecke einsetzen, oder die Erfahrungen sammeln...)