Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setting/getting an ip address on my pptp connection (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Flipperrr
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 83
Location: Netherlands

PostPosted: Wed Oct 22, 2003 8:04 pm    Post subject: setting/getting an ip address on my pptp connection (solved) Reply with quote

Hi,

I'm having a problem with a vpn connection, and I think it has to do with the fact that I don't recieve a valid ip address from the VPN router (cisco 3000) on my ppp0 interface.

I have the following situation (outside vpn not real ip):

Code:

my home       gateway to inet      inet   outside vpn    inside vpn           lan
10.0.0.150 -> 10.0.0.138           |-----|  195.0.0.10 / 192.168.150.1 -> 192.168.150.0/24


When I connect using pptpclient everything goes fine. I can ping 192.168.150.1, but no more than that. When I check ifconfig I notice that I have the same address for my eth0 as for my ppp0 (10.0.0.150).

I think I should get a DHCP address from the VPN machine (that's what happens when I connect with windows), but somehow it doesn't want to. Am I missing something really stupid here? Or is there a way to set the ip address on my ppp0 without losing the connection?

This is my ifconfig result
Code:

eth0      Link encap:Ethernet  HWaddr 00:10:A7:12:63:94
          inet addr:10.0.0.150  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2022 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1939 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1772440 (1.6 Mb)  TX bytes:223198 (217.9 Kb)
          Interrupt:5 Base address:0x4000

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.0.0.150  P-t-P:195.0.0.10  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:724 (724.0 b)  TX bytes:1686 (1.6 Kb)


And this is my routing table
Code:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
195.0.0.10      10.0.0.138      255.255.255.255 UGH   0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.150.0   0.0.0.0         255.255.255.0   U     0      0        0 ppp0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         10.0.0.138      0.0.0.0         UG    1      0        0 eth0


Thanks in advance.


Last edited by Flipperrr on Wed Oct 22, 2003 10:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
Flipperrr
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 83
Location: Netherlands

PostPosted: Wed Oct 22, 2003 10:14 pm    Post subject: Reply with quote

:oops:

Solved... It was something stupid.

Forgot to add "noipdefault" to options.pptp
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum