Skip to contentSkip to conversation

Openvpn client on linux cannot get IP for tap

Openvpn-devel Zhenxiao Liu 2 participants 2 messages May 26, 2005 – May 27, 2005

lore
Share & tools
lore
#0 lore raw

Hi, all,
I have some problem of running Openvpn bridging.
Below is the senario.
I have three PCs running linux.
Linux A runs a dhcp server assigns IP address to pcs connected to
interface eth1.
Linux B runs a VPN server. eth0 is connected to eth1 of Linux A
and will get a IP assigned by Linux A. VPN server on Linux B uses tap1. I've set up bridging between tap1 and eth0. Linux B also runs a dhcp server on its eth1, to which eth0 of Linux C is connected.
Linux C runs a VPN client with its remote set to be the IP of eth1
of Linux B.

VPN client on Linux C uses tap2. But tap2 cannot get a IP that
Linux A assignes. But if I use a windows client instead of Linux C, the tap device will get a IP address.

Am i doing something wrong?

thanks a lot,

Liu

#1 lore raw
Quoted 3 lines · Zhenxiao Liu

VPN client on Linux C uses tap2. But tap2 cannot get a IP that
Linux A assignes. But if I use a windows client instead of Linux C, the tap device will get a IP address.

This belongs on openvpn-users, not openvpn-devel.