STATIC IP PLEASE HELP



  • I’m installing fog on a workstation to use as a server. I’m having problems setting up a static IP. I have a workstation that i will be using as a server to re-image about 30 laptops. Computer is connected to the local network such as veh.local domain. when i install Linux my internet connection lets me get to the internet, however when i try to configure my connection setting to a static IP, I’m no longer able to get into the internet. The connection reminds connected connected but when i open my Firefox browser the internet does not work. The Question is how do you properly configure a STATIC IP and if possible ,how would i be able to find my proper IP sub-mask and gateway to enter correctly. PLEASE HELP CLARIFY THIS PROCEDURE. Currently running Ubuntu 12.04 LTS with fog 0.32. internet connection is needed to download actual fog .032 after Linux install. what I’m i doing wrong ??? PLEASE HELP.



  • easy way of finding default gateway and subnet mask is to set the workstation to dhcp - wait until it gets and ip address - fo to the information - note down the dg and subnet - pop out to a terminal try pinging and address up the top or down the bottom of the ip range (to find out a address that hasn’t been allocated out) find a non responding address and use that along with the dg and subnet mask details… most if not all subnet masks will be 255.255.255.0 …



  • @jose Santana, post: 12996, member: 7634 said:

    this may seem like a dumb question but I’m new and willing,to learn. I’m fairly new to Linux and mostly do hardware. is the ip address that we just assign to address(192.168.3.3) , is that any class c ip address that we just give it? netmask seem to always remain the same as (255.255.255.0). IM sorry just a noobie willing to learn. hopefully other can relate to this discussion who have similiar issue.

    The IP address you give the server is up to you so long as it’s an address that fits on your network and is accessible across your network and make sense for you.

    For instance, if all your servers are on 192.168.3.xxx vlan then you would put your fog server on that same vlan just for administration sake, as sometimes only server vlans are tagged across a network and traverse vlans to supply a service to the client computers on other vlans.

    There is no hard and fast rule, however assigning an arbitrary address could have unforeseen consequences if your switching or networking environment changes.



  • this may seem like a dumb question but I’m new and willing,to learn. I’m fairly new to Linux and mostly do hardware. is the ip address that we just assign to address(192.168.3.3) , is that any class c ip address that we just give it? netmask seem to always remain the same as (255.255.255.0). IM sorry just a noobie willing to learn. hopefully other can relate to this discussion who have similiar issue.


  • Moderator

    Make sure you are setting your IP related settings correct. https://help.ubuntu.com/lts/serverguide/network-configuration.html#name-resolution

    iface eth0 inet static
        address 192.168.3.3
        netmask 255.255.255.0
        gateway 192.168.3.1
        dns-search example.com
        dns-nameservers 192.168.3.45 192.168.8.10
    

Log in to reply
 

395
Online

38918
Users

10688
Topics

101399
Posts

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