Re: Two NIC's inside a Jail

2018-03-23 Thread Chris Kiakas
Hi, Sorry that I am coming to the conversation a little late. I have several systems Which run with multiple IP connections where the jail responds to multiple IPs I set /etc/rc.conf to just control the ips of the host. as an example; ifconfig_igb1="inet AAA.AAA.AAA.1 netmask 255.255.255.0"

Re: Two NIC's inside a Jail

2018-03-23 Thread joerg_surmann
Hi, thanks for yor help. I can't find a solution. But i have find a starnge ip config. in rc.conf on Host(not jail) ifconfig_vmx0_alias1="inet 192.168.100.2  netmask 255.255.255.0" ifconfig_em0="inet 213.70.80.92 netmask 255.255.255.0" ifconfig on host say: inet 213.70.80.92 netmask

Re: two NIC's in a jail

2018-03-23 Thread Joerg Surmann
Thanks for replay. netstat -an | egrep 'tcp4.*80 .*LISTEN' say: netstat: kvm not available: /dev/mem No such file or directory <- is inside a jail. tcp4    0        0 *.80        *.*        LISTEN grep -i Listen /usr/local/etc/apache24/httpd.conf Listen 80 Listen 443 From the internal IP is no

Re: two NIC's in a jail

2018-03-23 Thread Joerg Surmann
Thanks for replay. netstat -an | egrep 'tcp4.*80 .*LISTEN' say: netstat: kvm not available: /dev/mem No such file or directory <- is inside a jail. tcp4    0        0 *.80        *.*        LISTEN grep -i Listen /usr/local/etc/apache24/httpd.conf Listen 80 Listen 443 From the internal IP is no

Re: two NIC's in a jail

2018-03-23 Thread Joerg Surmann
tail -f /var/log/httpd-access.log 192.168.100.2 - - [23/Mar/2018:13:12:10 +] "OPTIONS * HTTP/1.0" 200 - 192.168.100.2 - - [23/Mar/2018:15:12:02 +] "OPTIONS * HTTP/1.0" 200 - 213.70.80.92 - - [23/Mar/2018:15:33:07 +] "OPTIONS * HTTP/1.0" 200 - 213.70.80.92 - - [23/Mar/2018:15:33:08

Re: two NIC's in a jail

2018-03-23 Thread Miroslav Lachman
Joerg Surmann wrote on 2018/03/23 16:45: Thanks for replay. netstat -an | egrep 'tcp4.*80 .*LISTEN' say: netstat: kvm not available: /dev/mem No such file or directory <- is inside a jail. tcp4    0        0 *.80        *.*        LISTEN grep -i Listen /usr/local/etc/apache24/httpd.conf

Re: two NIC's in a jail

2018-03-23 Thread Joerg Surmann
Thanks for replay. netstat -an | egrep 'tcp4.*80 .*LISTEN' say: netstat: kvm not available: /dev/mem No such file or directory <- is inside a jail. tcp4    0        0 *.80        *.*        LISTEN grep -i Listen /usr/local/etc/apache24/httpd.conf Listen 80 Listen 443 From the internal IP is no

Re: two NIC's in a jail

2018-03-23 Thread Miroslav Lachman
Joerg Surmann wrote on 2018/03/23 13:49: Hi all, I have a Problem to understund how to manage 2 Networks inside a Jail. i have create a jail (using ezjail) with a alias IP. in rc.conf (on Host): ifconfig_vmx0="inet 192.168.100.1 netmask 255.255.255.0" ifconfig_vmx0_alias0="inet 192.168.100.2