1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RV042 persistent ifconfig

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by gygy, Sep 1, 2006.

  1. gygy

    gygy LI Guru Member

    I just change the LAN ip/mask to 192.168.1.1/255.255.0.0 via telnet interface.
    I need to keep this config after reboot.

    Is there any way to permanently save the config ?
     
  2. Toxic

    Toxic Administrator Staff Member

    from the openrg cli once you haev your setting try

    flash_commit

    Then try

    reboot

    once you reboot check the setting in openrg cli. as the GUI may not have the 255.255.0.0 entry anyway.

    dunno if it will work but its worth a try. but however please not, since this is used to working in a class c network, the iptables maybe limited in any other class of network.
     
  3. gygy

    gygy LI Guru Member

    The flash_commit returned 0 but the settings did not persist. :frown:
     
  4. Toxic

    Toxic Administrator Staff Member

    sorry my heads hurting now, too much DS Lite "brain training" today :)

    192.168.1.1/255.255.0.0

    192.168.x.x is a class C network /

    255.255.0.0 is a class B network, its just not gonna happen.

    you should be using 172.16.x.x network address with a class B subnet mask (255.255.0.0)

    http://www.subnet-calculator.com/
     
  5. gygy

    gygy LI Guru Member

    Actualy true, but in the last decade, or so, people use CIDR.
    The point is not what IP/mask I use ...
    I was searching for a way to save the config.
     
  6. Toxic

    Toxic Administrator Staff Member

    The iptables probably dont allow it to be saved in that structured format. try using 172.16.x.x and 255.255.0.0 and see if it can be saved the same way. then you will know whether ifconfig using the "older" method works or you cannot change ifconfig and save it.

    Coud you tell me why your exactly trying to force a class B subnet mask on a class c router anyway?
     
  7. gygy

    gygy LI Guru Member

    There's no such think as a "class C router".
     
  8. Toxic

    Toxic Administrator Staff Member

    whatever....If you didn't want the help from me just say so :) i'll try not to offer any solutions to you needs in future.
     
  9. gygy

    gygy LI Guru Member

    I just change my avatar accordingly :coolest:
    However tnx for your help !
     

Share This Page