Re: Gateway/Networking problems in FreeBSD 5.1-Release

From: Doug White <dwhite_at_gumbysoft.com>
Date: Thu, 3 Jul 2003 15:41:29 -0700 (PDT)
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_at_gumbysoft.com          |  www.FreeBSD.org
Received on Thu Jul 03 2003 - 13:41:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC