From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 09:34:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E127A106566C for ; Tue, 8 Apr 2008 09:34:57 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by mx1.freebsd.org (Postfix) with ESMTP id 7C80C8FC0A for ; Tue, 8 Apr 2008 09:34:57 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from fwd28.aul.t-online.de by mailout05.sul.t-online.de with smtp id 1Jj9zV-00011U-02; Tue, 08 Apr 2008 11:19:45 +0200 Received: from t-online.de (TEQbR+ZaohuGHCL7G-ZSC7yUkkM-M+f5A0cROVtFv-9CWrr1Qcb2gWEMUjSQM2+gel@[217.249.99.176]) by fwd28.aul.t-online.de with esmtp id 1Jj9z7-1ViNPc0; Tue, 8 Apr 2008 11:19:21 +0200 Sender: jmk@t-online.de Message-ID: <47FB3600.214104E2@t-online.de> Date: Tue, 08 Apr 2008 11:08:16 +0200 From: Johannes-Maria Kaltenbach X-Mailer: Mozilla 4.78 [en] (X11; FreeBSD 6.0-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-ID: TEQbR+ZaohuGHCL7G-ZSC7yUkkM-M+f5A0cROVtFv-9CWrr1Qcb2gWEMUjSQM2+gel X-TOI-MSGID: 51bcfd6b-8260-4ee7-aaba-fbdf8a057b8a Subject: network configuration problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: johannes-maria@t-online.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 09:34:58 -0000 Hello, at the moment I'm using internet an emails via a 56k modem and ppp. I want to change to DSL -- but I'm not able to do it without help. I've bought a router/gateway from my provider (Telekom/T-Online) which is called "Speedport W 502V Typ A" an has the ip address 192.168.2.1; it is connectet to an ethernet card (rl0). The provider requests DHCP, but this doesn't work; I get the message | Bogus domain search list 15: Speedport_W_502V_Typ_A (Speedport_W_502V_Typ_A) | Invalid lease option - ignoring offer several times and the error message "Network is unreachable". Then I assigned an address (e. g. 192.168.10.1) to the ethernet card with the help of ifconfig rl0 192.168.10.1 255.255.255.0 and made it the default route: route add default 192.168.10.1 output of ifconfig: | rl0: flags=8843 mtu 1500 | options=8 | inet 192.168.10.1 netmask 0xffffff00 broadcast 255.255.255.0 | inet6 fe80::214:85ff:fe75:eac8%rl0 prefixlen 64 scopeid 0x1 | ether 00:14:85:75:ea:c8 | media: Ethernet autoselect (100baseTX ) | status: active and netstat: | Routing tables | | Internet: | Destination Gateway Flags Refs Use Netif Expire | default 192.168.10.1 UGS 0 2304 rl0 | localhost localhost UH 0 490 lo0 | 192.168.10 link#1 UC 0 0 rl0 | 192.168.10.1 00:14:85:75:ea:c8 UHLW 2 36 lo0 I cannot "ping" the router/gateway: | PING 192.168.2.1 (192.168.2.1): 56 data bytes | 36 bytes from 192.168.10.1: Time to live exceeded | Vr HL TOS Len ID Flg off TTL Pro cks Src Dst | 4 5 00 5400 025f 0 0000 01 01 29f8 192.168.10.1 192.168.2.1 | | 36 bytes from 192.168.10.1: Time to live exceeded | Vr HL TOS Len ID Flg off TTL Pro cks Src Dst | 4 5 00 5400 0269 0 0000 01 01 29ee 192.168.10.1 192.168.2.1 | | 36 bytes from 192.168.10.1: Time to live exceeded | Vr HL TOS Len ID Flg off TTL Pro cks Src Dst | 4 5 00 5400 0273 0 0000 01 01 29e4 192.168.10.1 192.168.2.1 etc. With "firefox http://192.168.2.1" (to get the configuration menu of the speedport) I get the error message: | The connection was refused when attempting to contact 192.168.2.1. and with telnet: | Trying 192.168.2.1... | telnet: connect to address 192.168.2.1: No route to host | telnet: Unable to connect to remote host What I'm doing wrong? Can you please help me? Thanks, Johannes-Maria P. S.: I'm using FreeBSD 6.0-RELEASE. (That's the only operating system on my pc, so I cannot test or configure the speedport with Linux or MS-Windows.)