Hi, > I'm on a VPN set up by a D-link router connected to a cable modem. > The internal IP address of the router is 192.168.0.1, and its dhcpd is > set up to deliver IP addresses between 192.168.0.100 and > 192.168.0.199, with my MAC address bound to 192.168.0.109. The > bizarre thing is that my computer seems to be getting the IP addrsess > 169.254.46.151! This seems very strange to me. I'm using Debian > unstable, and have tried the following two different stanzas in > /etc/network/interfaces: > > auto eth0 > iface eth0 inet dhcp > > and > > auto eth0 > iface eth0 inet static > address 192.168.0.109 > netmask 255.255.255.0 > gateway 192.168.0.1 > > The DHCP stanza seems to show me getting the desired IP address: > > [EMAIL PROTECTED]:/etc/network$ sudo /etc/init.d/networking restart > Reconfiguring network interfaces...cat: /var/run/dhclient.eth0.pid: No > such file or directory > ifup: interface lo already configured > Internet Software Consortium DHCP Client 2.0pl5 > Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. > All rights reserved. > > Please contribute if you find this software useful. > For info, please visit http://www.isc.org/dhcp-contrib.html > > sit0: unknown hardware address type 776 > sit0: unknown hardware address type 776
Note the differing hardware (!!) addresses: > Listening on LPF/eth0/00:d0:59:aa:7e:50 > Sending on LPF/eth0/00:d0:59:aa:7e:50 ^^^^^^^^^^^^^^^^^ > Sending on Socket/fallback/fallback-net > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 > DHCPOFFER from 192.168.0.1 > DHCPREQUEST on eth0 to 255.255.255.255 port 67 > DHCPACK from 192.168.0.1 > SIOCSIFADDR: File exists > bound to 192.168.0.109 -- renewal in 302400 seconds. > done. > > But ifconfig disagrees! > > [EMAIL PROTECTED]:/etc/network$ sudo ifconfig eth0 > eth0 Link encap:Ethernet HWaddr 00:60:97:94:52:69 ^^^^^^^^^^^^^^^^^ Are you doing some sort if interface renaming, or do you change the hardware address? Are there any other interfaces at all, and what hardware addresses do they have? Regards, Jan
signature.asc
Description: Digital signature