Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 16:57:08 -0700 (PDT)
From:      Jeff <dejamuse@yahoo.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   FreeBSD jail can't talk to internet through multiple routers
Message-ID:  <1369785428.89131.YahooMailNeo@web142302.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hi,

I run PCBSD 9.1 and have a jail setup (uses the Warden PBI to set it up).

In that jail which has it's own local IP like 192.168.1.12, I have an Apache server running Drupal.

Normally when I connect the computer to a single router that is connected to a modem, I set "nameserver 192.168.1.1", i.e. the router LAN IP or gateway, in etc/resolv.conf and have no problems.

Now I have added a 2nd router daisy chained from the primary router, running a subnet (primary router has IP: 192.168.1.1 and secondary router: 192.168.2.1).  

The computer running the jail is plugged into the secondary router.

The problem is, the jail can't contact the internet.  I can SSH into the jail but it takes a very long time to connect, like 30 seconds or so.


I've tried different IP addresses for "nameserver" but nothing works.

I have no problems using the internet from the main part of the computer, just the jails.


Any ideas why this happens and how to get around it?  I've had this problem for years with different versions of FreeBSD.

Do I need to create a static route through to the gateway, and if so, why is that not a problem using a browser from the main part of the machine?


Thanks,

Jeff

From owner-freebsd-net@FreeBSD.ORG  Wed May 29 00:51:26 2013
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id BB987EFC
 for <freebsd-net@freebsd.org>; Wed, 29 May 2013 00:51:26 +0000 (UTC)
 (envelope-from ivan@asperasoft.com)
Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com
 [IPv6:2607:f8b0:4003:c01::235])
 by mx1.freebsd.org (Postfix) with ESMTP id 8D1E8939
 for <freebsd-net@freebsd.org>; Wed, 29 May 2013 00:51:26 +0000 (UTC)
Received: by mail-ob0-f181.google.com with SMTP id 16so614149obc.40
 for <freebsd-net@freebsd.org>; Tue, 28 May 2013 17:51:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=google.com; s 120113;
 h=mime-version:from:date:message-id:subject:to:content-type
 :x-gm-message-state;
 bh=O32HNzVl+tl8sA1ZB25gV0IFi1k6tjmqJ3ascIxvnac=;
 b=jVAZjADiXglr/1G4fggEeTYTj1w66Ii7DSjiPgaZeQPCjIAc9AtRJIIzdl/rhKaSX8
 mzq27wCHjThMs/7PLH0C/SlRoJtERg66tj5D2Yu1hbcfZyrJICMEKPqVsIXeHUgcAtEv
 aykT64hpxpEwXQV2V4Qz48aKElCL50Vrn8GHes2CXxyEqkvHP/zLeKHFOlbfS/90j4xj
 p9wjqr/zRP9CqpHNwKpAQtKza1/4om8OPaftoSoIOE8c7RHY0/7YP6ECMEuyQSFoM/J+
 wXLMc2rIZNqaPw9V9iB6ZuTsm+JRwOAdAiz9MQdnTLYe4Pbybx0uKgg05vv32U52ZPwy
 e2FQ=X-Received: by 10.182.34.164 with SMTP id a4mr216609obj.43.1369788686185; Tue,
 28 May 2013 17:51:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.113.167 with HTTP; Tue, 28 May 2013 17:51:06 -0700 (PDT)
From: Ivan Gostev <ivan@asperasoft.com>
Date: Tue, 28 May 2013 17:51:06 -0700
Message-ID: <CAOrSFjKUNeup_f1+Ya3jpjhupEfAKaBsZO+H-_awC7qNo=ZXcg@mail.gmail.com>
Subject: ixgbe driver with VLANs in 8.3
To: freebsd-net@freebsd.org
X-Gm-Message-State: ALoCoQktq97FvXvpnBQffPM6AD7CgkSJIUCAAbPOeJRTVqwaQISPdpAKqaNojv/62X84u0EbSQ2c
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>;
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2013 00:51:26 -0000

Hello,

I am trying to install pfsense on Dell R620 with Intel X520 10Gb DP card.
Default driver (2.4.5 or 2.5.0) sporadically holds and buffers packets for
40-70 seconds.
I compiled ixgbe driver version 2.5.8 from Intel web site.
It works much better now, but does not receive anything over non-default
VLAN. Though the packets are coming out and I can see them on another host.

Any help and ideas are appreciated.
Thank you,
--
Ivan Gostev



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1369785428.89131.YahooMailNeo>