Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 00:14:08 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        daniel B <danielb@pacex.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Multiple NICs in one subnet
Message-ID:  <Pine.BSF.3.96.990512001103.26546C-100000@cygnus.rush.net>
In-Reply-To: <Pine.BSF.3.96.990511195954.23342E-100000@almazs.pacex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 May 1999, daniel B wrote:

> 	
> Realy need help on this one;
> 
> My network topology:
> 
> [ DSL router ]---[ fbsd firewall ]-----[  DNS/SMTP/HTTP machine ]
>                 ep1             ep0
> 
> I have a /27 subnet and am trying to install firewall for my network on a
> seperate FreeBSD machine with two nics running 3.1.
> . All nics configured correctly with their own IPs
> . kernel configured for IPFIREWALL_VERBOSE
> . /etc/rc.conf setup for fire wall & gateway_enable=YES
> 
> Problem #1: I keep getting  the following errors:
> /frank routed[89]: ep1 (204.1.212.130/27) is
> duplicated by ep0  (204.1.212.131/27)
> 
> frank /kernel: arp: 204.1.212.156 is on ep0 but got reply from 00:20:4f:45
> on ep1
> 
> How do I force ep1 to pass packets from router to firewall
> and ep0 from firewall to internal fbsd machine while having
> everything  on the same subnet?
> Is it possible?
> If not what do I need to change/modify for it to work?

here's what i did:

compile a kernel with bridging support (options BRIDGE),
take off the IP from "ep1", put an ip on "ep0",
enable bridge: sysctl -w net.link.ether.bridge=1
make sure the ep1 <-> DSL router is on a single cable,
hook up "ep0" to a hub/switch with the rest of your network on it.

note: ep1 shouldn't have an IP address

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990512001103.26546C-100000>