Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 22:33:18 -0500
From:      Steve Bertrand <steve@ibctech.ca>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   loopback creation at boot
Message-ID:  <494872FE.8070801@ibctech.ca>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm curious to know if the creation of additional 'lo' interfaces is
possible at boot via the traditional /etc/rc.conf as of yet.

Forgive me if I've missed anything regarding this.

I'm still trying to blend some functionality between FBSD and Quagga for
certain routing functions.

This is just attempting to get feedback here, knowing full well that
this is not a Quagga list:

- IPv6 addresses can't be assigned via Quagga to a NIC (Quagga issue AFAICT)
-'disc' interfaces can't be `created' via Quagga (Quagga issue AFAICT)
- apparently, 'disc' interfaces can not be created via /etc/rc.conf
- IPv4 addresses CAN be assigned to available NIC(s) via Quagga
- loopback interfaces can NOT be created via Quagga, or via FreeBSD boot
 procedure (other than lo0)

Can anyone provide any feedback or procedural guidance on how I can (for
example):

- ensure that lo1, lo2-lo14 are created at boot
- ensure that disc0 is created at boot, with an assigned IPv4 and IPv6
address

The situation is thus:

I have a couple of edge routers that I've converted from Cisco to
FreeBSD & Quagga for testing, with BGP as the primary routing protocol.
Upon the rare situation that the router has to reboot, manual
configuration (ie. addition) of the missing virtual NICs must be
performed prior to numerous BGP sessions coming up.

The issue is not with the assignment of numbers... those were examples
to stir imagination and ideas for those who have been there. The real
trouble is having the interfaces available during boot, so I can get
numbers assigned to them by the system.

The lo interfaces are straight forward. The disc (null) interface is
used for pull-up routes for my IPv4 and IPv6 allocations, and for routes
learnt via Cymru BOGONS.

Any guidance welcome.

Steve






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?494872FE.8070801>