FOG with 2 NIC



  • Hello!

    I’m trying to set up FOG system @ work.
    Installed pure Linux Ubuntu 12.04 LTS with FOG 1.2.0 on physical machine.

    My problem is: How to configure my other NIC to be the interface which is for PXE uploading/deploying
    And CAT6 cable is ok for doing the transfer progress between FOG machine and PC?

    My /etc/network/interfaces looks like this:

    Primary Interface

    auto em1
    iface em1 inet static
    address xx.xx.5.95
    netmask 255.255.255.0
    network xx.xx.5.0
    broadcast xx.xx.5.255
    gateway xx.xx.5.254

    Secondary Interface

    auto p5p1
    iface p5p1 inet dhcp

    My /etc/resolv.conf looks like this:
    nameserver xx.xx.5.252

    At this moment my FOG is configured as Primary Interface IP, web interface is working etc…



  • I have 2 NICs because i don’t have only Fog on my server:

    One NIC for WEBapps (CRM, etc etc) on .4 cat6
    One NIC for Fog on .6 Fiber


  • Moderator


  • Developer

    This is exactly what FOG is made for (upload from one client, then deploy to several other clients). You don’t need two NICs or IP addresses to do that!

    Add all your client MAC addresses to FOG (through webinterface, import csv or register on pxe boot!), then schedule an upload task for that client you want to get an image from. After the upload is done you can schedule a deploy task for a group of hosts…



  • We have like ~20 brand new Dell laptops in our company to configure… So Fastest way is like to do 1 image and upload the image to clonerserver.
    Then after that, it is very easy to deploy all the images to all laptops… just connect the CAT6 cable with laptop and ClonerServer(FOG) and after that Voila.


  • Developer

    Why would you want to do something like this??



  • My /etc/network/interfaces looks like this:

    The primary network interface (gigabyte)

    auto eth1
    iface eth1 inet static
    address 192.168..4
    netmask 255.255.255.0
    gateway 192.168.
    .5
    dns-nameservers 8.8.8.8 192.168.***.5

    auto eth3
    iface eth3 inet static (fiber channel and fog interface)
    address 192.168..6
    netmask 255.255.255.0
    gateway 192.168.
    .5
    dns-nameservers 8.8.8.8 192.168.***.5

    and in my /etc/dhcp/dhcpd.conf :

    next-server 192.168.***.6;


Log in to reply
 

406
Online

38746
Users

10569
Topics

100055
Posts

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