Date: Mon, 18 Feb 2008 14:06:31 -0800 From: Julian Elischer <julian@elischer.org> To: Nick Barnes <Nick.Barnes@pobox.com> Cc: freebsd-net@freebsd.org Subject: Re: Multiple default routes on multihome host Message-ID: <47BA0167.2030302@elischer.org> In-Reply-To: <38308.1203368454@thrush.ravenbrook.com> References: <38308.1203368454@thrush.ravenbrook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Nick Barnes wrote: > I have a multi-home host: more than one IP address. The addresses are > in separate subnets but run over the same ethernet segment (this is a > temporary situation while I switch an office network over from one > network provider to another). > > I want packets from address A1 to be sent via gateway G1, but packets > from address A2 to be sent via gateway G2. I'm working on this, but in the meanwhile you can do the following: ipfw add 100 fwd G1 ip from A1 to any out xmit xx0(outgoing interface) ipfw add 101 fwd G2 ip from A2 to any out xmit xx0 > > How do I do this? Can I just have more than one default route? I'm > remote from the machine in question, so I don't want to tinker with > the default route until I'm sure of the answer. > > Thanks in advance, > > Nick Barnes > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47BA0167.2030302>