debian network help!
hi all, this is the first time i come here^_^
i have just installed a debian 3.0 system. All other components of the system work well except the network. The network doesn't work at all.
here are some information about my network,
netstat -rn:
----------------------------------------------------
debian:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
218.1.0.231 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 40 0 0 eth0
----------------------------------------------------
contents of /etc/network/interfaces:
----------------------------------------------------
debian:~# more /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
----------------------------------------------------
ifconfig:
----------------------------------------------------
debian:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:49:14:69
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3354 (3.2 KiB) TX bytes:2820 (2.7 KiB)
Interrupt:5 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6507 (6.3 KiB) TX bytes:6507 (6.3 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:218.80.159.58 P-t-P:218.1.0.231 Mask:255.255.255.255
~~~~~~~~~~~~~~~~~~~~~~~~~~~
// i am able to ping these 2 ips and 192.168.0.1(my localachine),
//but no other ip
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1628 (1.5 KiB) TX bytes:97 (97.0 b)
----------------------------------------------------
note that i am able to ping 218.1.0.231 and renew my dynamic ip each time i set up my network, so it seems that i have connected to the internet.
i am really pullzed...
Thanks in advance!!
|