Page 1 of 1

my tap adapter gets random ip 169.254.40.124

Posted: Sat Jul 23, 2011 6:51 am
by SXiPRATEEK
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

Re: my tap adapter gets random ip 169.254.40.124

Posted: Sat Jul 23, 2011 8:10 am
by maikcat
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.

Re: my tap adapter gets random ip 169.254.40.124

Posted: Sat Jul 23, 2011 6:27 pm
by SXiPRATEEK
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

Re: my tap adapter gets random ip 169.254.40.124

Posted: Sat Jul 23, 2011 6:45 pm
by SXiPRATEEK
Image

how to edit
auto dhcp enable

Re: my tap adapter gets random ip 169.254.40.124

Posted: Sun Jul 24, 2011 10:56 am
by maikcat
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.