Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 1997 13:24:58 -0700 (PDT)
From:      Dan Busarow <>
To:        Simon N Atkin <>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Two Ethernet Interfaces in one machine for Firewall, possible ??
Message-ID:  <Pine.UW2.3.95.970605131426.23107F-100000@cedb>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 5 Jun 1997, Simon N Atkin wrote:
> I have assigned seperate IP's to each interface in
> /etc/sysconfig but on start I get the error
> ifconfig: ioctl (SIOCAIFADDR): File exists,

Your trying to setup two identical routes.

> if we ifconfig -a we get
>         inet 194.x.x.99 netmask 0xffffff00 broadcast 194.x.x.255
>         ether 00:80:c8:37:70:ce 
>         inet 194.x.x.100 netmask 0xffffff00 broadcast
>         ether 00:80:c8:37:b9:18 

The two cards need to be on different networks, routing
works between networks.

> Note the broadcast on the second interface (ed1).
> It must be possible to have two interfaces on one machine
> as how do you efficiently build a firewall system ???

Put the protected machines on an RFC1918 address like and set gateway=YES in rc.conf/sysconfig

 Dan Busarow                                                  714 443 4172
 DPC Systems / Beach.Net                          
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

Want to link to this message? Use this URL: <>