[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routear duas redes



bom dia,

pessoal estou apanhando para routear duas redes, ja' fiz varia pesquisas
na internet, e segui varios passos e nada, veja o que fiz:

carlinux:/home/carlucio# route
Tabela de Roteamento IP do Kernel
Destino         Roteador        MáscaraGen.    Opções Métrica Ref   Uso Iface
201-67-92-254.g *               255.255.255.255 UH    0      0        0 ppp0
default         201-67-92-254.g 0.0.0.0         UG    0      0        0 ppp0
carlinux:/home/carlucio# 


==>> maquina com duas placas  eth0(bridge internet) e eth1(ligado via cabo
crossover a maquina 10.0.0.2).

carlinux:/home/carlucio# ifconfig eth1 10.0.0.1 netmask 255.255.255.0 up

carlinux:/home/carlucio# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.488 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.222 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.224 ms
64 bytes from 10.0.0.2: icmp_seq=4 ttl=64 time=0.221 ms

--- 10.0.0.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 0.221/0.288/0.488/0.116 ms



carlinux:/home/carlucio# route
Tabela de Roteamento IP do Kernel
Destino         Roteador        MáscaraGen.    Opções Métrica Ref   Uso Iface
201-67-92-254.g *               255.255.255.255 UH    0      0        0 ppp0
10.0.0.0        *               255.255.255.0   U     0      0        0 eth1
default         201-67-92-254.g 0.0.0.0         UG    0      0        0 ppp0
carlinux:/home/carlucio# 

carlinux:/home/carlucio# echo "1" > /proc/sys/net/ipv4/ip_forward 

carlinux:/home/carlucio# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.316 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.227 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.224 ms



mas o micro(10.0.0.2) na consegue navegar, o que devo fazer?



-- 

Carlucio Lopes- Cobolito 62-8415-8939 msn:carlinuxs@hotmail.com
Entenda Pirataria => http://www.carlinux.v10.com.br 
Compilador Cobol Free http://tinycobol.org em Portugues
Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp
Projeto Debian Brasil http://cdd.debian-br.org Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk



Reply to: