10-01-2019 02:54 AM
Hi,
I'l new to Viptela systems and I try to setup DHCP server on my vEdge 100b.
Config for:
vpn 1
interface ge0/1
no shutdown
dhcp-server
address-pool 192.168.1.0/24
options
default-gateway 192.168.1.1
dns-servers 192.168.1.1
and then commit
When I plug a client to port 0/1 no address is given from the router.
Thanks for your help.
10-01-2019 03:23 AM
Hi,
my DHCP server now works, I forgot to set an IP address to my interface...
But I still have a problem, I don't know how to route trafic between my interface and WAN interface.
My interface ge0/1 is 192.168.1.1/24 with DHCP server enabled on VPN 1, WAN interface is ge0/4 on VPN 0 and gets its IP address from an external DHCP server.
Thanks.
10-01-2019 05:15 AM
Hi Olivier,
I'm not sure what is your expectations when it comes to routing, as the default is for routing to take the Overlay path through OMP and then leave on another vEdge.
If what you're trying to accomplish is DIA (Direct Internet Access) then routing between service VPN 1 and Transport VPN 0 is required.
In that case you'll need NAT on interface ge0/4
vpn 0
interface ge0/4
nat
refresh bi-directional
no block-icmp-error
respond-to-ping
Plus you'll need at least one of this two features:
The default route configuration can be done in this way:
vpn 1
ip route 0.0.0.0/0 vpn 0
commit
However bear in mind that if you want private IP addresses to reach somewhere on the VPN1 you'll other routes let's RFC1918 prefixes, otherwise all the traffic is leaked to VPN 0.
Any further questions please ask
10-04-2019 12:58 AM
Hi,
everything works now.
Thanks you very much for this!
Olivier
10-04-2019 01:07 AM
Hi Olivier,
That's good news, glad I could help.
Regards
10-04-2019 02:04 AM
Just one more thing: I want my router to forward DNS requests to VPN 0 too.
How can I do that?
10-04-2019 03:37 AM
Hi,
One thing you could do is this:
vpn xx
ip route {dns_ip_address/32} vpn 0
Or you could do a taffic data policy that matches UDP 53 and set nat-vpn 0 on that policy.
Best Regards,
10-04-2019 03:54 AM
The thing is that I want to set my router as DNS server in my network and want it to forward DNS requests to internet (port 4 is connected to an internet router and gets its IP address from DHCP).
10-04-2019 03:55 AM
I already have a static route on VPN 1 to forward everything to VPN 0.
10-04-2019 04:49 AM
Hi Olivier,
As far as I'm aware you can only configure DNS Servers for the customers to query, or dns-redirect for bypassing umbrella for example.
Setting the router as dns server as you usually do on regular IOS routers, I don't think that's possible.
Thank you,
Best regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide