Pular para o conteúdo

APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Responder tópico
  • Denunciar
  • Indicar

1. APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 25/06/2015 - 16:48h


Boa tarde!

Pessoal estou com uma dificuldade e não estou conseguindo resolver. Após colocar IP fixo no opensuse ele não navega mais, nem á um ping ele responde.


Obs: Estou configurando pelo yast -> Network Device -> Network Settings

Responder tópico

2. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 25/06/2015 - 19:25h


Olá...

Configurou gateway e dns-servers ?

Posta sua conf aqui.

abs

3. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 25/06/2015 - 21:40h


Coloca aqui a saída de:

ifconfig
netstat -r
cat /etc/resolv.conf

Att

4. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 26/06/2015 - 08:09h


eth0 Link encap:Ethernet HWaddr 56:6D:3E:BB:6B:9F
inet addr:10.14.1.181 Bcast:10.14.1.255 Mask:255.255.255.0
inet6 addr: fe80::546d:3eff:febb:6b9f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61920307 errors:0 dropped:5841 overruns:0 frame:0
TX packets:58523558 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4128706301 (3937.4 Mb) TX bytes:6728930974 (6417.2 Mb)
-------------------------------------------------------------------------------------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.14.1.0 * 255.255.255.0 U 0 0 0 eth0
-------------------------------------------------------------------------------------------------------------------
nameserver 8.8.8.8
-------------------------------------------------------------------------------------------------------------------
Quando eu dou um ping para fora da rede(Internet)
ping: unknown host www.google.com

5. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 26/06/2015 - 10:18h


Me parece que você está sem gateway. Onde está a linha default do netstat -r???

Você não tentou pingar algum ip da vida? Aviso que dns do google não é muito confiável nestes casos para teste de ping. Tente algo como ip do www.uol.com.br: 200.221.2.45

A princípio me parece rota.

route add default gw ip_do_gw

Atenciosamente

6. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 26/06/2015 - 10:20h


Só para dar um exemplo:

[root@asgard ~]$ netstat -r 9:13
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 10.1.1.1 0.0.0.0 UG 0 0 0 wlan0
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

Att

7. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 26/06/2015 - 10:30h

Mesmo dando um ping para o endereço 200.221.2.45 não funcionou. Adicionando o gatway com o comando route add default gw ip_do_gw também não funcionou.

Esse é o retorno do comando netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.14.1.0 * 255.255.255.0 U 0 0 0 eth0




8. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 26/06/2015 - 12:10h

Você usou exatamente o comando route add default gw ip_do_gw?
Pq ip_do_gw tem de ser substituído pelo... IP do gateway...
--
-I've been talking to the main computer
-And...?
-It hates me

9. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 26/06/2015 - 12:29h

heitorh3 escreveu:

Mesmo dando um ping para o endereço 200.221.2.45 não funcionou. Adicionando o gatway com o comando route add default gw ip_do_gw também não funcionou.

Esse é o retorno do comando netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.14.1.0 * 255.255.255.0 U 0 0 0 eth0



Me parece que você digitou o comando errôneamente pois ainda está sem a rota "default".

Seu gateway, qual o ip dele? Você sabe?

Att

10. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 26/06/2015 - 13:09h


O ip do meu gateway é 10.14.1.254 e sim eu substitui o "ip_do_gw" pelo ip do meu gateway.

11. Re: APÓS CONFIGURAR IP FIXO LINUX FICA SEM INTERNET

Enviado em 04/08/2015 - 10:46h


Amigo, Bom dia.

Realmente você não esta conseguindo sair para a net devido estar sem default gateway.

Já conseguiu resolver o problema?

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder