Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 16:06:11 -0500
From:      Trumpy <freebsd-q@cambridge.lh.net>
To:        freebsd-net@freebsd.org
Subject:   Routed and multiple routes...
Message-ID:  <Pine.SGI.4.21.0007111547250.10832-100000@cambridge.lh.net>

next in thread | raw e-mail | index | archive | help
Here's my situation... I have two nameservers that about
7500 people are looking to for primary name services. Both
these boxes are running FreeBSD 3.4-STABLE and need to be
renumbered in a new subnet. What I want to do is run two network
cards in each machine, connected to the two different 
subnets (old and new) such that the following conditions 
are met:

1) All services are reachable via both IPs. (easy part)

2) Two default routes, one out to a router on the new
subnet, and one out to a router on the old subnet, the
first more preferenced such that if it goes down, default
traffic will start going out to a router on the old subnet.

I've tried running routed, but when I enter the default
routes in /etc/gateways and then start routed, I get:

  Jul 11 16:06:47 god routed[26243] unreachable gateway 
  192.168.0.254 in /etc/gateways

When, in fact, I can *ping* 192.168.0.254 from the FreeBSD
box, and the subnet and broadcast are most definitely set 
correctly.

Diagram: (192.168.0.0/24 is the new, 10.0.0.0/24 is the old)

	    192.168.0.254               10.0.0.254
	     ___________                ___________
	     |  NEW    |                |   OLD   |
             | BORDER  |----------------| BORDER  |
             | ROUTER  |                | ROUTER  |
             |_________|                |_________|
                 |                           |
		 |			     |
(preferred       |			     |
     route)      |     ________________      |
		 |     | FreeBSD 3.4  |      |
		 |     |              |	     |	
192.168.0.25 ->	 ------|eth0      eth1|-------  <- 10.0.0.25
                       |              |
		       |--------------|

Any ideas? Do I need to try gated?

Franklin



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?Pine.SGI.4.21.0007111547250.10832-100000>