Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 98 10:45:54 PST
From:      "D. Alex Neilson" <neilson@www.nugate.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        Alex Neilson <neilson@nugate.com>
Subject:   Static Route, need help (was: Re: Static Route (Correction))
Message-ID:  <CMM.0.90.4.909945954.neilson@www.nugate.com>
In-Reply-To: Your message of Fri, 30 Oct 1998 19:24:16 %2B0000

next in thread | raw e-mail | index | archive | help
> So, you can not do:
>  
>	route_bar="-host xxx.xxx.xxx.xxx ff:ff:ff:ff:ff:ff -interface epx"
> 
> but you can ommit the ff's and do:
> 
>	route_bar="-host xxx.xxx.xxx.xxx -interface epx"

I wish that one could, as it would solve my problem:

With this configuration, to get A to talk to B, one could say on A

   route add -host 192.168.67.67 -interface vx0

          -------
          |     | 
          |  A  | 
          |     |
          -------
             | 192.168.66.66 (vx0)
	     |
      -------------------------------------  ethernet (multiple nets)
		     |
	             |
	             | 192.168.67.67 (le0)
	          -------
	          |     | 
	          |  B  | 
	          |     |
	          -------

I get this route, but the gateway ethernet address is for host A:

   Destination        Gateway            Flags     Refs     Use     Netif
   192.168.67.67     0:60:8:4:4:ed      UHLS        0        0       vx0

Of course, it doesn't work; strangely, if I try telnetting from B to A,
it'll pause for a moment, then let me in, with A giving this message

   myhost /kernel: arp: 192.168.67.67 moved from		\
   00:60:08:04:04:ed to 08:00:20:73:87:89

and A now shows the route I wanted in the first place:

   Destination        Gateway            Flags     Refs     Use     Netif
   192.168.67.67     8:0:20:73:87:89    UHLS        1       55       vx0

Is there a way to get the latter route in the first place?


Thanks,

Alex

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



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