From owner-freebsd-current Tue Jul 4 6:42:21 2000 Delivered-To: freebsd-current@freebsd.org Received: from ada.eu.org (marvin.enst.fr [137.194.161.2]) by hub.freebsd.org (Postfix) with ESMTP id 168E637B747 for ; Tue, 4 Jul 2000 06:42:17 -0700 (PDT) (envelope-from sam@antinea.enst.fr) Received: from antinea.enst.fr (antinea.enst.fr [137.194.160.145]) by ada.eu.org (Postfix) with ESMTP id 778AE191DB; Tue, 4 Jul 2000 15:42:12 +0200 (CEST) Received: by antinea.enst.fr (Postfix, from userid 1000) id BB3BF2D9; Tue, 4 Jul 2000 15:42:11 +0200 (CEST) To: current@freebsd.org Subject: DHCP does not honor default router? Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII Date: 04 Jul 2000 15:42:10 +0200 Lines: 34 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef" From: Samuel Tardieu Organization: Ecole Nationale Superieure des Telecommunications Reply-To: Samuel Tardieu Content-Transfer-Encoding: 8bit X-WWW: http://www.inf.enst.fr/~tardieu/ X-Mail-Processing: Sam's procmail tools X-ICQ: 21547599 Message-Id: <2000-07-04-15-42-11+trackit+sam@antinea.enst.fr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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