Date: Tue, 03 Sep 2002 19:56:51 +0000 From: "Sam Feagins" <sfeagins@Bugdesign.com> To: "Archie Cobbs" <archie@dellroad.org> Cc: freebsd-net@Freebsd.org Subject: Re: mpd config help Message-ID: <20020903.8PM.16511100@www.houstonbroncos.com>
next in thread | raw e-mail | index | archive | help
>Then your outgoing packets are not being routed via the PPTP link. > >Try 'ping 192.168.2.240' from an inside machine .. I bet that works, >because there *is* a route to 192.168.2.240 already. That's what I thought, but I am not able to ping 192.168.2.240, but I can hit 192.168.2.243 (local BSD box) >You need to add a 'set iface route ...' command to your mpd.conf >so that your outgoing packets get routed via the PPTP link. > >You can do this manually via 'route add x.x.x.x/y -interface ng0'. > >What network(s) are on the other side of the link? Those are >the ones you need to add routes for in mpd.conf. I do have a "set iface route 192.168.2.0/24" command in my mpd.conf. When I do a route add 192.168.2.0/24 -interface ng1 I get: route: writing to routing socket: File exists add net 192.168.2.0: gateway ng1: File exits Apparently mpd is trying to route it through my external interface fxp1? but when I do a netstat -r, I see a destination address 192.168.2 routed through ng1, using a gateway of 192.168.2.240. Sam P.S. here's my entire routing table it might be more than 80 chars wide. Sorry.. Internet: Destination Gateway Flags Refs Use Netif Expire default adsl-64-219-75-198 UGSc 10 59320 fxp0 adsl-64-219-75-192 link#1 UC 2 0 fxp0 adsl-64-219-75-193 0:c0:f0:6c:63:4f UHLW 11 1004 fxp0 1186 adsl-64-219-75-198 0:10:67:0:9a:b1 UHLW 3 0 fxp0 816 localhost localhost UH 9 18 lo0 192.168.2 192.168.2.240 UGSc 0 0 ng1 192.168.2.240 192.168.2.244 UH 1 0 ng1 192.168.10 link#2 UC 2 0 fxp1 192.168.10.100 0:50:2c:2:f7:33 UHLW 1 113145 fxp1 1187 192.168.10.101 0:8:c7:da:24:61 UHLW 0 9820 fxp1 894 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020903.8PM.16511100>