[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
extra interfaces in singlehost-setup.sh
Hi,
On 3.0 GENERIC, I'm looking at
/usr/share/ipsec/isakmpd/singlehost-setup.sh
and scratching my head about the ifconfig lines. It doesn't seem hard
to change the script from ipf to pfctl, but
ifconfig lo2 192.168.11.1 netmask 0xffffff00
and friends (lo3, lo4, lo5) give me
ifconfig: SIOCGIFFLAGS: Device not configured
in and out of the script, so I haven't really reached the pfctl part.
ifconfig -a starts
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33224
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
etc.
and that lo1 is intriguing, but I can't find it anywhere. It isn't in
/etc/netstart (lo0 is), nor the GENERIC config file. In config
UKC> find lo
doesn't find anything, so I don't see how to add a device the way the
config man page does ne1.
It should be obvious by now that I don't know what I'm doing. A few
questions
1. Am I correct that I need to add these devices (lo2 - lo5) somehow
to make progress with the isakmpd example?
2. If so, how do I do it?
3. If not, what should I do instead?
4. Where did lo1 originate?
Thanks,
Steve