Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 1996 03:22:01 -0400 (EDT)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        questions@freebsd.org
Subject:   ifconfig alias question...
Message-ID:  <Pine.NEB.3.95.960929015025.247A-100000@spirit.ki.net>

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

Hi...

	I've just moved into a new office, that has an existing
network/C-class.  I'm trying to get my FreeBSD boxes to use some
of the available IPs on this network, on top of my existing C-class,
and seem to be failing miserably at getting it to work...

	The scenario is similar to:


<---Internet---[Ascend P50]----[My Network]
                                     |
                                     |
<---Internet---[Cisco 2500]----[Office Network]

	Okay, so ascii diagrams are *not* my strong point :(

	Basically, we have it setup so that my network can talk
to their network, I can nfs-mount drives from their network to my
machines, and, if its faster for them to go out my P50 to get to
a site on the net, it routes properly...

	If I try to 'ifconfig alias' one of their IPs onto one
of my machines, it will work...but, if I try:


/etc/start_if.ed0:
#!/bin/sh

# Initial configuration
ifconfig ed0 inet 205.150.102.51 netmask 255.255.255.0

# Aliases
ifconfig ed0 alias 204.101.125.200 netmask 255.255.255.255


	when it boots up, I get the following two error messages
just after it is doing the "route add default" on boot up, after
which it just hangs there:

Sep 29 01:56:52 spirit /kernel: arp info overwritten for 205.150.102.1 by \
   00:00:0c:42:66:50
Sep 29 01:56:52 spirit /kernel: arp info overwritten for 205.150.102.254 by \
   00:00:0c:42:66:50

	So I'm figuring that I'm missing something in how I'm trying
to configure things, but can't seem to narrow it down :(

	Essentially, we'd like to dual-IP all the boxes on the network
so that getting to them remotely can go through either Internet route,
at our discretion...

	Can anyone point out what I'm missing?  As I stated, I can do the
ifconfig alias commands from the prompt, and they work fine...but I can't
have the system boot up and auto-configure them for some reason...

thanks for any help/advice in advance...

Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org





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