Question: TEQL via gateway

Linux Advanced Routing and Traffic Control

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

 



Yesterday I posted a question, but I guess too much detail is provided
that no one would bother to read, so I rephrase the question and
hopefully some one may be willing to read. Sorry to spam.

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? 

P.S. 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.

Thanks a lot,
-Ji 


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
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux