Skip site navigation (1)Skip section navigation (2)
Date:      04 Jul 2000 15:42:10 +0200
From:      Samuel Tardieu <sam@inf.enst.fr>
To:        current@freebsd.org
Subject:   DHCP does not honor default router?
Message-ID:  <2000-07-04-15-42-11%2Btrackit%2Bsam@antinea.enst.fr>

next in thread | raw e-mail | index | archive | help
My laptop gets a fixed IP address (137.194.161.7) using DHCP (so that
I do not have to set up multiple configurations depending on the
network).

However, even when it receives router information, it does not update
the routing table:

% grep dhclient /var/log/messages
Jul  4 15:08:00 trillian dhclient: New IP Address(ep0): 137.194.161.7
Jul  4 15:08:00 trillian dhclient: New Subnet Mask (ep0): 255.255.254.0
Jul  4 15:08:00 trillian dhclient: New Broadcast Address(ep0): 137.194.161.255
Jul  4 15:08:00 trillian dhclient: New Routers: 137.194.160.121

Routing tables

% netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
127.0.0.1          127.0.0.1          UH          3      123      lo0
137.194.160/23     link#5             UC          0        0      ep0 =>
137.194.160.3      8:0:20:a2:8e:ac    UHLW        0        3      ep0   1200
137.194.161.2      8:0:20:b0:8a:5d    UHLW        0       46      ep0   1182
137.194.161.6      0:a0:24:16:e1:1c   UHLW        0        0      ep0   1175

AppleTalk
[...]

Any idea of what went wrong?

  Sam
-- 
Samuel Tardieu -- sam@inf.enst.fr



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2000-07-04-15-42-11%2Btrackit%2Bsam>