Hi,
I have created a jail using ezjail. Before creating I have added this to rc.conf:
and manually executed:
[cmd=]ifconfig em0 alias 192.168.178.100 netmask 255.255.255.0[/cmd]
The resolv.conf of the jail is:
When I want to install a port I get:
How do I fix this? By the way: why isn't the ezjail using my default ports directory?
This would save traffic because it could use the local distfiles.
Regards.
I have created a jail using ezjail. Before creating I have added this to rc.conf:
Code:
ifconfig_em0_alias0="inet 192.168.178.100 netmask 255.255.255.0"
[cmd=]ifconfig em0 alias 192.168.178.100 netmask 255.255.255.0[/cmd]
ifconfig
Code:
ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:1b:21:bd:1c:41
inet6 fe80::21b:21ff:febd:1c41%em0 prefixlen 64 scopeid 0x1
inet 192.168.178.62 netmask 0xffffffff broadcast 192.168.178.62
inet 192.168.178.63 netmask 0xffffffff broadcast 192.168.178.63
inet 192.168.178.64 netmask 0xffffffff broadcast 192.168.178.64
inet 192.168.178.60 netmask 0xffffff00 broadcast 192.168.178.255
inet 192.168.178.50 netmask 0xffffff00 broadcast 192.168.178.255
inet 192.168.178.100 netmask 0xffffff00 broadcast 192.168.178.255
inet 192.168.178.4 netmask 0xffffff00 broadcast 255.255.255.0
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether bc:ae:c5:70:76:64
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (10baseT/UTP <half-duplex>)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
The resolv.conf of the jail is:
Code:
nameserver 192.168.178.1
When I want to install a port I get:
Code:
No route to host
This would save traffic because it could use the local distfiles.
Regards.