PPP - Pedantic PPP Primer : FreeBSD System Configuration : Verifying the Ethernet Interface Configuration
Previous: Configuring the FreeBSD Host Name
Next: Configuring your Ethernet Interface

3.2. Verifying the Ethernet Interface Configuration

To reiterate our basic assumption, this guide assumes that the Ethernet Interface in the FreeBSD system is named 'ed0'. This is the default for NE-1000, NE-2000, WD/SMC models 8003, 8013 and Elite Ultra (8216) network adapters.

Other models of network adapters may have different device names in FreeBSD. Check the FAQ for specifics about your network adapter. If you're not sure of the device name of your adapter, check the FreeBSD FAQ to determine the device name for the card you have and substitute that name (i.e.: 'de0', 'zp0', or similar) in the following steps.

As was the case with the host name, the configuration for the FreeBSD system's Ethernet Interface may have been specified when the system was installed.

To display the configuration for the interfaces in your FreeBSD system (Ethernet and others), enter the following command:

# ifconfig -a
(In layman's terms: "Show me the InterFace CONFIGuration for my network devices".)

An example: <hr>

# ifconfig -a
 ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
      inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
      ether 01:02:03:04:05:06
 lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
 tun0: flags=8050<POINTOPOINT,RUNNING, MULTICAST> mtu 1500
 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
      inet 127.0.0.1 netmask 0xff000000
# _
<hr>

In this example, the following devices were displayed:

ed0: The Ethernet Interface

lp0: The Parallel Port Interface (ignored in this guide)

tun0: The "tunnel" device; This is the one ppp uses!

sl0: The SL/IP device (ignored in this guide)

ppp0: Another PPP device (ignored in this guide)

lo0: The "Loopback" device (ignored in this guide)

In this example, the 'ed0' device is up and running. The key indicators are:

  1. Its status is "UP",
  2. It has an Internet ("inet") address, (in this case, 192.168.1.1)
  3. It has a valid Subnet Mask ("netmask"; 0xffffff00 is the same as 255.255.255.0), and
  4. It has a valid broadcast address (in this case, 192.168.1.255).

If the line for the Ethernet card had shown something similar to: <hr>

ed0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 01:02:03:04:05:06
<hr> then the Ethernet card hasn't been configured yet.

If the configuration for the Ethernet interface is correct you can skip forward to Section 3.4, "Creating the list of other LAN hosts". Otherwise, proceed with the next section.

3.2.1. Configuring your Ethernet Interface


PPP - Pedantic PPP Primer : FreeBSD System Configuration : Verifying the Ethernet Interface Configuration
Previous: Configuring the FreeBSD Host Name
Next: Configuring your Ethernet Interface