LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connecting another LAN is impossible? (https://www.linuxquestions.org/questions/linux-networking-3/connecting-another-lan-is-impossible-347287/)

odd-geir 07-27-2005 09:47 AM

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

Matir 07-27-2005 11:21 AM

Are all the routers configured to go to their upstreams?

odd-geir 07-27-2005 11:41 AM

Yes. I don't think it's something with the network. But it could be something with the Debian conf which is not correct.

Matir 07-27-2005 12:16 PM

can you ping the outermost router?

odd-geir 07-27-2005 02:42 PM

No, i can not ping the outermost router only the WAP which is in the same net as I.

Matir 07-27-2005 02:45 PM

so debian is connected via wireless? I guess I'm not fully understanding your network setup. Can you ping the BEFW11S?

odd-geir 07-27-2005 04:43 PM

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

odd-geir 07-27-2005 06:03 PM

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


All times are GMT -5. The time now is 10:17 PM.