Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 1995 03:32:49 +0800 (WST)
From:      "Stephen Darragh" <stephen@belgarath.it.com.au>
To:        freebsd-questions@freefall.cdrom.com
Subject:   Routing with subnets (2)
Message-ID:  <m0rfutf-00021t5@belgarath.it.com.au>

next in thread | raw e-mail | index | archive | help
G'day...

Ok, I committed the sin of providing insufficient information in my first
message.  This is the configuration:

(Output of ifconfig -a)
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 203.8.116.3 netmask 0xfffffff8 broadcast 203.8.116.7
	ether 00:80:48:82:df:fd 
lp0: flags=810<POINTOPOINT,SIMPLEX> mtu 1500
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 65532
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=10<POINTOPOINT> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552


(Output of netstat -ran)
Routing tables
Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          203.8.116.2        UGSc        0    10397       ed0
127.0.0.1        127.0.0.1          UH          1      376       lo0
128.250.1.22     203.8.116.2        UGHW3       0    10520       ed0   1955
130.95.128.1     203.8.116.2        UGHW        3    38044       ed0
130.95.128.3     203.8.116.2        UGHW        1     4464       ed0
130.95.128.4     203.8.116.2        UGHW3       0    10401       ed0   2966
134.7.1.1        203.8.116.2        UGHW3       0    10382       ed0    236
134.153.2.99     203.8.116.2        UGHW3       0    10381       ed0   3059
138.72.50.60     203.8.116.2        UGHW3       0    10426       ed0   3039
158.83.1.56      203.8.116.2        UGHW3       0    10403       ed0   2690
161.76.9.1       203.8.116.2        UGHW3       0    10376       ed0     29
192.43.199.28    203.8.116.2        UGHW        1    10426       ed0
203.0.178.1      203.8.116.2        UGHW3       0    10148       ed0   2731
203.0.178.6      203.8.116.2        UGHW        2     4330       ed0
203.8.107.33     203.8.116.2        UGHW3       0    10386       ed0   2647
203.8.116        link#1             UC          0        0       ed0 -261686
203.8.116.1      0:aa:0:2a:64:b6    UHLW        2    26824       ed0   1100
203.8.116.2      0:c0:f6:90:6:e0    UHLW       23    13080       ed0    683
203.8.116.3      0:80:48:82:df:fd   UHLW        3    42111       lo0
203.8.116.4      2:60:8c:43:7a:5b   UHLW        3    13839       ed0     15
203.8.116.7      link#1             UHLW        1     1454       ed0 -261686
203.8.116.9      203.8.116.2        UGHW3       0    10442       ed0   3044
203.8.116.10     203.8.116.2        UGHW        2    10450       ed0
203.8.116.17     203.8.116.2        UGHW        1    11519       ed0
203.8.116.40     203.8.116.4        UGSc        0        0       ed0
203.8.116.49     203.8.116.2        UGHW3       0     9761       ed0   3174
203.8.117.11     203.8.116.2        UGHW3       0    10382       ed0   3350
203.8.117.12     203.8.116.2        UGHW3       0     8834       ed0   3425
203.8.164.1      203.8.116.2        UGHW3       0    10114       ed0   3479
203.8.164.101    203.8.116.2        UGHW        1    10443       ed0

In theory, the 203.8.116.40 route should cause .42 traffic to go via
203.8.116.4.  It doesn't.  traceroute shows that it is being sent via
the default route.  What am I doing wrong?

(Yes, this is mostly a routed created routing table.)

... Stephen



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