Gateway/Networking problems in FreeBSD 5.1-Release

Doug White dwhite at
Thu Jul 3 15:41:30 PDT 2003

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 netmast media 100baseTX"
> ifconfig_de0="inet netmast media 100baseTX"
> ifconfig_rl0="inet netmast 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          |

More information about the freebsd-current mailing list