Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Nov 2003 02:49:45 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        bivol@vip.bg
Cc:        freebsd-questions@freebsd.org
Subject:   Re: RedHat 7.2 -> Freebsd - BIG PROBLEN
Message-ID:  <20031105014945.GB13699@dds.nl>
In-Reply-To: <1067940764.3fa77b9c147c0@mail.orbitel.bg>
References:  <1067940764.3fa77b9c147c0@mail.orbitel.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 04, 2003 at 12:12:44PM +0200, bivol@vip.bg wrote:
> 
> -----------------
> lan 192.168.1.0/24
> -----------------
> LAN      |
>          |
>          |
> ------------------
> rl0 192.168.1.1
> 
> ROUTER
> 
> fxp0 193.108.24.75
> --------------------
> LAN      |
>          |
>          |
> -------------------
> ISP 193.108.24.145
> --------------------
> 
Basicaly you have a router with TWO nics. One is rl0 and the other is
fxp0.

You need to place this in you /etc/rc.conf
defaultrouter="193.108.24.145"
ifconfig_rl0="inet 192.168.1.1  netmask 255.255.255.0"
ifconfig_fxp0="inet 193.108.24.145  netmask 255.255.255.255"

You can try this by running /etc/netstart

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/



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