Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 15:41:29 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Socketd <db@traceroute.dk>
Cc:        current@freebsd.org
Subject:   Re: Gateway/Networking problems in FreeBSD 5.1-Release
Message-ID:  <20030703153826.P60013@carver.gumbysoft.com>
In-Reply-To: <20030703152419.583b6810.db@traceroute.dk>
References:  <20030703152419.583b6810.db@traceroute.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Jul 2003, Socketd wrote:

> I have a computer with 3 NIC's (10/100) and I am trying to set it up as
> a gateway. In /etc/rc.conf I have:
> ifconfig_rl1="inet 192.168.1.22 netmast 255.255.255.0 media 100baseTX"
> ifconfig_de0="inet 192.168.1.21 netmast 255.255.255.0 media 100baseTX"
> ifconfig_rl0="inet 192.168.1.20 netmast 255.255.255.0 media 100baseTX"

This is not a valid configuration. FreeBSD does not allow you to configure
multiple network interfaces onto the same logical network. You probably
want the 'alias' command to add the IPs to one physical interface. This is
addressed in the FAQ and Handbook, and the ifconfig(8) man page.

If you want to do trunking, that is another matter.

Also be careful with your media statements, particuarly with regard to
duplex.  You may need to specify the duplex type with mediaopt.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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