From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 12:26:04 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 5B291106564A for ; Tue, 8 Apr 2008 12:26:04 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id DEFD98FC35 for ; Tue, 8 Apr 2008 12:26:03 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 79859 invoked by uid 1002); 8 Apr 2008 12:26:03 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.70.104.100):. Processed in 0.072262 secs); 08 Apr 2008 12:26:03 -0000 Received: from unknown (HELO ?192.168.30.110?) (steve@ibctech.ca@208.70.104.100) by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Apr 2008 12:26:02 -0000 Message-ID: <47FB63F1.2020207@ibctech.ca> Date: Tue, 08 Apr 2008 08:24:17 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: johannes-maria@t-online.de References: <47FB3600.214104E2@t-online.de> In-Reply-To: <47FB3600.214104E2@t-online.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: 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 12:26:04 -0000 > 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). 192.168.2.1/24 is in a different network than 192.168.10.1/24. Your gateway and your workstation will not be able to communicate with one another. > Then I assigned an address (e. g. 192.168.10.1) to the ethernet card > with the help of > and made it the default route: > > route add default 192.168.10.1 You essentially gave yourself an address outside of the gateways LAN address scope, and then proceeded to route all unknown traffic to yourself. You probably want: # ifconfig rl0 192.168.2.100 255.255.255.0 ...and # route add default 192.168.2.1 Then, for name resolution: # echo "nameserver ip.of.isp.dns" >> /etc/resolv.conf Regards, Steve