Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 1999 09:25:09 -0600
From:      "Bryan Bunch" <bryanb@walls-media.com>
To:        <freebsd-isp@freebsd.org>
Subject:   Routing Question..
Message-ID:  <NCBBKADAOJFBCBLNLMILAELBCNAA.bryanb@walls-media.com>

next in thread | raw e-mail | index | archive | help
Hello All,

I have a strange routing situation that I hope someone can help me with.
First off, here's my config.

Currently have three networks:
1.2.3.0
2.3.4.0
6.7.8.0

I have two routers on the network that have a primary and secondary address
attached to their ethernet interfaces (Cisco 2501).

Router 1:
1.2.3.1
2.3.4.1 - secondary

Default route statement for above router:
ip route 6.7.8.0 255.255.255.0 2.3.4.3


Router 2:
6.7.8.254
2.3.4.3 - secondary

Default route statement for above router:
ip route 1.2.3.0 255.255.255.0 2.3.4.1


I have a 3.3-STABLE box that has the following addressing:

ifconfig_tl0="inet 6.7.8.2 netmask 255.255.255.0"
ifconfig_tl0_alias0="inet 1.2.3.185 netmask 255.255.255.255" # Sample alias
entry.
defaultrouter="6.7.8.254"

On any machine on the local network everything works fine, I can get to both
addresses on the above box. But if I am on a machine that is outside of my
network I can only get to the 6.7.8.2 interface, I cannot ping the 1.2.3.185
interface. Again, everything works fine from the local network.
Interestingly enough, if I change my config to:

ifconfig_tl0="inet 1.2.3.185 netmask 255.255.255.0"
ifconfig_tl0_alias0="inet 6.7.8.2 netmask 255.255.255.255" # Sample alias
entry.
defaultrouter="1.2.3.185"

Everything works fine both inside and outside of the network. What am I
missing?

Any help is greatly appreciated.



Bryan



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBKADAOJFBCBLNLMILAELBCNAA.bryanb>