Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 18:48:04 -0400 (EDT)
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        Nuno Teixeira <nuno.mailinglists@pt-quorum.com>
Subject:   Re: Bridging + DHCP +cable modems
Message-ID:  <200105072248.SAA00671@hip186.ch.intel.com>
In-Reply-To: <20010507232744.S508-100000@gateway.bogus>
References:  <20010507232744.S508-100000@gateway.bogus>

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

[freebsd.og doesn't quite exist ... fixing typo and sending this again]

[ On Monday, May 7, Nuno Teixeira wrote: ]
> 
> I'm about to configure a FreeBSD gateway with a cable modem connection.
> 
> I use 2 ethernet interfaces, one for the ISP-cable modem and the
> other for the local network. In this case, I have to setup a BRIDGE so I
> can pass information between the 2 ethernet interfaces.
> 
> Resuming, I should use DHCP to find my dynamic IP number and BRIDGE to
> give the possibilily of my local network can communicate with the Internet
> via the ethernet interface of cable modem.
> 

I don't know about specifically setting up a bridge. I've got the same sort of
setup at home, and I really didn't have to do much. The settings that make all
this happen in my /etc/rc.conf are:

gateway_enable="YES"    # this makes the host a "bridge" as you describe it
ifconfig_fxp0="DHCP"               # 1st NIC goes to cable modem
ifconfig_fxp1="inet 192.168.1.3"   # 2nd NIC bridges to the switch. use whatever
                                   # IP you care to here in the "allowed range"

dhclient and the /etc/rc* scripts will take care of everything else for you so
long as /etc/dhclient.conf is setup correctly. 

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| John Reynolds               WCCG, CCE,      (space for rent, cheap!)      |
| Intel Corporation   MS: CH6-210   Phone: 480-554-9092   pgr: 602-868-6512 |
| jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/      |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

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




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