DirecWay, ICS and DHCP

Discussion in 'Networking Issues' started by LlamaLarry, Oct 2, 2005.

  1. LlamaLarry

    LlamaLarry Network Guru Member

    I have a WRT54GS running the latest Linksys firmware on a Win XP Pro system connected to the world over DirecWay and ICS. I have been using this setup for some time without much problems, but have beenrunning into some trouble lately.

    I have been having failures of the ICS "server" doling out IP addresses, so I decided to enable DHCP on the router.

    Prior to this the router was effectively running as a switch with a built in WAP.

    I can confirm that the router's DHCP works much faster and has not failed, but I can't seem to control the router it assigns (it populates its own IP) and I need it to point to for the ICS to work correctly.

    What am I missing? I would *much* prefer to handle DHCP through the router since it seems more stable, but if anyone knows why DHCP would start puking on ICS that would be grand as well.

    I am not opposed to changing the firmware on the router if that is necessary
  2. 4Access

    4Access Network Guru Member

    There is no way to change the default gateway the router hands out via DHCP in the stock linksys firmware although I'm sure it could be done in some of the 3rd party firmware. For example DD-WRT includes a field in the GUI for additional dhcpd options as seen below.

    (Although off the top of my head I don't know what you would need to enter to get it to hand out a different default gateway.)

    A question though... why don't you simply hook the WRT up to the internet and let it share the connection? It would keep you from having to run a PC 24/7 solely to share internet access.
  3. LlamaLarry

    LlamaLarry Network Guru Member

    I have the older style DirecWay (DW4000) setup that connects to the server/host machine via USB. The server/host contains all of the software needed to run the connection, so I am pretty much stuck with ICS (although I suppose I could try third party software that does the same thing).

    I do know that DirecWay now offers at least 2 versions of self hosting satellite modems, but they also cost money. My current setup is free, well already paid for. ;)

    I was pretty sure that I did not miss the location to plug in the gateway served up by the router's DHCP, but it is always nice to get confirmation.

    I have never flashed my router to a non OEM firmware but have flashed it to update the version multiple times. If I don't like the 3rd party firmware I install can I revert to the OEM at a later date?
  4. 4Access

    4Access Network Guru Member

  5. t4thfavor

    t4thfavor Network Guru Member

    i would dump the stock firmware and then set up a pc in a shoe box to share the connection. make it sole run ics.

    then get dd-wrt (current) then plug in the wan port to an available ethernet port on that pc. let windows give it an address.

    then run dhcp on the wrt giving out a different block such as .1.1 instead of .0.1

    this should work (if you can get it set up right) then you wont have to worry about the dhcp server giving out a ton of ip's and puking, it only has to give out one once a week or so.

    that may need some tweaking but i have gotten it to work once or twice

    or buy a router desighned to do that stuff. probably from dway
  6. LlamaLarry

    LlamaLarry Network Guru Member

    Okay, I ended up flashing to the dd-wrt v23 build that was available on the 2nd (I see a new build up for today). I do appear to be able to set static IP assignments, which I like, but I can't seem to get the dhcpd.conf options area to do anything.

    I have seen websites alluding that
     option routers
    should do what I want, serve up that IP as the gateway rather than the IP of the router/dhcp server. However, this does not appear to be the case.

    I tried telnet'ing to the router to look at dhcp.conf and I could not find it in /etc. I tried putting on there myself, but I could not figure out how to remount the filesystem as rw.

    Has anyone used dd-wrts DHCP server options pane and have it work? Any other firmware vendors that may be on interest to me?

    [edits] Adding bracket to close code block, correcting typo.
  7. 4Access

    4Access Network Guru Member

    option router
    (Singlular "option")
    The config file is located at /tmp/udhcpd.conf
  8. LlamaLarry

    LlamaLarry Network Guru Member

    Okay, I was able to find the file in /tmp and it does indeed contain the options I set. I change my option to
    option router
    as opposed to the
    option routers
    found on various man pages online. The corrected string *does* add the value as a gateway now, but it is a secondary gateway to the router IP.

    I am definitely not a network guy, so I don't know what the effect of having 2 gateways is or why you would want more than 1.

    I would have expected the values I enter in the DHCP Options block to take priority over the default values, but since the file is recreated on the fly I cannot get my changes to stick.

    Will this scenario be a problem? What conditions have to be met for the secondary gateway to be used vs the primary?
  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