From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 13:48:23 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 686DA1065672 for ; Tue, 8 Apr 2008 13:48:23 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0034A8FC2C for ; Tue, 8 Apr 2008 13:48:22 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m38DmG3S007214; Tue, 8 Apr 2008 08:48:17 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080408084352.025b9788@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 08 Apr 2008 08:48:01 -0500 To: johannes-maria@t-online.de, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <47FB3600.214104E2@t-online.de> References: <47FB3600.214104E2@t-online.de> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080408-0, 04/08/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.92.1/6668/Tue Apr 8 06:57:49 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m38DmG3S007214 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: {Disarmed} Re: network configuration problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 13:48:23 -0000 At 04:08 AM 4/8/2008, Johannes-Maria Kaltenbach wrote: >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 You need to setup your IP on the same subnet as your router, Check the documentation on your router and choose an address NOT given as a DHCP address. Many routers start their DHCP pool at 100, so you could try: ifconfig rl0 192.168.2.10 255.255.255.0 Then: route add default 192.168.2.1 This would work as long as the 192.168.2.10 is outside the DHCP pool. -Derek >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.) > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.