help: TEQL via gateway
I am using TEQL on two computers, each with two network interfaces. The two eth0 are connected directly, and the two eth1 are connected via a gateway (a linux machine). The problem is that when I send packets through teql0 to the other machine (ping -I teql0), the packets can't go through eth1 and all packets go via eth0. But I can send packets via
eth1 directly (ping -I eth1). What's wrong? Is it because of the routing tables?
I put eth1 and teql0 on one computer, and the gateway interface on the same side into one subnet. I only found TEQL configuration for two direct links. My routing tables are attached below.
I have tried TEQL on two direct connections (without gateway), and it works fine.
Thanks a lot!
Node 1:
- eth0: 16.119.144.21
- eth1: 16.119.144.33
- teql0: 16.119.144.34
Destination Gateway Genmask Flags Metric Ref Use Iface
16.119.144.66 * 255.255.255.255 UH 0 0 0 teql0
16.119.144.32 * 255.255.255.255 UH 0 0 0 eth1
16.119.144.64 16.119.144.32 255.255.255.252 UG 0 0 0 eth1
16.119.144.0 * 255.255.254.0 U 0 0 0 eth0
16.119.144.0 * 255.255.254.0 U 0 0 0 eth1
16.119.144.0 * 255.255.254.0 U 0 0 0 teql0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 16.119.144.1 0.0.0.0 UG 0 0 0 eth0
Node 2:
- eth0: 16.119.144.27
- eth1: 16.119.144.65
- teql0: 16.119.144.66
Destination Gateway Genmask Flags Metric Ref Use Iface
16.119.144.64 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
16.119.144.34 0.0.0.0 255.255.255.255 UH 0 0 0 teql0
16.119.144.32 16.119.144.64 255.255.255.252 UG 0 0 0 eth1
16.119.144.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
16.119.144.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
16.119.144.0 0.0.0.0 255.255.254.0 U 0 0 0 teql0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 16.119.144.1 0.0.0.0 UG 0 0 0 eth0
Gateway:
- eth0: 16.119.144.32
- eth1: 16.119.144.64
Destination Gateway Genmask Flags Metric Ref Use Iface
16.119.144.64 0.0.0.0 255.255.255.252 U 0 0 0 eth1
16.119.144.32 0.0.0.0 255.255.255.252 U 0 0 0 eth0
16.119.144.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
16.119.144.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 16.119.144.1 0.0.0.0 UG 0 0 0 eth0
|