Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2006 17:08:17 +0200
From:      Marcin Jessa <lists@yazzy.org>
To:        "OxY" <oxy@field.hu>
Cc:        freebsd-net@freebsd.org
Subject:   Re: changing default route
Message-ID:  <20060516170817.8585ea6c.lists@yazzy.org>
In-Reply-To: <001001c678f6$f17b37b0$0201a8c0@oxy>
References:  <000c01c67873$dc8a9680$0201a8c0@oxy> <1A527B5C-C505-46A7-BA90-C5329C667FE1@mac.com> <000601c678f0$22472590$0201a8c0@oxy> <20060516163104.4d33e2c1.lists@yazzy.org> <001001c678f6$f17b37b0$0201a8c0@oxy>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 May 2006 16:42:23 +0200
"OxY" <oxy@field.hu> wrote:

> but bridging needs ipfw (or pf) and with heavy traffic
> it needs lots of cpu.

No, bridging does not need any firewalling.
Run something like:
ifconfig bridge0 create
ifconfig bridge0 addm em0 addm em1
ifconfig bridge0 inet 12.23.34.45 netmask 255.255.255.0

Or put to rc.conf:
cloned_interfaces="bridge0"
ifconfig_bridge0="inet 12.23.34.45 netmask 255.255.255.0 addm em0
addm em1 up"

And please stop top posting.

Marcin.

> ----- Original Message ----- 
> From: "Marcin Jessa" <lists@yazzy.org>
> To: "OxY" <oxy@field.hu>
> Cc: <freebsd-net@freebsd.org>
> Sent: Tuesday, May 16, 2006 4:31 PM
> Subject: Re: changing default route
> 
> 
> > On Tue, 16 May 2006 15:53:38 +0200
> > "OxY" <oxy@field.hu> wrote:
> > 
> >> any other solution?
> >> can i solve it with static routing?
> > 
> > Create a bridge interface, assign both the nics as it's members and
> > assign the IP to it.
> > 
> > Marcin.
> > 
> >> ----- Original Message ----- 
> >> From: "Charles Swiger" <cswiger@mac.com>
> >> To: "OxY" <oxy@field.hu>
> >> Cc: <freebsd-net@freebsd.org>
> >> Sent: Tuesday, May 16, 2006 1:10 AM
> >> Subject: Re: changing default route
> >> 
> >> 
> >> > On May 15, 2006, at 7:04 PM, OxY wrote:
> >> >> have two interfaces with the same ip, em0 connected to another  
> >> >> server with crosslink, em1 is the public, can be reached from
> >> >> the internet connected to a switch.
> >> > 
> >> > Don't do that.  Use bridging instead, if appropriate.
> >> > 
> >> > -- 
> >> > -Chuck
> >> >
> >> _______________________________________________
> >> freebsd-net@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >> To unsubscribe, send any mail to
> >> "freebsd-net-unsubscribe@freebsd.org"
> > _______________________________________________
> > freebsd-net@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to
> > "freebsd-net-unsubscribe@freebsd.org"



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