From owner-freebsd-small Fri Jul 17 17:14:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22526 for freebsd-small-outgoing; Fri, 17 Jul 1998 17:14:03 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from ice.clark.net (ice.clark.net [168.143.0.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22521 for ; Fri, 17 Jul 1998 17:14:01 -0700 (PDT) (envelope-from gbh@clark.net) From: gbh@clark.net Received: from shell.clark.net (gbh@shell [168.143.0.8]) by ice.clark.net (8.8.8/8.8.8) with SMTP id UAA11360 for ; Fri, 17 Jul 1998 20:15:05 -0400 (EDT) Date: Fri, 17 Jul 1998 20:13:49 -0400 (EDT) To: freebsd-small@FreeBSD.ORG Subject: Interface configuration Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd like some info about configuring interfaces with PicoBSD. I'm using the machine as a router with an ethernet connection to a workstation and a ppp connection to the Internet. If I were using Linux I'd use a set of commands like; # ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up # ifconfig lo 127.0.0.1 # route add -net 192.168.0.0 netmask 255.255.255.0 eth0 # route add default ppp0 In Linux the first ethernet device found is eth0, the second is eth1, etc. What is the convention in BSD? What is the correct syntax for the above commands in BSD? Are there any other differences between BSD and Linux I should be aware of? Also I tried using 'netstat -r' to look at the routing table but the command is not included. What's a replacement? --Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message