Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 15:52:15 -0400
From:      "Cambria, Mike" <mcambria@lucent.com>
To:        "'freebsd-net@freebsd.org'" <freebsd-net@FreeBSD.ORG>
Subject:   FreeBSD as Router using alias?
Message-ID:  <75ADD7496F0BD211ADC000104B8846CF056977@Rerun.Lucentctc.com>

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

Hi,

I have a FreeBSD 2.2.6 system which was routing between two subnets,
10.97.8.0 and 10.97.88.0.  Both use the netmask of 255.255.255.0.

The subnets were each on their own physical LAN segments.  RIP worked
fine for this small network.  I use routed -s (and have also used gated
just to play with it.)

Now, I lost one of the physical subnets.  I physically have both
10.97.8.0 and 10.97.88.0 on the same physical segment.  I've modified
the configuration to use an alias.  Now I can't seem to get routed (or
gated) propagate routing information for the subnet configured via the
alias.

rc.conf was:

ifconfig_vx0="inet 10.97.8.0 netmask 255.255.255.0"
ifconfig_fxp0="inet 10.97.88.0 netmask 255.255.255.0"

now:

ifconfig_vx0="inet 10.97.8.0 netmask 255.255.255.0"
ifconfig_vx0_alias0="10.97.88.0 netmask 255.255.255.0"

I also tried using a netmask of 255.255.255.255 but 1) this doesn't work
either and 2) I don't believe it is what I need anyway.  I do not want
another host entry on the same subnet, I want to "multinet" two subnet
networks on the same physical Ethernet and route between subnets.

Is this supposed to even work (i.e. is multinetting even supported in
FreeBSD)?

If so, is anyone else doing it and can you suggest what I might be doing
wrong?

Thanks,
MikeC

Michael C. Cambria                        Lucent Technologies
Member of Technical Staff                        Bell Labs Innovations
   Voice: (978) 287 - 2807                300 Baker Avenue
     Fax: (978) 287 - 2810                Concord, Massachusetts 01742
Internet:  mcambria@lucent.com <mailto:mcambria@lucent.com> 


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?75ADD7496F0BD211ADC000104B8846CF056977>