Koozali.org: home of the SME Server

Router function not working

John Dick

Router function not working
« on: May 23, 2000, 08:34:52 AM »
The install of the Server and Gateway - Dialup went great. I can ping the e-smith box, I get DHCP addresses from it, it dials my ISP and get a successful connection.  the route table looks like this when done:


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               255.255.255.255 UH    1      0        0 sl0
255.255.255.255 *               255.255.255.255 UH    0      0        0 eth0
10.0.0.1        *               255.255.255.255 UH    0      0        0 eth0
204.60.153.253  *               255.255.255.255 UH    0      0        0 ppp0
204.60.153.253  *               255.255.255.255 UH    0      0        0 ppp0
10.0.0.0        *               255.0.0.0       U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         *               0.0.0.0         U     0      0        0 ppp0
default         *               0.0.0.0         U     1      0        0 sl0    

I cannot ping public IP addresses from the e-smith box. Why not ??

Thanks in advance...
John

Charlie Brady

RE: Router function not working
« Reply #1 on: May 23, 2000, 01:42:52 PM »
John Dick wrote:

> The install of the Server and Gateway - Dialup went great. I
> can ping the e-smith box, I get DHCP addresses from it, it
> dials my ISP and get a successful connection.  the route table
> looks like this when done:
...
> I cannot ping public IP addresses from the e-smith box. Why
> not ??

When you have a connection, log in as root and run this command:

/sbin/ifconfig ppp0

You should see something like:

ppp0 Link encap:Point-to-Point Protocol  
     inet addr:a.b.c.d  P-t-P:a.b.c.z  Mask:255.255.255.255
...

The first address a.b.c.d should be your publicly known address.
And you should be able to ping a.b.c.z from your server. If you can't, then no other outside access has a chance of working.

Let me know how you get on.

Regards

Charlie

John Dick

RE: Router function not working
« Reply #2 on: May 23, 2000, 03:33:44 PM »
>The first address a.b.c.d should be your publicly known address.
>And you should be able to ping a.b.c.z from your server. If you can't, then no other >outside access has a chance of working.

The first address is my internal NIC address, I think that is incorrect. I also think the fix for this problem is somewhere in this forum; something like "nodefaultip". I am going to look. I can ping the second address.

Results of ifconfig ppp0:

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.0.0.1  P-t-P:204.60.153.253  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9807 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

John Dick

RE: Router function not working
« Reply #3 on: May 23, 2000, 03:53:44 PM »
Adding "noipdefault" to the ppp-options line in /etc/diald.conf fixed the problem. Thanks for pointing me in the right direction.
Hope this helps someone else in the future also.


Thanks again,
John

Charlie Brady

RE: Router function not working
« Reply #4 on: May 23, 2000, 04:23:43 PM »
John Dick wrote:

> Adding "noipdefault" to the ppp-options line in
> /etc/diald.conf fixed the problem. Thanks for pointing me in
> the right direction. Hope this helps someone else in the
> future also.

I'm glad you are now up and running. FYI, "noipdefault" is included as a standard option in the latest 4.0 beta.

regards

Charlie