Ein Beispiel wie ich es gelöst habe
netsh -f C:\internet.txt
In der Internet.txt
#============================
# Schnittstellenkonfiguration
#============================
pushd interface
reset all
popd
# Ende der Schnittstellenkonfiguration
#============================
# Schnittstellenkonfiguration
#============================
pushd interface ipv6
uninstall
popd
# Ende der Schnittstellenkonfiguration
# ----------------------------------
# ISATAP-Konfiguration
# ----------------------------------
pushd interface ipv6 isatap
popd
# Ende der ISATAP-Konfiguration
# ----------------------------------
# 6-zu-4-Konfiguration
# ----------------------------------
pushd interface ipv6 6to4
reset
popd
# Ende der 6-zu-4-Konfiguration
#========================
# Portproxykonfiguration
#========================
pushd interface portproxy
reset
popd
# Ende der Portproxykonfiguration
# ----------------------------------
# Schnittstellen-IP-Konfiguration
# ----------------------------------
pushd interface ip
# Schnittstellen-IP-Konfiguration fr ""LAN-Verbindung""
set address name="LAN-Verbindung" source=static addr=192.168.0.20 mask=255.255.255.0
set address name="LAN-Verbindung" gateway=192.168.0.254 gwmetric=0
set dns name="LAN-Verbindung" source=static addr=213.33.99.70 register=PRIMARY
add dns name="LAN-Verbindung" addr=80.120.17.70 index=2
set wins name="LAN-Verbindung" source=static addr=none
popd
# Ende der Schnittstellen-IP-Konfiguration
Und für die andere Schnittstelle einfach eine zweite Textdatei
____________________________________
Ich weis das ich nichts weis
|