Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ok I am getting crazy for getting these interfacess to talk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
watergate
n00b
n00b


Joined: 16 May 2004
Posts: 24

PostPosted: Sat Mar 25, 2006 12:10 am    Post subject: Ok I am getting crazy for getting these interfacess to talk Reply with quote

Hello

I have ADSL router which I have connected to my Linux webserver through eth0. In the linux server I have a second ethernet card (DLINK wireless)

( WAN )
I
192.168.1.1 (ADSL ROUTER)
192.168.1.0/24 I
---------------------------------------------------------
I eth0
192.168.1.10
webserver (gentoo)
192.168.2.10
I wlan0 (WLAN subnetwork Managed mode)
--------------------------------------------------------
192.168.2.0/24 I
I
I DI-624+ Wireless router AP 192.168.2.2
I
I
192.168.2.4 (Linux station)


OK now I'll need my linux station to get a internet connection but I cannot make a ping from 192.168.2.2 to 192.168.1.1 and it seems to be the gentoo webserver that cuts the traffic. I have disabled the firewall in the DI-624+. I can also not ping from 192.168.2.4. to 192.168.1.10.

What's wrong?

webserver ~ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:08:20:AA:BB:CC
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:953 errors:0 dropped:0 overruns:0 frame:0
TX packets:864 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:941470 (919.4 Kb) TX bytes:134590 (131.4 Kb)
Interrupt:11 Base address:0xdc00

wlan0 Link encap:Ethernet HWaddr 00:80:22:CC:AA:BB
inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4083 errors:0 dropped:0 overruns:0 frame:0
TX packets:2569 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1461963 (1.3 Mb) TX bytes:266178 (259.9 Kb)
Memory:e7020000-e7021fff

Thanks for any suggestions
Back to top
View user's profile Send private message
DerRalf
n00b
n00b


Joined: 13 Dec 2003
Posts: 34
Location: Bay Area, CA

PostPosted: Sat Mar 25, 2006 2:03 am    Post subject: Reply with quote

You probably didn't enable IP forwarding on your Gentoo box. Try:

/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
Back to top
View user's profile Send private message
watergate
n00b
n00b


Joined: 16 May 2004
Posts: 24

PostPosted: Sat Mar 25, 2006 8:02 am    Post subject: Reply with quote

:D :D Ooops that was easy. Now it works. Don't know why that is not activated by default.

Now I have to get dns working.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum