Fog and two interfaces



  • Hello guys,

    I need to get fog work with an second interface on my Kubuntu. There are any instructions to set up this configurations? The user guide can’t help me in this case.



  • You’d need to modify various things for that, probably best if someone who’s done it or uses fog like this helps.

    From what I can see thinking about it, you’d need to make tftp recognise the second address as well as the first one, and you’d need to make sure your mysql and apache service was accessable from there too. I think its more of a linux service thing than actual fog. I’m sure its doable though. Sorry I cant be more specific or helpful but I’d rather let someone who can give you a conclusive answer take this one now we know what you’re trying to do :)



  • I need to get fog working in 2 networks, these networks are physical not connected. So I need to interfaces in fog. Fog is running for serveral months, so I don’t want to reinstall fog.



  • Not sure what you are trying to achieve. I do know that you can set a number of options during setup of fog initially… perhaps that’s what you are after? But you can pretty much just change settings in config.php anyhow to do that. Are you trying to simultaneously run more than one network adapter on different subnets or something?



  • Hi Matt,

    the Interfaces are configured proberly in Linux, but I need to get fog working with the second interface.
    /var/www/fog/commons/config.php has cofiguration for eth0 but where and how do I need to configure the mangement files to get fog working with the second interface?



  • Are you trying to configure a second interface on the system or do you already have that configured and want help with the fog side of things?

    If its the former its probably better to get it listed in the linux problems section.

    Anyhow, if its linux, it just needs configuring in the /etc/network/interfaces file and you can use vi or nano etc to edit that file.

    Mine for instance contains:

    The primary network interface

    auto eth0
    iface eth0 inet static
    address 192.168.168.14
    netmask 255.255.255.0
    network 192.168.168.0
    gateway 192.168.168.254
    broadcast 192.168.168.255

    Basically copy the config and repeat for eth1, eth2 etc for any additional cards. If you plan on putting a second IP on an already used card, the interface name would just become etth0:1 and so on.


Log in to reply
 

399
Online

38713
Users

10542
Topics

99804
Posts

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