i need to put a static route to a PPTP host on a dynamic ip client (dhcp).
is there any way to do this without script?
using ethernet interface as gateway is not working.
i need this because i have to use the default gateway routed to the pptp interface.
Should be like a normal static route
/ip route
add gateway=xx.xx.xx.xx dst-address=0.0.0.0/0
but the xx.xx.xx.xx could be different for each session since the IP is dynamic using DCHP.
the situation:
- host got ip dynamically (dhcp)
- host connect to vpn server (using pptp) add default gateway to the link.
- need static route to a host but NOT via pptp link
so you need to add a route in the vpn server or in the host?..