Date: Fri, 17 Jul 1998 20:13:49 -0400 (EDT) From: gbh@clark.net To: freebsd-small@FreeBSD.ORG Subject: Interface configuration Message-ID: <Pine.GSO.3.96.980717200102.12121I-100000@shell.clark.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.980717200102.12121I-100000>
