From owner-freebsd-questions Wed Dec 13 04:30:12 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA06567 for questions-outgoing; Wed, 13 Dec 1995 04:30:12 -0800 (PST) Received: from hawk.gnome.co.uk (gnome.intecc.co.uk [194.72.95.90]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA06530 for ; Wed, 13 Dec 1995 04:29:54 -0800 (PST) Received: (from jacs@localhost) by hawk.gnome.co.uk (8.6.12/8.6.12) id MAA03336; Wed, 13 Dec 1995 12:29:46 GMT Date: Wed, 13 Dec 1995 12:29:46 GMT From: Chris Stenton Subject: routing table problem with both slip & ppp active To: questions@freebsd.org Message-Id: Sender: owner-questions@freebsd.org Precedence: bulk I am running FreeBSD-stable and have noticed a stange routing problem. If I have routes set as follows netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 194.72.95.1 UGc 33 0 ppp0 127.0.0.1 127.0.0.1 UH 1 12 lo0 158.152.1.65 158.152.22.16 UH 0 9 sl0 193.39.8 link#2 UC 1 0 193.39.8.2 0:0:a4:10:6:e5 UHLW 17 118593 de0 809 193.39.8.254 0:0:c0:aa:7f:b UHLW 4 1831 lo0 193.39.8.255 link#2 UHLW 1 155 194.72.95.90 127.0.0.1 UH 0 35 lo0 224 link#2 UCS 0 0 I would like to get to the 158.152. via the sl0 interface so I do route add -net 158.152 158.152.22.16 However, this gets assigned to the ppp interface even though the gateway address is assigned to the slip interface? Thus, the packets go via the ppp interface. netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 194.72.95.1 UGc 23 0 ppp0 127.0.0.1 127.0.0.1 UH 1 13 lo0 158.152 158.152.22.16 UGSc 1 11 ppp0 158.152.1.65 158.152.22.16 UH 0 9 sl0 193.39.8 link#2 UC 1 0 193.39.8.2 0:0:a4:10:6:e5 UHLW 18 129089 de0 118 193.39.8.254 0:0:c0:aa:7f:b UHLW 4 1880 lo0 193.39.8.255 link#2 UHLW 1 160 194.72.95.90 127.0.0.1 UH 0 35 lo0 224 link#2 UCS 0 0 Any ideas what going wrong? Chris