Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 1999 10:42:50 -0700 (PDT)
From:      daniel B <danielb@pacex.net>
To:        Lanny Baron <lnb@freedom.cybertouch.org>
Cc:        questions@FreeBSD.ORG, Greg Lehey <grog@lemis.com>
Subject:   Re: trying to have 2 nics in one box for firewall setup ...no luck 
Message-ID:  <Pine.BSF.3.96.990519103430.19370A-100000@almazs.pacex.net>
In-Reply-To: <Pine.BSF.4.05.9905181510570.864-100000@freedom.cybertouch.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 18 May 1999, Lanny Baron wrote:

> Hello,
> I have been trying for quite some time, with no headway to get my lan to
> function properly. My setup (physical) is as follows
> 
> 4 pc's       /de0 (1st nic in freedom.cybertouch.org)
>             
>                                                                   heretic
> cable modem/----(xl0 2nd nic in freedom.cybertouch.org)--->hub-->3 mrsmith
>                                                                   wired
>                                                                   
> 
> gateway = 216.183.4.1
> de0 = 216.183.4.2
> xl0 = 192.168.0.1
I think your problem is HERE! xl0; you are using dummy IP between two real
IP interfaces, you can use dummy IP on the inside LAN machines but not on
the external interface to your router/gateway.
NATD will be helpful if you are using fake IP in your inside LAN otherwise
giveup on it. The other issue will be you can not have both interfaces xl0
and de0 in the same subnet and be able to route between them.


 >
heretic.cybertouch.org
(off hub) = 216.183.4.9 > wired.cybertouch.org (off hub) = 216.183.4.3
> mrsmith.cybertouch.org (off hub) = 216.183.4.6
> 
> 
> from /var/log/messages:
> 
> May 18 14:39:03 freedom /kernel: arp: 216.183.4.9 is on de0 but got reply
> from 00:80:c8:e3:fa:05 on xl0
> 
> freedom# ps auxw | grep natd
> root      825  0.0  0.3   428  148  ??  Ss    3:00PM   0:00.00 /sbin/natd
> -dynamic -unregistered_only -interface de0
> 
> from /etc/rc.conf:
> gateway_enable="YES"
> ifconfig_de0="inet 216.183.4.2  netmask 255.255.255.0"
> ifconfig_xl0="inet 192.168.0.1  netmask 255.255.255.0"


> defaultrouter="216.183.4.1"
> hostname="freedom.cybertouch.org"
> 
> Thanks in advance for some help...
> 
> Lanny
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990519103430.19370A-100000>