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

Re: problems getting ip with dhcp

Others more knowledgeable will probably help you more, but...

On Tue, 22 Apr 2003 22:47:20 +0200 Andreas Kägi wrote:
> hello everybody,
> i have a computer with two 3com-network cards, using the kernel module
> 3c59x. the first nic has a static ip-adress that works fine. on the
> 2nd card i have a cable-modem, and want to get the ip-address via
> dhcp. so i have set the /etc/network/interfaces to:
> auto eth1
> iface eth1 inet dhcp

Is this the whole content of the file? How do you assign the static ip
for eth0?

> but eth1 does not get a ip-address assigned. ifconfig -a shows:
> eth1      Link encap:Ethernet  HWaddr 00:04:75:E5:51:0C
>           BROADCAST ALLMULTI MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>           Interrupt:11 Base address:0xb800

Are you sure you have a DHCP client installed and running?

Also, check the relevant logs for error messages from the dhcp client.

Perhaps if you post the whole /etc/network/interfaces contents, the
complete output of ifconfig -a, and other relevant bits of information
(like the contents of 'ps ax'), maybe the list could be of more help.


Carlos Sousa

Reply to: