Navegando neste Tópico:
1 usuários anônimos
2 links no mesmo servidor |
||
---|---|---|
Estou com problema, em um servidor centos 6.3 que é o seguinte, neste servidor tenho 2 links de internet ainda não esta instalado firewall/squid etc ... Apenas configurei eth1 link1 eth2 como link2
Quando ping -I eth1 200.154.56.80 -c3 pinga normal Quando ping -I eth2 200.154.56.80 -c2 não ponga vim /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 ONBOOT=yes BOOTPROTO=static IPADDR=200.150.10.99 NETMASK=255.255.255.0 #HWADDR=00:13:07:26:27:05 HOSTNAME=ns3 DOMAIN=sangiovanne.com.br GATEWAY=200.150.10.1 DNS1=127.0.0.1 METRIC=10 MII_NOT_SUPPORTED=no USERCTL=yes RESOLV_MODS=yes IPV6INIT=no IPV6TO4INIT=no LINK_DETECTION_DELAY=6 ACCOUNTING=no vim /etc/sysconfig/network-scripts/ifcfg-eth2 DEVICE=eth2 ONBOOT=yes BOOTPROTO=static IPADDR=10.0.0.254 NETMASK=255.255.255.0 HOSTNAME=ns3 DOMAIN=sangiovanne.com.br GATEWAY=10.0.0.253 DNS1=127.0.0.1 METRIC=10 MII_NOT_SUPPORTED=no USERCTL=yes RESOLV_MODS=yes IPV6INIT=no IPV6TO4INIT=no LINK_DETECTION_DELAY=6 ACCOUNTING=no Estranho que em outro servidor no caso mandriva 2010.1 este problema não acontece! preciso que o ping -I ethX funcione pois estou querendo implementar o gwping, sem isto o script não funciona corretamente.
Enviado em: 9/7/2013 21:38
|
||
![]() |
Re: 2 links no mesmo servidor |
||
---|---|---|
Eu já tenho tudo isto funcionando no mandriva 2010.1 2links+redundancia+squid+controle de banda, etc.. etc... estou agora migrando o mandriva para centos, e nos teste iniciais o centos apresentou esta diferença. Desativei tudo no mandriva e no teste do ping, ele passa, veja a baixo [[email protected]]# route -n Tabela de Roteamento IP do Kernel Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface 201.16.17.128 0.0.0.0 255.255.255.248 U 10 0 0 eth1 201.15.15.0 0.0.0.0 255.255.255.128 U 10 0 0 eth2 192.168.1.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0 192.168.0.0 0.0.0.0 255.255.252.0 U 10 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth2 169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 201.16.17.129 0.0.0.0 UG 0 0 0 eth1 [[email protected]]# iptables -nL Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [[email protected]]# ip rule 0: from all lookup local 32766: from all lookup main 32767: from all lookup default [[email protected]]# ping -W 2 -I eth1 -c3 200.154.56.80 PING 200.154.56.80 (200.154.56.80) from 201.16.17.130 eth1: 56(84) bytes of data. 64 bytes from 200.154.56.80: icmp_seq=1 ttl=53 time=27.7 ms 64 bytes from 200.154.56.80: icmp_seq=2 ttl=53 time=27.0 ms [[email protected]]# ping -W 2 -I eth2 -c3 200.154.56.80 PING 200.154.56.80 (200.154.56.80) from 201.15.15.73 eth2: 56(84) bytes of data. 64 bytes from 200.154.56.80: icmp_seq=1 ttl=53 time=40.1 ms 64 bytes from 200.154.56.80: icmp_seq=2 ttl=53 time=33.1 ms 64 bytes from 200.154.56.80: icmp_seq=3 ttl=53 time=36.6 ms DEVICE=eth1 ONBOOT=yes BOOTPROTO=static IPADDR=201.16.17.130 NETMASK=255.255.255.248 HOSTNAME=ns2 DOMAIN=emi.com.br GATEWAY=201.16.17.129 DNS1=127.0.0.1 METRIC=10 MII_NOT_SUPPORTED=no USERCTL=yes RESOLV_MODS=yes IPV6INIT=no IPV6TO4INIT=no LINK_DETECTION_DELAY=6 ACCOUNTING=no DEVICE=eth2 ONBOOT=yes BOOTPROTO=static IPADDR=201.15.15.73 NETMASK=255.255.255.128 HOSTNAME=ns2 #GATEWAY=201.15.15.1 DOMAIN=emi.com.br DNS1=127.0.0.1 METRIC=10 MII_NOT_SUPPORTED=yes USERCTL=yes RESOLV_MODS=yes IPV6INIT=no IPV6TO4INIT=no LINK_DETECTION_DELAY=6 ACCOUNTING=no Agora no centos, não da certo!
Enviado em: 10/7/2013 10:54
|
||
![]() |
Você pode exibir os tópicos.
Você não pode iniciar um novo tópico.
Você não pode responder.
Você não pode editar.
Você não pode excluir mensagens.
Você não pode incluir votações.
Você não pode votar.
Você não pode anexar arquivos.
Você não pode enviar mensagens sem aprovação.