Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 1999 02:51:06 -0700 (PDT)
From:      Ken Lui <klui@cup.hp.com>
To:        questions@freebsd.org
Cc:        klui@cup44ux.cup.hp.com (Ken Lui)
Subject:   Question about arp entry in /var/log/messages
Message-ID:  <199905280951.CAA01539@cup44ux.cup.hp.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I've been using Linux for around 2.5 years with the same hardware
setup and haven't had the following type of messages in my system
messages log before, only when I started using FreeBSD a couple of
days ago. Apparently, it is a very common occurrence happening to
people who aren't well versed in computer networking. I am definitely
not a networking expert.

Here's what I want to do:

I have an ISDN router that's on net 15 (15.75.136.169 with netmask
255.255.248.0) which I use to communicate to the "outside" world.
I also have a bunch of machines that I don't want to be on net 15
but rather on net 10. Although I haven't had IP masquerading set
up yet, I wish to have some of these net 10 machines be able to
access net 15 through my FreeBSD box.

Physically, things look like this:

[isdn]
  |___10bT___[hub]
               |___10b2___[Mac]___10b2___[FreeBSD w/ 2 ethernet cards]
               |
               |___10b2___[NeXT]___10b2___[NeXT]

My limited understanding is when I was running Linux, I just set up
my box so that one of its ethernet cards is on net 10 while the other
is on net 15 and I can just set up the routes and be done with it.
It has worked fairly well. On FreeBSD it also works but I get entries
such as the following in /var/log/messages:

May 28 02:25:37 black /kernel: arp: 15.75.136.169 is on ed1 but got reply
   from 00:40:f9:13:69:d5 on ed2

Reading some entries in dejanews, should I have the following physical
network topology?

[isdn]
  |___10bT___[hub]
               |___10b2___[FreeBSD ethernet card 1] (net 15)
                          [FreeBSD ethernet card 2] (net 10)
                             |___10b2___[Mac]___10b2___[NeXT]___10b2___[NeXT]

Essentially, have separate wires connecting net 10 systems vs. net 15
machines. Problem is my Mac can be multihomed so one ethernet interface
can be net 15 and net 10--i.e. works fine now. Are these messages benign
for my setup or does it indicate a more serious problem?

What's the proper way to do what I want? Searching the FreeBSD mailing
list didn't turn up references I need. And unfortunately there are
no FreeBSD how-tos.

rc.conf's network section
=========================
hostname="black.tmpest1.org"
gateway_enable="YES"
ifconfig_ed1="inet 15.75.136.174  netmask 255.255.248.0"
ifconfig_ed2="inet 10.0.0.1  netmask 255.255.255.0"
network_interfaces="ed2 ed1 lo0"
defaultrouter="10.0.0.1"
static_routes="hp"
route_hp="-net 15.0.0.0 15.75.136.169"

resolv.conf
===========
nameserver      15.255.208.3
search cup.hp.com,tmpest1.org

netstat -r
==========
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            10.0.0.1           UGSc        0        0      ed2
10/24              link#2             UC          0        0      ed2
10.0.0.1           0:80:c8:fd:88:d    UHLW        1        4      lo0
15                 15.75.136.169      UGSc        7        6      ed1
15.75.136/21       link#1             UC          0        0      ed1
15.75.136.169      0:40:f9:13:69:d5   UHLW        7       27      ed1    932
127.0.0.1          127.0.0.1          UH          1        6      lo0



Regards,
Ken
-- 
Ken Lui                                19111 Pruneridge Avenue
klui@cup.hp.com                        Cupertino, CA  95014-0795      USA
Information Solutions & Services       1.408.447.3230  FAX 1.408.447.0218
Views within this message may not be those of the Hewlett-Packard Company


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?199905280951.CAA01539>