Andras
(usa Outra)
Enviado em 19/10/2009 - 10:22h
Salve galera
estou com um problema ja faz umas 2 semanas que ando pesquisando
e não consigo renovar o IP no linux de jeito nenhum
no Windows eu usava os comandos
ipconfig /flushdns
ipconfig /registerdns
ipconfig /setclassid NET
ipconfig /release
netsh int ip add add name=NET 111.111.111.111 255.0.0.0
netsh int ip set add name=NET source=dhcp
ipconfig /renew
tipo na pratica esses comandos faziam o seguinte
lembrando que NET é nome da minha conexão local
ipconfig /flushdns
Flushes and resets the contents of the DNS client resolver cache. During DNS troubleshooting, you can use this procedure to discard negative cache entries from the cache, as well as any other entries that have been added dynamically.
ipconfig /registerdns
Initiates manual dynamic registration for the DNS names and IP addresses that are configured at a computer. You can use this parameter to troubleshoot a failed DNS name registration or resolve a dynamic update problem between a client and the DNS server without rebooting the client computer. The DNS settings in the advanced properties of the TCP/IP protocol determine which names are registered in DNS.
ipconfig /setclassid NET
Configures the DHCP class ID for a specified adapter. To set the DHCP class ID for all adapters, use the asterisk (*) wildcard character in place of Adapter. This parameter is available only on computers with adapters that are configured to obtain an IP address automatically. If a DHCP class ID is not specified, the current class ID is removed.
ipconfig /release
Sends a DHCPRELEASE message to the DHCP server to release the current DHCP configuration and discard the IP address configuration for either all adapters (if an adapter is not specified) or for a specific adapter if the Adapter parameter is included. This parameter disables TCP/IP for adapters configured to obtain an IP address automatically. To specify an adapter name, type the adapter name that appears when you use ipconfig without parameters.
netsh int ip add add name=NET 111.111.111.111 255.0.0.0
esse comando configurava manualmente o ip para 111.111.111.111 e a mascara para 255.0.0.0
netsh int ip set add name=NET source=dhcp
esse fazia pegar outro ip automaticamente
ipconfig /renew
Renews DHCP configuration for all adapters (if an adapter is not specified) or for a specific adapter if the Adapter parameter is included. This parameter is available only on computers with adapters that are configured to obtain an IP address automatically. To specify an adapter name, type the adapter name that appears when you use ipconfig without parameters.
porem não consigo fazer nada do genero no ubuntu
e pelo que eu conheço so existe esse modo no Win de renovar o IP do NetVirtua
se alguem puder me ajudar agradeço muito!
Abraços!
OBS:
esses comandos da para fazer no modo grafico no win exemplo
http://www.styletutos.net/?p=87 é um tutorial que ensina a fazer o mesmo q eu faço com os comandos
porem em modo grafico no windows
OBS 2: os comandos + importantes são
ipconfig /release
netsh int ip add add name=NET 111.111.111.111 255.0.0.0
netsh int ip set add name=NET source=dhcp
ipconfig /renew