my tap adapter gets random ip 169.254.40.124

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
SXiPRATEEK
OpenVpn Newbie
Posts: 3
Joined: Sat Jul 23, 2011 6:41 am

my tap adapter gets random ip 169.254.40.124

Post by SXiPRATEEK » Sat Jul 23, 2011 6:51 am

my tap adapter gets this ip address 169.254.40.124
i have not use this range any where.
i have tried several times & it gets the same ip.
i treid changing
server-bridge from 10.8.0.4 . . . to 20.0.0.1 . . . ...
but the problem stays the same
Image
my server config looks like

server config

port 1194
proto udp
dev tap
dev-node OpenVPN_server
ca "D:\\Program Files\\OpenVPN\\config\\server\\ca.crt"
cert "D:\\Program Files\\OpenVPN\\config\\server\\server.crt"
key "D:\\Program Files\\OpenVPN\\config\\server\\server.key" # This file should be kept secret
dh "D:\\Program Files\\OpenVPN\\config\\server\\dh1024.pem"
ifconfig-pool-persist ipp.txt
server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: my tap adapter gets random ip 169.254.40.124

Post by maikcat » Sat Jul 23, 2011 8:10 am

hi there,

maybe my eyes fool me...

is this screenshot shows both vpn interface in same pc?

also

i suppose you are trying to use bridge mode for openvpn..
did you bridged tap & lan interfaces from windows?

also is 10.8.0 subnet belongs to your local area connection?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

SXiPRATEEK
OpenVpn Newbie
Posts: 3
Joined: Sat Jul 23, 2011 6:41 am

Re: my tap adapter gets random ip 169.254.40.124

Post by SXiPRATEEK » Sat Jul 23, 2011 6:27 pm

later i try setting the server ip manually to 10.8.0.4 . .
by windows network connections >> openvpnserver tap adapter
then it takes same specified ip 10.8.0.4 consistantly.

but now when my clients connects they get random ip range
ie
169.254.25.26
169.254.6.22
& this is also consistent
Image

SXiPRATEEK
OpenVpn Newbie
Posts: 3
Joined: Sat Jul 23, 2011 6:41 am

Re: my tap adapter gets random ip 169.254.40.124

Post by SXiPRATEEK » Sat Jul 23, 2011 6:45 pm

Image

how to edit
auto dhcp enable

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: my tap adapter gets random ip 169.254.40.124

Post by maikcat » Sun Jul 24, 2011 10:56 am

hi there,

the ip address the vpn adapter has,it gets it according to your config.

what are you trying to achieve and you have 3 tap adapters?

the apipa based ip ,shows up only when your config has something wrong
otherwise YOU configure the ip the tap adapter gets from its config file..

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply