Discussion:
[Vtun-Users] Client get static IP from server
Ali A
2010-05-05 20:59:02 UTC
Permalink
Hi,

I am new to Vtun. Here is my situation. Vtun server has /27 static ip
available to assign. On the client side, Vtun client will act like a gateway
for few other local computers which I like to assign some of /27 static ip
addresses from server to them.

Please advice

Thanks
Allen
dorian
2010-05-06 18:19:36 UTC
Permalink
As I understand you have host S running vtun in server mode.
The same host is running dhcp.

Another host C runs vtun in client mode. (C connects to S)

And finally local computers are connected to the host C.
And you want the host S to serve the dhcp leases to the local computers.
Am I right?

If so it is easy with vtun.
1. Set up host S with vtun in 'ether' mode. Next run dhcp on the tap0
interface.

2. On the host C make bridge eth0+tap0. (where eth0 is the eth which the
local computers are connected)

This way host S will be able to to see dhcp requests from local computers.

Is it what you need?
Post by Ali A
Hi,
I am new to Vtun. Here is my situation. Vtun server has /27 static ip
available to assign. On the client side, Vtun client will act like a
gateway for few other local computers which I like to assign some of
/27 static ip addresses from server to them.
Please advice
Thanks
Allen
------------------------------------------------------------------------
------------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
Vtun-Users mailing list
https://lists.sourceforge.net/lists/listinfo/vtun-users
Loading...