[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Bridging and external dhcp server


  • Subject: Re: [Openvpn-users] Bridging and external dhcp server
  • From: Willy Offermans <Willy@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 10 May 2007 08:45:10 +0200

Hello Norbert,

On Wed, May 09, 2007 at 05:11:08PM +0200, Norbert Wegener wrote:
> 
> With the following server config file I get a bridged connection and 
> everything works as expected:
> 
> tls-server
> server-bridge 123.246.222.49 255.255.255.248 123.246.222.50 123.246.222.51
> dev tap0
> proto udp
> resolv-retry infinite
> user nobody
> group nobody
> persist-key
> persist-tun
> ca /etc/openvpn/2.0/keys/ca.crt
> cert /etc/openvpn/2.0/keys/server.crt
> key /etc/openvpn/2.0/keys/server.key
> dh /etc/openvpn/2.0/keys/dh1024.pem
> 
> 
> Now I want to use the local dhcp server to provide addresses to clients.
> Therefore I commented out the server-bridge directive.
> Restarting server and client  on both sides I get an :
> 
>  Initialization Sequence Completed
> 
> 
> Unfortunately that's it.
> I would have expected to see some dhcp requests on the server, but I 
> cannot see one on any interface.
> So the connection does not come up.
> What am I missing?
> Thanks
> 
> Norbert Wegener
> 

Although I'm missing some crucial details, I will try to help you. Did
the client ``request'' an IP address from the DHCP server? It sounds
silly, but is important.

Since you understand what you are doing and you have a working
connection, you are quite close to the solution, so don't despair!

P.S. Give us some more details about server and client.


-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,

Willy

*************************************
W.K. Offermans
Home:   +31 45 544 49 44
Mobile: +31 653 27 16 23
e-mail: Willy@xxxxxxxxxxxxxxxxxxx

                                       Powered by ....

                                            (__)
                                         \\\'',)
                                           \/  \ ^
                                           .\._/_)
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users