Change default gateway for DHCP server?

Discussion in 'HyperWRT Firmware' started by ccbadd, May 22, 2006.

  1. ccbadd

    ccbadd Network Guru Member

    I did a search and could not find this information so here it goes:

    Can I set up the DHCP server in 15c so that it gives out a default gateway other than it's own IP? I want to use my VPN router to connect directly to my cable modem, but it can't do static DHCP. I figured if I could use the DHCP server on my WRT54G running Thibor 15c, I could have the best of both worlds. I know I read somewhere that someone had tried it and failed, but I can't find the post. Any assistance would be greatly appreciated.

    [EDIT] I have found this option at the DNSMasq site "#dhcp-option=3,192.168.1.X" and I think this is all I need, but I am not sure where to add it. I asume the startup scripts, but to what variable?
  2. grcore

    grcore Network Guru Member

    disable the wan interface and the gateway option becomes available for the network setup (further down the page.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice