From: Hilmar P. <hi...@we...> - 2005-01-04 08:53:07
|
On 01.01.05 Ilya Bezlyudnyy (ne...@ne...) wrote: > Nick Perkins wrote: Hi, > >ADSL Modem <-----> ICS PC <-----> My PC <-----> TAP <-----> CoLinux > > | | | | | > >IP: Assigned 192.168.0.1 192.168.0.2 192.168.1.1 192.168.1.2 > > > >(Hope that makes sense...) > > > >Here is the output from route and route -n ... > > > >colinux:/etc# route > >Kernel IP routing table > >Destination Gateway Genmask Flags Metric Ref Use Iface > >192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 > >default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 > >colinux:/etc# route -n > >Kernel IP routing table > >Destination Gateway Genmask Flags Metric Ref Use Iface > >192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > >0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 > > > >So to me there appears to be a route to the outside world. > > NO! I do not see any route to the outside world!!! > The last one (default route) tells coLinux to contact 192.168.1.1 (the WLAN IF of the PC it is running on), when it want to contact the outside world. Yes, the PC needs a route to the outside world too. I guess, this is given. I can't read it actaully in the mail of the OP. > All IPs have to belong to one subnet. But they does not: > CoLinux and TAP belong to 192.168.1.0/24 subnet. > MyPC and ICSPC - to 192.168.0.0/24 subnet. > How do you want to do routing if all interfaces belong to the same subnet? Regards, Hilmar -- Sorry, no fortune this time. http://hilmarpreusse.forum-rheinland.de/ |