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

route table behind router



    After a decade of dialup So Cal. Cox finally made me an offer 
I couldn't refuse. I've switched but can't connect on my Debian box.
I've spent the last two weeks reading man pages, HOWTOs, searching
the web and Deb user list archives but still don't get it.
    The setup is like so:
cox cable-----NetGear router------------Windows box
                             \----------Debian box

    Windows has no problem but the Debian box can still only see the net
via the phone modem and dialup. I've added DHCP via the dhclient package
though since the router assigns the addresses 192.168.1.2 & 3 to the 
Debian and Windows boxes respectively I suspect I don't really need it.
    I can access the windows box through the router via smbclient.
Even with IPtables that are ACCEPT, ACCEPT, ACCEPT, ... neither lynx
or Firefox can access the inet though they can access the router. 

root@/deb40a:~> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:38:DA:9F
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2755 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1319 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:679139 (663.2 KiB)  TX bytes:184119 (179.8 KiB)
          Interrupt:10 Base address:0x6500

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          ...

root@/deb40a:~> 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

    What am I missing? If some one with a setup similar to mine would show me
their routing table I'd appreciate it as I'm stumped.

Thanks,
Mike

-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


Reply to: