Date: Wed, 13 Dec 1995 12:29:46 GMT From: Chris Stenton <jacs@gnome.co.uk> To: questions@freebsd.org Subject: routing table problem with both slip & ppp active Message-ID: <jacs-9511131229.AA00013314@hawk.gnome.co.uk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jacs-9511131229.AA00013314>