Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 1995 12:50:40 +0200
From:      jg@euronet.nl (Jan_Guldemond)
To:        questions@FreeBSD.org
Subject:   Routing problem, again :-(
Message-ID:  <199504101050.MAA10436@mail.euronet.nl>

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

I'm setting up the routing-tables. Here's the situation:
I have two machines connected with a null-modem cable using a SLIP connection.

First machine:
ed1 : 193.78.175.65 netmask 0xffffffc0
sl0 : 193.78.175.65 --> 193.78.175.129 netmask 0xffffffc0

routing:
127.0.0.1       127.0.0.1       UH      0       0       lo0
193.78.175.64   link#1          UC      0       0       ed1
193.78.175.128  193.78.175.129  UGSc    0       0       sl0
193.78.175.129  193.78.175.65   UH      1       0       sl0

I've added the .128-net manually:
route add -netmask 0xffffffc0 -net 193.78.175.128 193.78.175.129
I thought that this means that all trafic for 193.78.175.129 to .190 is 
forwarded to .129 through the SLIP-connection, or am I wrong??

Second machine:
ed1 : 193.78.175.129 netmask 0xffffffc0
sl0 : 193.78.175.129 --> 193.78.175.65 netmask 0xffffffc0

routing:
default         193.78.175.65   UGSc    1       69      sl0
127.0.0.1       127.0.0.1       UH      0       0       lo0
193.78.175.65   193.78.175.129  UH      1       101     sl0
193.78.175.128  link#2          UC      0       0       ed1
193.78.175.129  0:0:1b:4f:bd:fc UHLW    0       5       lo0
193.78.175.140  8:0:0:19:52:72  UHLW    0       2       ed1

The .140 - entry was added automaticly by the system when the MS-Windows 
workstation (on the LAN) was switched on.

I trief pinging:
.65 to .129 (slip)        : ok
.129 to .65 (slip)        : ok
.129 to .140 (ether)      : ok
.140 to .129 (ether)      : not tested, no ping-client
.65 to .140 (slip->ether) : No route to host
.140 to .65 (ehter->slip) : not tested, no ping-client

Why does .65 say "No route to host" I've added the .128-subnet to the 
routing table, haven't I??? Why can't it "see" that the .140 host is in the 
.128 subnet???




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