Chapter 8. Configuring a Local Area Network with a DSL connection.

Table of Contents
8.1. Network Layout
8.2. Gateway/Router
8.3. Connecting another FreeBSD machine to the network
8.4. Configuring Windows 95 as a Node on a FreeBSD LAN
8.5. Connecting to the DSL network with PPP
8.6. Checking the Network
8.7. Network Detection by ISP
8.8. Running Server Behind the Gateway
8.9. network syslogd
8.10. Living with a Dynamic IP

8.1. Network Layout

8.1.1. The Local Area Network Layout

Its easier to build a new network if you plan using a simple diagram:

Figure 8-1. Network Layout

Connections from the ethernet cards to the DSL modem and 10 Base T hub use CAT5 cable with RJ-45 connectors.

The internal IP addresses for the LAN were chosen from RFC1918:

Private Address Space

The Internet Assigned Numbers Authority (IANA) has reserved the
following three blocks of the IP address space for private internets:

  10.0.0.0        -   10.255.255.255  (10/8 prefix)
  172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
  192.168.0.0     -   192.168.255.255 (192.168/16 prefix)
   

If you have two interfaces to the same network, you may see messages like:

  kernel: arp: 192.168.10.3 is on rl1
  but got reply from 00:02:44:1b:75:c1 on rl0
   


It probably means that you have connected both RL0 and RL1 to the same network. On RL1 you have selected an IP address in the 192.168.10.X range, so FreeBSD expects packets in the 192.168.10.x-range to arrive at RL1. Now it sees packets in the 192.168.10.x-range arriving at RL0 and displays the message you are seeing.