Search results

  1. Wout

    Example jail configuration causes host to lose network

    No, they behave the same. Adding the interface by either interface option or interface|address syntax in ip4.address results in automatic creating and destroying of IP aliases. To problem lies when you (either by mistake, or on purpose) assign the host's primary IP address to the jail. Than the...
  2. Wout

    Example jail configuration causes host to lose network

    @nakal: No problem here, I was just trying out the jail.conf way of starting jails. I was doing this on a local machine, which does not have any aliases. So if I understand correctly, when using the interface option, you do not need to have aliases assigned to the host before starting the jail...
  3. Wout

    Example jail configuration causes host to lose network

    Thanks. You do have a valid point. When using aliases, the interface problem does not occur. I do not see any reason why the interface option is in the example, and as it causes the interface to go down when not having aliases, maybe it is best to have it removed from the jail example? Should...
  4. Wout

    Example jail configuration causes host to lose network

    I am running a system doing the very same thing right now. Even without talking about the "primary" IP address, when a jail uses an IP address, it must the assigned to the host as well (as alias or primary). So they always share IP addresses. To use this IP for services on the host, is probably...
  5. Wout

    Example jail configuration causes host to lose network

    I agree it is uncommon, and probably bad practice. Normally I also assign IP aliases to my jails. But it surely is possible. If the host and jail would use the same port on a shared IP address, the host will have preference. I do not find anything in jail, nor in the Handbook, that says it is...
  6. Wout

    Example jail configuration causes host to lose network

    @wblock@: Yes, it seems so. Without the interface option, everything works as expected. Please, try it, but not on a remote machine :) @SirDice: I do not believe that to be true. A jail and host may share the same IP address. It is even required as the host has to have this IP assigned to a...
  7. Wout

    Example jail configuration causes host to lose network

    No, but the above example is just a copy from jail. My version has path, host.hostname, ip4.addr and interface options changed. To be complete, my jail.conf contains: testjail { path = /usr/jails/test; mount.devfs; host.hostname = testhostname; ip4.addr = 10.0.2.15; interface = em0...
  8. Wout

    Example jail configuration causes host to lose network

    Using FreeBSD 10-RELEASE, when following the jail jail.conf example, it causes the host to lose network when starting the jail. testjail { path = /tmp/jail/testjail; mount.devfs; host.hostname = testhostname; ip4.addr = 192.0.2.100; interface = ed0; exec.start = "/bin/sh...
  9. Wout

    Failover configuration

    Thanks for the reply, by now I upgraded to FreeBSD 9, and sticked to my previous configuration. Working great, though I am always interested in improving it :)
  10. Wout

    FreeBSD 9, disable ipv6

    Setting ifconfig_bge0_ipv6="inet6 auto_linklocal" in rc.conf (change bge0 to your interface) has fixed the ntpd warnings for me (9.0-RELEASE). I would suggest NOT disabling the link-local IPv6 address when using a kernel with IPv6 support (GENERIC does), because this may result in unexpected...
  11. Wout

    Failover configuration

    Hi, I am using FreeBSD to host web and mail services. Currently, my setup is as follow: Server1 in datacenter1: 1 web jail, 1 mail jail Server2 at datacenter2: 1 web jail, 1 mail jail (failover) The web jails have Apache, MySQL, Pure-FTPd and Bind installed. The mail jails have Postfix...
Back
Top