On Fri, Nov 06, 2009 at 06:08:00PM -0500, H.S. wrote: > Alex Samad wrote: > > On Fri, Nov 06, 2009 at 04:35:58PM -0500, H.S. wrote: > > >> I have this routing table: > >>> /sbin/route -n > >> Kernel IP routing table > >> Destination Gateway Genmask Flags Metric Ref Use Iface > >> <MyWANIP> 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > >> 192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0 > >> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 > >> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > >> 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 > >> > >> > >> Does this look good to the networking gurus here? I am not sure what to > >> make of the last line. > > > > last line is defining the default gateway - where to send packets when > > it doesn't have a local route. > > > > also try using > > > > ip route > > Yes, more explanation here. > > ip route > 206.248.154.122 dev ppp0 proto kernel scope link src 69.196.173.66 > 192.168.5.0/24 dev ath0 proto kernel scope link src 192.168.5.1 > 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.10 > 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.1 > default dev ppp0 scope link > > So that last line of the route command output earlier is present in all > home router then? depends, if you have configured a default route then yes, if not then no. you could trick it with something like (try this) ip r d default ip r a 0.0.0.0/1 dev ppp0 ip r a 128.0.0.0/1 dev ppp0 ip r you shouldn't see a default route but your internet should still be working. > > > > > > you also have wireless on ath0 > > Yes, forgot to specify that. > > Thanks. > -- It is up to us to produce better-quality movies. -- Lloyd Kaufman, producer of "Stuff Stephanie in the Incinerator"
Attachment:
signature.asc
Description: Digital signature