Welcome, Guest. Please login or register.

Author Topic: MiamiDX, PPP, and routing without a gateway  (Read 1011 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
MiamiDX, PPP, and routing without a gateway
« on: March 27, 2011, 07:07:42 PM »
Since Poseidon does not support the Ethernet interface provided by my SonyEricsson phone, I set up a PPP interface using the usbmodem.device.  It works enough to dial, connect, and get an IP address, but no gateway address is provided during the connection.

(Note that the IP addresses given in the examples below will be different due to dynamic IP assignments.)

So, the raw routing table looks like this after connection:
Code: [Select]
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use  Interface
default            1.1.1.1            UGSP        0        0  ppp1
1.1.1.1            link#5             UHC         1        0  ppp1
10.12.156.235      127.0.0.1          UGHS        0        0  lo0
127                127.0.0.1          UGRSP       0        0  lo0
127.0.0.1          127.0.0.1          UH          2        0  lo0
224/4              link#5             UCS         0        0  ppp1


Now, when I use Windows dial-up networking to do the same thing, DUN apparently also does not obtain a gateway, but instead uses its own IP address to route.
Code: [Select]
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     10.96.120.45     10.96.120.45      1
     10.96.120.45  255.255.255.255        127.0.0.1        127.0.0.1     50
   10.255.255.255  255.255.255.255     10.96.120.45     10.96.120.45     50
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1      1
        224.0.0.0        240.0.0.0     10.96.120.45     10.96.120.45      1
  255.255.255.255  255.255.255.255     10.96.120.45                2      1
  255.255.255.255  255.255.255.255     10.96.120.45     10.96.120.45      1
  255.255.255.255  255.255.255.255     10.96.120.45            30005      1
Default Gateway:      10.96.120.45


I have tried to duplicate this routing in MiamiDX by changing the default route to point to itself and deleting the 1.1.1.1 route, but traffic still doesn't go anywhere.

(Also, I had to dig up the BSD route manpage, again, because the Guide for MiamiDX gives very little information, other than, don't use this command and find the BSD route instructions.  Which I did, here.)

I have two questions regarding this.  First, does anyone have any experience getting MiamiDX to route in a configuration like this?  Secondly, I noticed that the route for the default IP (1.1.1.1) in the initial config points to link#5, does anyone know how to force a route like this?
 

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
Re: MiamiDX, PPP, and routing without a gateway
« Reply #1 on: March 28, 2011, 04:24:50 PM »
:afro: Bumpy.