PPP don't gets right IP-Adress

PPP don't gets right IP-Adress

Post by Markus B?hme » Fri, 14 Apr 2000 04:00:00



Hello there,

i have a little problem connecting to my ISP.
I use kppp as dialer to connect to my ISP and to connect to the network
in my business.
The connection to my business works fine, my PC gets a dynamic IP Adress
from the Server I'm connecting with.
If I connect to my ISP, then the IP Adress I get is the one of my
network adapter eth0 and not a remote Adress.

Now I'll give you the prints of ifconfig ppp0, ifconfig eth0 and the
messages from /var/log/messages.

Hope you can help me.

Markus

[ ifconfig.eth0 < 1K ]
eth0      Link encap:Ethernet  HWaddr 00:40:05:36:C2:CD  
          inet addr:10.10.150.1  Bcast:10.10.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:63441 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34165 errors:0 dropped:0 overruns:0 carrier:0
          collisions:30389 txqueuelen:100
          Interrupt:9 Base address:0x6900

[ ifconfig.ppp0 < 1K ]
ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.10.150.1  P-t-P:212.7.172.66  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10                                                                                                          

[ messages 3K ]
Apr 13 12:04:15 coruscant pppd[10033]: pppd 2.3.11 started by markus, uid 500
Apr 13 12:04:15 coruscant pppd[10033]: Using interface ppp0
Apr 13 12:04:15 coruscant pppd[10033]: Connect: ppp0 <--> /dev/ttyS1
Apr 13 12:04:15 coruscant pppd[10033]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9fb0cbb0> <pcomp> <accomp>]
Apr 13 12:04:18 coruscant pppd[10033]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9fb0cbb0> <pcomp> <accomp>]
Apr 13 12:04:18 coruscant pppd[10033]: rcvd [LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <asyncmap 0xa0000> <auth pap> <pcomp> <accomp> < 11 04 05 f4> < 13 09 03 00 c0 7b 7f 43 67>]
Apr 13 12:04:18 coruscant pppd[10033]: sent [LCP ConfRej id=0x1 < 00 04 00 00> < 11 04 05 f4> < 13 09 03 00 c0 7b 7f 43 67>]
Apr 13 12:04:18 coruscant pppd[10033]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x9fb0cbb0> <pcomp> <accomp>]
Apr 13 12:04:18 coruscant pppd[10033]: rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
Apr 13 12:04:18 coruscant pppd[10033]: sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap 0xa0000> <auth pap> <pcomp> <accomp>]
Apr 13 12:04:18 coruscant pppd[10033]: sent [LCP EchoReq id=0x0 magic=0x9fb0cbb0]
Apr 13 12:04:18 coruscant pppd[10033]: sent [PAP AuthReq id=0x1 user="mboehmer" password=<hidden>]
Apr 13 12:04:18 coruscant pppd[10033]: rcvd [LCP EchoRep id=0x0 magic=0x0]
Apr 13 12:04:19 coruscant pppd[10033]: rcvd [PAP AuthAck id=0x1 ""]
Apr 13 12:04:19 coruscant pppd[10033]: sent [IPCP ConfReq id=0x1 <addr 10.10.150.1> <compress VJ 0f 01>]
Apr 13 12:04:19 coruscant pppd[10033]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Apr 13 12:04:19 coruscant pppd[10033]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 212.7.172.66>]
Apr 13 12:04:19 coruscant pppd[10033]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 212.7.172.66>]
Apr 13 12:04:19 coruscant pppd[10033]: rcvd [CCP ConfReq id=0x1 < 11 06 00 01 01 03>]
Apr 13 12:04:19 coruscant pppd[10033]: sent [CCP ConfRej id=0x1 < 11 06 00 01 01 03>]
Apr 13 12:04:19 coruscant pppd[10033]: rcvd [IPCP ConfAck id=0x1 <addr 10.10.150.1> <compress VJ 0f 01>]
Apr 13 12:04:19 coruscant pppd[10033]: local  IP address 10.10.150.1
Apr 13 12:04:19 coruscant pppd[10033]: remote IP address 212.7.172.66
Apr 13 12:04:19 coruscant pppd[10033]: Script /etc/ppp/ip-up started (pid 10034)
Apr 13 12:04:19 coruscant pppd[10033]: rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Apr 13 12:04:19 coruscant pppd[10033]: sent [CCP ConfReq id=0x2]
Apr 13 12:04:19 coruscant pppd[10033]: Script /etc/ppp/ip-up finished (pid 10034), status = 0x0
Apr 13 12:04:19 coruscant pppd[10033]: rcvd [CCP ConfRej id=0x2]
Apr 13 12:04:48 coruscant pppd[10033]: sent [LCP EchoReq id=0x1 magic=0x9fb0cbb0]
Apr 13 12:04:48 coruscant pppd[10033]: rcvd [LCP EchoRep id=0x1 magic=0x0]
Apr 13 12:04:51 coruscant pppd[10033]: Terminating on signal 15.
Apr 13 12:04:51 coruscant pppd[10033]: Script /etc/ppp/ip-down started (pid 10099)
Apr 13 12:04:51 coruscant pppd[10033]: sent [LCP TermReq id=0x2 "User request"]
Apr 13 12:04:51 coruscant pppd[10033]: rcvd [LCP TermAck id=0x2]
Apr 13 12:04:51 coruscant pppd[10033]: Connection terminated.
Apr 13 12:04:51 coruscant pppd[10033]: Connect time 0.6 minutes.
Apr 13 12:04:51 coruscant pppd[10033]: Sent 337 bytes, received 325 bytes.
Apr 13 12:04:51 coruscant pppd[10033]: Waiting for 1 child processes...
Apr 13 12:04:51 coruscant pppd[10033]:   script /etc/ppp/ip-down, pid 10099
Apr 13 12:04:51 coruscant pppd[10033]: Script /etc/ppp/ip-down finished (pid 10099), status = 0x0
Apr 13 12:04:51 coruscant pppd[10033]: Exit.

 
 
 

PPP don't gets right IP-Adress

Post by Clifford Kit » Fri, 14 Apr 2000 04:00:00



> Apr 13 12:04:19 coruscant pppd[10033]: sent [IPCP ConfReq id=0x1 <addr 10.10.150.1> <compress VJ 0f 01>]
> Apr 13 12:04:19 coruscant pppd[10033]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
> Apr 13 12:04:19 coruscant pppd[10033]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 212.7.172.66>]
> Apr 13 12:04:19 coruscant pppd[10033]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 212.7.172.66>]
> Apr 13 12:04:19 coruscant pppd[10033]: rcvd [CCP ConfReq id=0x1 < 11 06 00 01 01 03>]
> Apr 13 12:04:19 coruscant pppd[10033]: sent [CCP ConfRej id=0x1 < 11 06 00 01 01 03>]
> Apr 13 12:04:19 coruscant pppd[10033]: rcvd [IPCP ConfAck id=0x1 <addr 10.10.150.1> <compress VJ 0f 01>]
> Apr 13 12:04:19 coruscant pppd[10033]: local  IP address 10.10.150.1
> Apr 13 12:04:19 coruscant pppd[10033]: remote IP address 212.7.172.66

It looks like you need the pppd option "noipdefault."  How this is
done within the context of the pppd frontend kppp I can't say, but
manually adding it to /etc/ppp/options should work.

Please post to usenet using plain text and with line breaks set at
about 72 columns.


/* ... packets usually cross many administrative boundaries on their way
   from a source to a destination and often the only point of agreement
   between those separate administrations is that all problems are someone
   else's fault.   --Van Jacobson, abstract of April 97 MSRI talk */

 
 
 

PPP don't gets right IP-Adress

Post by Bill Unr » Fri, 14 Apr 2000 04:00:00



Quote:>If I connect to my ISP, then the IP Adress I get is the one of my
>network adapter eth0 and not a remote Adress.

You ahave a stupid ISP.
Put
0.0.0.0:0.0.0.0
ipcp-accept-local
ipcp-accept-remote
into /etc/ppp/options.
 
 
 

1. Don't get the right adresses for Eth-board

Dear Linuxers,

we build two identical eth-cards into our 486. The one detected
by the kernel does work, the one given by lilo does not. Somehow the
memory area gets a 00f in front of the proper memory address.

We use the SMC Elite combo cards with success in all Computers of
the department. We also use kernel 1.0.9 with Slackware 2.0.0 .

Does anyone experienced the same problem and even got an explanation
or solution to prevent this from happening?

Did anyone patched the kernel to detect both cards ??

Thanks for any answer!

mfg Ralf Hack Dipl.Ing. (FH)
---------------------------------------------------------------------------
If Man had stayed put in the Garden of Eden, where the chronostat is jammed
stuck at half past six on a summer afternoon, it wouldn't have mattered.
                                                     -Tom Holt,"Overtime"-

2. Welcome to comp.unix.questions [Frequent posting]

3. PPP link don't work right..

4. /dev/ttyS0 problem

5. Cant get dynamic IP-Adress at PPP-Dialin

6. converting a SunOS 4.1.3 to Solaris ?

7. Right IP Adress for NFS server ?

8. Linux Frequently Asked Questions with Answers (Part 2 of 6)

9. ppp problem - i don't get an ip address (ISP=Bigpond)

10. how to get ip adress of MX host for some email adress

11. Prevent access to linux server when mac adress does not match ip adress

12. IP packets don't start on PPP connection.

13. dynamic ip-adresses to fix adresses