[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: networking help (routing table and iptables)



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?


> 
> you also have wireless on ath0

Yes, forgot to specify that.

Thanks.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


Reply to: