Gateway/Networking problems in FreeBSD 5.1-Release
dwhite at gumbysoft.com
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 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
More information about the freebsd-current