The Care and Feeding of ISDN4BSD
previous up next
11.3 isdnd.rc Setup 11 Setting up an 11.5 Troubleshooting

11.4 ipr0 Setup in /etc/rc.conf

The configuration of the ipr0 interface is done at system startup time using the normal FreeBSD mechanism using the /etc/rc.conf database. The section for my gateway looks like this:

network_interfaces="ed0 lo0 ipr0"

# List of network interfaces (lo0 is loopback).

ifconfig_ed0="inet netmask"

ifconfig_lo0="inet" # default loopback device configuration.

# => provider

ifconfig_ipr0="inet netmask"

This all looks quite usual - with one exception: the ipr0 interface gets the same IP address as this machine's Ethernet interface. This is a legal thing to do and very convenient because it simplifies things very much.

previous index next

Hellmuth Michaelis 2001-08-16