Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jul 1999 23:22:40 -0700 (PDT)
From:      Shawn Workman <shawn@bsdguy.com>
To:        "Justin C. Walker" <justin@apple.com>
Cc:        net@freebsd.org
Subject:   Re: Setting up LAN
Message-ID:  <XFMail.990708232240.shawn@bsdguy.com>
In-Reply-To: <199907090607.XAA01050@walker3.apple.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I forgot to mention that the FreeBSD box is also my firewall..  

could I divide my subnet?

Maybe have the netmask on the router be a netmask of 16 IP's and the netmask on
my vr1 interface be 16 IP's?

I suppose I could get another 224 network and have 32 IPs on the vr1 interface..

Of course then I would be loosing 4 IP's either way I go.. 

I suppose the easiest way to do it would be to use natd and forward the
requests from the real IP's to the translated IP's, but I was trying to avoid
that..



On 09-Jul-99 Justin C. Walker wrote:
>> From: Shawn Workman <shawn@bsdguy.com>
>> Date: 1999-07-08 22:45:08 -0700
>> To: net@FreeBSD.ORG
>> Subject: Setting up LAN
>> X-Priority: 3 (Normal)
>> Delivered-to: freebsd-net@freebsd.org
>> X-Mailer: XFMail 1.3 [p0] on FreeBSD
>> X-Loop: FreeBSD.org
>>
>> I am having some difficulty setting up my LAN here in my house.
>> I have my main box (FreeBSD 3.2 Stable) that has 2 NIC's, vr0 is  
> my outside
>> interface and vr1 is my inside interface.  I can get out on the  
> net no proble,
>> with this box.
>>
>> the IP address of vr0 is 216.18.166.162
>> the IP address of vr1 is 216.18.166.163
>    I think this is your problem.  You can't have the same subnet on  
> two distinct interfaces (it confuses the stack).  With your mask, you  
> are using the subnet 216.18.166.160 on both.  They need to be  
> different.
> 
> Why do you need to have the two interfaces on the BSD box?  Seems  
> like you can have a single subnet with all systems connected to the  
> "cable" that connects to your ISP's bridge/router (I'm making a few  
> leaps of the imagination here, to guess your real configuration).
> 
> Regards,
> 
> Justin
> 
> --
> Justin C. Walker, Curmudgeon-At-Large *
> Institute for General Semantics       |
> Manager, CoreOS Networking            |   Men are from Earth.
> Apple Computer, Inc.                  |   Women are from Earth.
> 2 Infinite Loop                       |       Deal with it.
> Cupertino, CA 95014                   |
> *-------------------------------------*-------------------------------*
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message

----------------------------------
E-Mail: Shawn Workman <shawn@bsdguy.com>
Date: 08-Jul-99
Time: 23:17:50

This message was sent by XFMail
----------------------------------


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990708232240.shawn>