LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-27-2005, 09:47 AM   #1
odd-geir
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Rep: Reputation: 0
Connecting another LAN is impossible?


Hi there.

I have a network like this:

First the adsl router (192.168.1.1/24) which is connected to av Linksys BEFW11S (192.168.2.1/24, act as DHCP-server) which has a wireless connection to a Linksys WAP54G (192.168.2.2). I have a winXP and a Debian connected to the WAP (behind a switch).

The winXP is going stright to the Internet, but the Debian is not. I have no problem to connect to the BEFW11S from the Debian (admin pages), but there it stops.

What could be wrong?

The resolv.conf file is like this: nameserver 192.168.2.1

Instead of WAP i hade a WRT54G (with Sveasoft) and thought it had a bug therefore i changed it with the WAP.



oghb
 
Old 07-27-2005, 11:21 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Are all the routers configured to go to their upstreams?
 
Old 07-27-2005, 11:41 AM   #3
odd-geir
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Yes. I don't think it's something with the network. But it could be something with the Debian conf which is not correct.
 
Old 07-27-2005, 12:16 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
can you ping the outermost router?
 
Old 07-27-2005, 02:42 PM   #5
odd-geir
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
No, i can not ping the outermost router only the WAP which is in the same net as I.
 
Old 07-27-2005, 02:45 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
so debian is connected via wireless? I guess I'm not fully understanding your network setup. Can you ping the BEFW11S?
 
Old 07-27-2005, 04:43 PM   #7
odd-geir
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, my Debian is connected to the WAP54 through cable (by a switch).

I can ping the BEFW11S, but not the adsl router (192.168.1.1). I can do that from the winXP.

I just tried a ping from Debian, and got reply, it looked like this:

# ping www.vg.no
PING www.vg.no (193.69.165.21): 56 data bytes

The IP adress is correct for the domain.

I am wondering if there could be something wrong with my Debian?

Thanks for all help.


oghb
 
Old 07-27-2005, 06:03 PM   #8
odd-geir
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Hi

I found the solution to the problem. I had to turn off the rp_filter on the Debian.
The code is as follow:

echo 0 > /proc/sys/net/ipv4/conf/{'device name' | all}/rp_filter


Thanks for the help


oghb
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
connecting to network via LAN mohtasham1983 General 10 12-08-2005 12:21 PM
connecting to a computer in a Lan from outside Tinku Linux - Networking 7 06-03-2005 01:51 PM
connecting to a lan with amigo mjdx88 Slackware 1 07-09-2004 12:34 AM
broadcasts on a home lan using an internal firewall; this is probably impossible lezek Linux - Networking 2 03-22-2004 08:13 AM
Need help connecting to LAN HoosTrax Linux - Networking 1 02-06-2004 03:12 PM


All times are GMT -5. The time now is 08:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration