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

Re: problems with eth0 set-up




On the other hand if your ISDN Router is expecting a "static" IP and eth0 is setup to use dhcp, then you probably should change it to use a "static" IP in /etc/network/interfaces. Again, you will have to have some "good" DNS servers listed in /etc/resolv.conf.

I have it set up with a static IP on the network, I'm not using DHCP at all.


If you have other machines on the network and can ping them by IP number (the gateway after it comes up in "route" is a good one to try) but not by name, then this is almost diagnostic of improper DNS servers. If you cannot ping even the gateway, then something is wrong with the NIC setup. I doesn't sound like this is the case here, though.

I can't ping even the gateway by number, and I can't ping that box either from any other machine


The results of "ifconfig", "route" and "lsmod" commands would be helpful in diagnosing the problem. Also a copy of your /etc/network/interfaces file would be helpful.

ifconfig:
eth0    Link encap: Ethernet HWaddr 00:A0:CC:5E:69:C1
        inet addr: 10.0.0.16 Bcast: 10.0.0.255 Mask 255.255.255.0
        UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric:1
        RX Packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX Packets:6 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        Interrupt:11 Base Address:0xdc00

lo      Link encap: Local loopback
        inet addr:127.0.0.1 Mask 255.0.0.0
        UP LOOPBACK RUNNING MTU:3924 Metric:1
        RX Packets:4 errors:0 dropped:0 overruns:0 frame:0
        TX Packets:4 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100

route:
Kernel IP Routing Table
Destination     Gateway Genmask Flags Metric Ref        Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 10.0.0.10       0.0.0.0         UG      0       0       0       eth0


lsmod:
Module  Size            Used By
nls_cp437       3880            0 (autoclean)
pcmcia_core     44896           0
ide_floppy      8528            0
tulip           28920           1
unix            11336           7 (autoclean)

/etc/network/interfaces
iface eth0 inet static
        address: 10.0.0.16
        netmask: 255.255.255.0
        network: 10.0.0.0
        broadcast: 10.0.0.255
        gateway: 10.0.0.10



Reply to: