From: Nick P. <ni...@in...> - 2004-12-28 23:15:27
|
Hilmar Preusse wrote: ><snip> > >Is there a route inside coLinux to the outside world? What does >"route" and "route -n" inside coLinux tell you? > >Greets, > Hilmar > Just to clarify my network layout before I go any further... 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. Here are the commands I entered on the ICS machine to try and get it to talk to the coLinux machine route add 192.168.1.0 mask 255.255.255.0 192.168.0.1 arp -s 192.168.1.1 <xx-xx-xx-xx-xx-xx> 192.168.0.1 arp -s 192.168.1.2 <xx-xx-xx-xx-xx-xx> 192.168.0.1 (where <xx-xx.. etc is the MAC address of My PC's ethernet card ). Any thoughts? |