'ppp-on' Works, 'ifup ppp0' Doesn't

'ppp-on' Works, 'ifup ppp0' Doesn't

Post by Jacka » Mon, 04 Oct 1999 04:00:00



Not sure what i'm doing wrong...

First some backgound.... RedHat 6.0, kernel 2.2.5-15, USR 33.6 (not a winmodem)

I've edited ppp-on[off][-dialer] scripts to work flawlessly, however, If I try
to bring PPP up by running 'ifup ppp0', I get these errors:

SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
SIOCADDRT: Network is unreachable

ifcfg-ppp0 look like this:

DEVICE="ppp0"
ONBOOT="no"
USERCTL="no"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME=""
REMIP="0.0.0.0"
NETMASK="0.0.0.0"
IPADDR="0.0.0.0"
MRU="1500"
MTU="1500"
DISCONNECTTIMEOUT="60"
RETRYTIMEOUT="5"
BOOTPROTO="none"

I am under the impression that an address of 0.0.0.0 means that the address is
dynamic, and will be assigned by the server. My username, passwd, and ISP's
telephone number are located in the file chat-ppp0, in the same directory.

My question then is, why am I getting MSG's complaining about dynamic
addresses? Am I using the wrong syntax? What do I have to do from here to get
the command ifup ppp0 to call and connect to my ISP? I think I'm pretty
close...I hope its something simple that I'm over-looking.

Thanks in advance for your gracious help,

-Chris

 
 
 

1. ping -g 'gateway-IP' 'host-IP' DOESN'T work!

Hello guys,

I have a machine with two interfaces, each connected to
a gateway. This two gateways are then connected to a common
network and I want to ping another router in that network over
the two interfaces.

Looks like this:
                        Gateway 1
                           ----
               ------------|  |------------
              | Subnet A   ----            |
            ----
Machine    |  |                Subnet C   Router
            ----
              | Subnet B   ----            |
               ------------|  |------------
                           ----
                        Gateway 2

Now if I type following on my machine it doesn't work:

ping -g 'IP in Subnet A of Gateway 1' 'Router-IP-address'

But if I do a ping (Defaultgateway is 'IP in Subnet A of Gateway 1'
(without -g) it works fine:

ping 'Router-IP-address'

Can someone give me a hint? Thanks in advance!

Cheers, Walter

2. BSD install on slave--for use as master

3. Need help on 'ifup ppp0 &', '/etc/resolv.conf' & '/etc/ppp/options'

4. newbie(ish) : help with sound modules...

5. RedHat 6.0: startx EXTREMELY slow

6. 'ping' sees route but 'telnet' doesn't??

7. Q: Emergency change of process priorities for rush jobs

8. cvsup doesn't like tags 'ports-all' & 'doc-all'

9. Bash 'umask' builtin doesn't set 'x' permissions?

10. PPP doesn't die, it just doesn't work anymore

11. ifup ppp0 work but pppd can't work

12. 'batch' and 'at' don't work