Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 21:10:19 +0200 (CEST)
From:      Axel Reinhold <axel@freakout.de>
To:        freebsd-net@freebsd.org
Subject:   Bridging and using the interfaces concurrently
Message-ID:  <200906181910.n5IJAJ2u007974@bongo.freakout.de>

next in thread | raw e-mail | index | archive | help
-----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-----



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