Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 1999 20:05:30 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        lnb@freedom.cybertouch.org (Lanny Baron)
Cc:        questions@FreeBSD.ORG, grog@lemis.com
Subject:   Re: trying to have 2 nics in one box for firewall setup ...no luck
Message-ID:  <199905190005.UAA03487@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.05.9905181510570.864-100000@freedom.cybertouch.org> from Lanny Baron at "May 18, 99 03:30:56 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
[Did your diagram get mangled by your MUA? If not, I don't get it.] 

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
> 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

That's a pretty strange setup. Don't you mean to use 192.168.0 network
addresses for heretic, wired, and mrsmith?

> 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

Makes sense to me. de0 is supposed to have the 216.183.4 network as
you show below, but 216.183.4.9 is actually talking to xl0 who is on
the 192.168.0 network.

> 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...

As I mentioned above, for this setup, you want to change your boxes
behind freedom to the 192.168.0 network. That should fix it.
-- 
Crist J. Clark                           cjclark@home.com


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?199905190005.UAA03487>