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

receiving unexpected IP address *outside* of VPN



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:

lwaldron@parkdale:/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
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!

lwaldron@parkdale:/etc/network$ sudo ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:60:97:94:52:69
          inet addr:169.254.46.151  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::2d0:59ff:feaa:7e50/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:40763 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46031 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:33285720 (31.7 MiB)  TX bytes:30327904 (28.9 MiB)

What's going on?



Reply to: