Hello i am new to mikrotik and i have the following problem:
i have a pptp+eoip connection between tow mikrotik routers ,and i need to configure one end of the connection as
dhcp relay and the other end as dhcp server
on the dhcp server side i have the follwoing configuration :
interface eth1 ip address 100.65.5.6
default gateway 100.56.5.1
/interface pptp-server server set enabled=yes
/ppp secret
add name=“USER” service=pptp password=“PASS”
local-address=192.168.10.1 remote-address=192.168.10.2
disabled=no
/interface eoip add name=eoiptunnel remote-address=192.168.10.2
tunnel-id=101 disabled=no
/interface bridge port add bridge=bridge1 interface=ether1
/interface bridge port add bridge=bridge1 interface=eoiptunnel
and dhcp server configuration is :
/ip pool add name=Local1-Pool ranges=192.168.2.10-192.168.2.90
/ip dhcp-server add interface=bridge1 relay=192.168.2.1
address-pool=Local1-Pool name=DHCP-1 disabled=no
client config :
int eth1 10.4.98.202
def gw : 100.4.98.201
int eth2 192.168.2.1/24
/interface pptp-client
add name=“pptp-tunnel1” connect-to=100.65.5.6
user=“USER” password=“PASS”
profile=default-encryption add-default-route=no
disabled=no
/interface eoip add name=eoiptunnel remote-address=192.168.10.1
tunnel-id=101 disabled=no
/interface bridge port add bridge=bridge1 interface=ether2
/interface bridge port add bridge=bridge1 interface=eoiptunnel
/ip dhcp-relay add name=Local1-Relay interface=eth2
dhcp-server=192.168.10.1 local-address=192.168.2.1 disabled=no
the client is connected to internet + dhcp server mikrotik through interface eth1
the pptp connection is working well .
i need to get ip addresses for clients behind interface eth2 i tried with these confuguration without luck .any help for me ?
thanks.