On Thu, Jun 15, 2000 at 11:44:14AM -0600, Nick Rogness wrote:
> > route_0="-net 195.58.161.96 -netmask 255.255.255.240 -iface vr0"
> What IP is that network reachable through?
vr0 has only one IP - 195.58.183.77
> WHat does your routing table look like before this route gets
> added? after it gets added?
Before, it (probably) only contains the localhost route, afterwards it
looks like this:
Destination Gateway Flags Refs Use Netif Expire
default 195.58.161.97 UGSc 0 192 vr0
127.0.0.1 127.0.0.1 UH 0 209212 lo0
195.58.161.96/28 link#1 UCSc 0 0 vr0
195.58.183.72/29 link#1 UC 0 0 vr0
195.58.183.77 0:50:ba:c5:6e:77 UHLW 0 80 lo0
WRT your other e-mail,
> The whole question is, What are you trying to accomplish?
For some reason, there are 2 (actually more) distinct subnets within one
physical network. Only one system has an outwards connection, but its internal
IP lies in the other subnet and has no IP alias in "my" subnet. The idea is to
set up a static route between the 2 subnets and then use the IP in the other
subnet as the default gateway.
This is how a Linux box is set up in another connected subnet using the same
default gateway (not that I consider Linux to be a reference for a correct
implementation, but it seems that most/all boxes in that server room are
connected in a similar way):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.58.161.48 0.0.0.0 255.255.255.240 U 0 0 0 eth0
195.58.161.96 0.0.0.0 255.255.255.240 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 195.58.161.97 0.0.0.0 UG 0 0 0 eth0
Regards,
Marinos
--
***==> Marinos J. Yannikos <[EMAIL PROTECTED]>
***==> http://pobox.com/~mjy
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message