LinuxQuestions.org
Help answer threads with 0 replies.
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-18-2004, 12:44 PM   #1
makapacs
LQ Newbie
 
Registered: May 2004
Posts: 19

Rep: Reputation: 0
Linux Router problem


Hi,
i am setting up linux Router that will conect LAN2 with main LAN1. In LAN1 Windows SB server 2000 OS is installed and cisco 675 router used to connect outside. On Linux router I did set up Router table and it seems to work, since i can ping from linux router box any linux box on LAN2 and any PC including Router on LAN1. The problem is when i try to ping from one of the Linux box of LAN2. It can ping the Linux router of LAN2, and Linux router can ping that Linux box, but when the linux box tryies to ping any PC and router on the LAN,1 it stops. The lights on switch are going on and off. There is no message telling that the PC or router it tryies to ping is unreachable. It stops rigth after calliing ping xx.xx.xx.xx command.
either on linux box or router the routing tables is correct since those are exactly from book.
Does anyone has ideas how to troublshoot this problem? ..is there anything else to be configured beside makinig changes in Router table for Linux router?
Thank's
Margots
 
Old 06-22-2004, 10:35 AM   #2
dcgva
LQ Newbie
 
Registered: Feb 2004
Location: Geneva
Distribution: SUSE
Posts: 7

Rep: Reputation: 0
Are you sure you have the kernel IP forwarding flag set ? Check :

# cat /proc/sys/net/ipv4/ip_forward

If it's not set to 1, do a :

# echo 1 >/proc/sys/net/ipv4/ip_forward


dc
 
Old 06-24-2004, 12:50 PM   #3
makapacs
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thank's dcgva,
it was set to zero. Now i did set to one, but it seems it did not solve the problem.

since i can ping router on LAN2 and LAN1 from my linux workstation on Lan2, would it be something to do with browser settings that i have to change because the proxy server is running on LAN2 router. Or there must be something else?

Margots
 
Old 07-01-2004, 03:11 AM   #4
dcgva
LQ Newbie
 
Registered: Feb 2004
Location: Geneva
Distribution: SUSE
Posts: 7

Rep: Reputation: 0
I had another ongoing problem which is close to the one you are having...
Let me describe what I was attempting and how I fixed it.

Sys A <- NET X -> Sys B <- Net Y -> Sys C

When adding the Network Y, I moved the Sys C from Network X to this new network. I then modified the routing table on system C to use system as a gateway for network X. I also made sure all routing tables were properly set on system B.

pinging the Net X's network card from system C worked... but I couldn't ping system A. In fact, the network topology is more complex than waht is being displayed here. I have two additional switches on each network, doing VLAN on a fiber. I tried to use an additional system to spy the network. I attempted a 'tcpdump' and couldn't see my paquets... Due to a bad configuration in on of the switches, my paquets were blocked and I couldn't see them because my "spy" was connected to a different "branch" of the network.

It took me two days to realize that my paquets did arrive to system A... but couldn't anywhere since the routing table of system A wasn't correct... It didn't know how to send the answer back to network Y. Even worse... my paquets were sent to the default gateway (on another network) from system A.

Though, don't forget to setup the routing table on BOTH ends. I hope it's going to help you :-)

dc
 
  


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
linux router problem dawn_angel Linux - Networking 7 02-07-2005 02:26 PM
Slow Linux router problem e88z4 Linux - Networking 3 01-03-2005 03:14 PM
Linux Router Hardware problem TooToon Linux - Hardware 4 02-20-2004 03:50 AM
linux router problem(HELP ME OUT) bally Linux - Networking 5 06-21-2002 08:26 AM
Linux Router problem kjelle Linux - Networking 2 02-04-2002 07:32 AM

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

All times are GMT -5. The time now is 09:12 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