Need to Change my network address settings



  • I’ve using Fog 0.32 on Ubuntu 11.10 since it was first released and I’ve got one last project that i need to get done by next Wednesday. Of course my server is wanting to die on me, now of all times.

    First things first. How do I convert my current Fog server from being a DHCP server hading out addresses in the 192.168.6.xxx range to just having a static 192.168.2.10 address. The 192.168.2.10 address is the address is the address that I’ve assigned to “Wired Network 1” up on the task bar. and it that is the address range of my other functioning DHCP network.

    Finally, what recomendations can you guys give me, as far Linux & and Fog versions go.I talking about about setting up a new network for cloning Windows 7 & Windows 10.

    Oh, and by the way, I’m not a Linux guru at all!

    Thanks For all Your Help.
    Ken



  • If your running Ubuntu you should have some type of file editor installed already. I would assume that it has that loaded.

    When you open your terminal you will be a local prompt, if your paths arent set you will not be able to access the file directly.

    you will need to

    cd /
    cd etc
    cd network
    sudo vi interfaces

    It will bring up the file in the VI text editor. Hit the insert key and then arrow down to the last line and enter

    FOG Server IP (This is just a remark to remember what your doing)

    auto (the name of the NIC you are using. You can use IFCONFIG to view the NICS in the machine) in my case its
    auto p4p1
    iface p4p1 inet static
    address (your server address)
    netmask(Your server netmask)
    gateway(Your server gateway)

    It should be some form of this. Hope this helps.


  • Moderator

    @Ken-Helleson said:

    how do I get from the end of one line to the beginning of the next line?

    It depends on the text editor that you use. Here are instructions for Vi.

    What about which versions Linux and Fog work best for Windows 10?

    I’d recommend CentOS 7 and FOG Trunk.
    Fedora 21, 22, and 23 work equally as well, just FYI, but are in a high state of flux.



  • @Wayne-Workman

    Thanks for Your reply. Like I said, I know next to nothing when it comes to Linux, or Fog, for that matter.
    So, if I understand you correctly, I open terminal, enter the first command string to stop DHCP. Then type in second command string and I’m assuming I type in the new information for eth0 exactly as shown(except with a static address that fits within my new network). This may sound really stupid; but, how do I get from the end of one line to the beginning of the next line?

    What about which versions Linux and Fog work best for Windows 10?


  • Moderator

    I suppose you could just disable the DHCP service and set a static address.

    However, you know that if you disable DHCP, you’ll then need to rely on a properly configured DHCP server. When I say properly configured, I mean options 066 and 067, the boot file and next server.

    To stop DHCP,
    /etc/init.d/isc-dhcp-server stop

    To set a static interface, look at the file /etc/network/interfaces and find your interface in there.

    Example:

    iface eth0 inet static
        address 10.0.0.100
        netmask 255.255.255.0
        gateway 10.0.0.1
    

    After changing and saving the file, run /etc/init.d/networking restart

    And at this point, I’ll always recommend FOG Trunk to people, but defiantly not on Ubuntu 11.


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.