Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 1996 12:50:35 -0600 (CST)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        allenh@wtrt.net (Allen Hyer)
Cc:        freebsd-isp@FreeBSD.org
Subject:   Re: ip addresses, tape backup
Message-ID:  <199611261850.MAA17383@brasil.moneng.mei.com>
In-Reply-To: <199611261446.IAA03401@inetsrv.wtrt.net> from "Allen Hyer" at Nov 26, 96 08:45:39 am

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

> I have a FreeBSD box running 2.1.5-RELEASE.  I have two questions:
>  
>  1.  I have 2 tcp/ip networks on my physical lan.  I would like the FreeBSD
> box to be able to "see" both networks.  I do NOT want it to route packets
> between them, I just want it to have an ip address from both networks.  Do
> I have to put in two ethernet cards even tho the 2 networks are on the same
> lan?

No.

ifconfig xx0 10.1.1.1 netmask 0xffffff00
ifconfig xx0 alias 192.1.1.1 netmask 0xffffff00

Note: because you are adding an alias on a different subnet, for which
a route does not exist, use the network's netmask.

Putting in two ethernet cards, I suspect, would end you up in endless
pain.

... JG



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