From owner-freebsd-net@FreeBSD.ORG Thu Jun 18 19:23:22 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 343551065688 for ; Thu, 18 Jun 2009 19:23:22 +0000 (UTC) (envelope-from axel@freakout.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.162]) by mx1.freebsd.org (Postfix) with ESMTP id AF61C8FC0A for ; Thu, 18 Jun 2009 19:23:21 +0000 (UTC) (envelope-from axel@freakout.de) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1245353000; l=1450; s=domk; d=freakout.de; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Date:To:Subject: From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=ZPl0HdnEF/MJCkSRLJwwZ/RElIM=; b=IefAwwRykpqRvSS7l08LU9OkF+DMBtXib78//ELZjPAg+pJP9vODieYCmrctYFjjDit tXWwmj9/pEzxdYJa9l5Anik8BlO3mtPLDrDVZANT6TaR8zn9JVMBmfvwlW7/Q/G5gKlAx Ah4StgRvaR/4p1vwb+vfKTz0P3f0iwdOeAk= X-RZG-AUTH: :O2kGeEG7b/pS1EurTn64hihVkLmFZJY7jw1n/V02/ThbTLOu2TLyl4CP2OCy6HE= X-RZG-CLASS-ID: mo00 Received: from freakout.homeip.net (pD9E7F704.dip.t-dialin.net [217.231.247.4]) by post.strato.de (fruni mo35) (RZmta 18.42) with ESMTP id a042bfl5IIEG3c for ; Thu, 18 Jun 2009 21:11:22 +0200 (MEST) Received: (from axel@localhost) by bongo.freakout.de (8.14.3/8.14.3) id n5IJAJ2u007974 for freebsd-net@freebsd.org; Thu, 18 Jun 2009 21:10:19 +0200 From: Axel Reinhold Message-Id: <200906181910.n5IJAJ2u007974@bongo.freakout.de> To: freebsd-net@freebsd.org Date: Thu, 18 Jun 2009 21:10:19 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL124c (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; format=text; x-action=sign; charset="US-ASCII" X-Logged: Logged by bongo.freakout.de as n5IJAJ2u007974 at Thu Jun 18 21:10:19 2009 Subject: Bridging and using the interfaces concurrently X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 19:23:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have two FreeBSD-7.1 servers in a data-center hosted. Both servers have two em[01] gigabit network links. First server's (call it "first") em0 is connected to the data-centers internet uplink - the em1 is connected to the seconds servers (call it "second") em1. first's /etc/rc.conf: ifconfig_em0="inet 212.144.103.230 netmask 255.255.254.0" defaultrouter="212.144.102.1" ifconfig_em1="inet 192.168.102.1 netmask 255.255.255.0" seconds's /etc/rc.conf: ifconfig_em1="inet 192.168.102.131 netmask 255.255.255.0" In this way the 192.168.102/24 network is for private connection between the two servers and "second" is not connected to the internet at all. Since i would have to pay extra charges to get the "second" server also connected to the internet, i thought of bridging the em0 and em1 of "first" and to alias another ip for the second server (i have more ip's in the data-center left) on "seconds" em1. Is this possible? What would i have to setup? The private 192.168.102/24 network should remain intakt! I just want to bridge "seconds" em1-MAC to the data-centers switch-port which is connected to "first" em0. Any help? Or is this not possible? Axel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9-PB (GNU/Linux) iD8DBQFKOpEIHQ9JwE2bDw0RAh9mAKCy2R7DAZYzqLfU/wKlwHiZWsQfAwCfUGne 7nsmXfuWgxyo+HAM76VRU6w= =LKp+ -----END PGP SIGNATURE-----