Date: Mon, 21 Sep 1998 18:25:28 -0500 From: Edwin Culp <eculp@webwizard.org.mx> To: "Cambria, Mike" <mcambria@lucent.com> Cc: "'freebsd-net@freebsd.org'" <freebsd-net@FreeBSD.ORG> Subject: Re: FreeBSD as Router using alias? Message-ID: <3606E068.C6EDB4BB@webwizard.org.mx> References: <75ADD7496F0BD211ADC000104B8846CF056977@Rerun.Lucentctc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Cambria, Mike" wrote: > 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've been doing it for about six months because it works so well that I have been lazy to install the replacement ethernet card :-) Last night I added a third network. Now I think I'll change it, but it's working fine. I had a problem with ifconfig_if0_alias, originally and I am bringing them up with a seperate script that is just ifconfig vx0 inet 10.97.8.0 netmask 255.255.255.224 alias ifconfig vx0 inet 10.97.88.0 netmask 255.255.255.0 alias I use this example because one is a /27 subnet and the other is a class C. Should work fine. This machine is a gateway between four networks and the internet so I haven't even added static routes:-) ed > > > 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 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?3606E068.C6EDB4BB>