routing problem with mpd

fwun at bigpond.net.au fwun at bigpond.net.au
Fri Sep 1 03:49:56 UTC 2006


Dear all,

I am trying to connect to my office's freebsd mpd server, but I am not 
able to ping other subnet except those same subnet that I was assigned 
by the mpd server.

eg.

Here is the IPs assigned to my laptop from my office's mpd server:

IP: 10.2.99.23
Default gateway: 10.2.99.23  <<-- this is may be wrong, I want to set it 
to 10.2.1.1, but don't know how in windows xp.
DNS server: 10.2.1.1

mpd.conf:
pptp20:
    new -i ng20 pptp20 pptp200
    set ipcp ranges 10.2.99.1/32 10.2.99.23/32
        set ipcp dns 10.1.20.3
        set ipcp nbns 10.1.20.3
        load pptp_standard

ifconfig:
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1396
        inet 10.2.1.1 --> 10.2.99.23 netmask 0xffffffff

I am able to ping 10.2.1.1, but I can't ping 10.1.12.2 which is 
reachable (pingable) in the mpd server, eg:
]# traceroute 10.1.12.2
traceroute to 10.1.12.2 (10.1.12.2), 64 hops max, 40 byte packets
 1  router.core.abc (10.1.10.1)  0.308 ms  0.181 ms  0.136 ms
 2  optus.abc (10.1.1.12)  2.432 ms  1.511 ms  1.804 ms
 3  serv.optus.abc (10.1.12.2)  3.265 ms  3.146 ms  3.307 ms

at mpd server:
# netstat -nrf inet
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.1.10.1          UGS         1  8284266   bge0
10.1.10/24         link#1             UC          0        0   bge0
10.1.10.1          00:04:23:bc:3a:d2  UHLW        2   122249   bge0    824
10.1.10.2          00:e0:81:31:3a:d8  UHLW        1        4    lo0
10.1.10.3          00:11:25:aa:19:ea  UHLW        1    56016   bge0    924
10.1.20.3          10.1.20.3          UH          0   299393    lo0
10.2.1.1           lo0                UHS         0        0    lo0
10.2.99.23         10.2.1.1           UH          0        3    ng0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this is what it was assigned to my laptop.

10.128/9           10.1.20.1          UGS         0        0   bge0
10.152.34.75       10.152.34.75       UH          0        0    lo0

127.0.0.1          127.0.0.1          UH          0  4186396    lo0

Can anyone tell me how to reach 10.1.12.2 from my laptop 10.2.99.23?

Thanks
S


More information about the freebsd-net mailing list