LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2005, 04:20 PM   #1
dislab
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lm10.0 gateway is set but when I reboot I have to set the gateway rharvey32 Mandriva 8 02-13-2006 01:35 PM
What is a gateway? can I have more than one gateway on a vlan? abefroman Linux - Networking 3 09-06-2005 10:43 AM
Odd problem: Gateway unreachable after certain amount of time (Win XP Gateway) SocialEngineer Linux - Networking 2 08-13-2004 12:54 AM
where can i download TEQL shahim Linux - Networking 1 11-12-2002 06:37 PM
TEQL SuSE 8.0 RLNETLINK error TuxWannabe Linux - Networking 1 09-17-2002 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration