Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Simple routing problem

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Ivek
Posts: 2
Joined: 2005-08-27 18:34

Simple routing problem

#1 Post by Ivek »

My network is disigned like this:

Code: Select all

------------------                   -----------------------------------------------                   --------------------
|win(192.168.16.1)| ------lan------ |(192.168.16.2 -eth0)Debian(10.168.16.125 - ra0)|--)))))wlan((((--|(10.168.16.115 - AP)|--other computers--
------------------                   -----------------------------------------------                   --------------------
I would like my debian to route between these two subnets:
10.168.16.*** subnet 255.255.255.128 gateway 10.168.16.1
192.168.16.*** subnet 255.255.255.0

route table looks like this:

Code: Select all

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.168.16.0     0.0.0.0         255.255.255.128 U     0      0        0 ra0
192.168.16.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         10.168.16.1     0.0.0.0         UG    0      0        0 ra0
On the win machine DG is 192.168.16.2
I have enabled ip_forward in /etc/network/options and /proc/sys/net/ipv4/ip_forward.
From win I can ping 192.168.16.2, 10.168.16.125 (ra0 on debian) but i can't go any further... I cant ping 10.168.16.115 or 10.168.16.1. I get request timeout...

Can someone help me?

Also, where can I add permanent routes so they stay there after reboot?

Ivek
Posts: 2
Joined: 2005-08-27 18:34

#2 Post by Ivek »

I got it fixed!
Actually it wasnt bad at all.
The trick was that default router (10.168.16.1) didn't know about this 192.168.16.* network so the packages got lost. :-) Now everything works fine.

Post Reply