jak vytvorit zarizeni lo1
Juraj Lutter
freebsd-users-l at wilbury.sk
Sun Apr 8 20:19:00 CEST 2007
Jiri Calda wrote:
> Miroslav Lachman wrote:
>
>> v cmd mi normalne funguje:
>> ifconfig lo1 create inet 10.11.12.13 netmask 255.255.255.0
>>
>> # ifconfig lo1
>> lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>> inet 10.11.12.13 netmask 0xffffff00
>>
>> Ale v rc.conf tohle rozhodne nefunguje:
>> ifconfig_lo1="create inet 10.11.12.1 netmask 255.255.255.0"
>
> Spravne:
>
> cloned_interfaces="vlan200"
> ifconfig_vlan200="inet 172.20.0.2/24 vlan 200 vlandev em0"
>
> Zamen vlan200 za lo1
V FreeBSD 6.2-STABLE v klidu funguje:
network_interfaces="lo0 lo1 em0 gif0 gif1"
ifconfig_em0="inet 217.73.17.16 netmask 255.255.255.0"
ifconfig_lo1="create inet 192.168.255.253 netmask 255.255.255.255"
ifconfig_gif0="inet 192.168.255.2 192.168.255.1 netmask 255.255.255.252"
ifconfig_gif1="inet 192.168.255.5 192.168.255.6 netmask 255.255.255.252"
Aj ked, tie cloned_interfaces budu asi "systemovejsie" riesenie :-)
otis
--
Juraj Lutter | /\ ASCII Ribbon Campaign
otis (at) wilbury.sk | \/ - NO HTML/RTF in e-mail
http://www.wilbury.sk/ | /\ - NO Word docs in e-mail
More information about the Users-l
mailing list