newbie internet connection question

Paul Schmehl pauls at
Tue Mar 11 20:02:19 UTC 2008

--On Tuesday, March 11, 2008 19:25:31 +0000 Andy Watts <g7mjv at> 

> Hi People
> l downloaded FreeBSD 6.3 the other day out of curiosity..
> The installation started ok but it all went wrong when it came to connecting
> to the internet through my wired router
> l'm really not sure what entries to put in fig 2-29 that will allow my
> connection.
> My email address is g7mjv at
> My router's address is and running ifconfig on my linux machine
> gives the following:
> eth0      Link encap:Ethernet  HWaddr 00:01:6C:E2:58:25          inet
> addr:  Bcast:  Mask:
>          inet6 addr: fe80::201:6cff:fee2:5825/64 Scope:Link
>          RX packets:5894 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:4645 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:4431375 (4.2 MB)  TX bytes:616025 (601.5 KB)
>          Interrupt:20 Base address:0xe400
> lo        Link encap:Local Loopback          inet addr:
> Mask:
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:5380 (5.2 KB)  TX bytes:5380 (5.2 KB)
> Any pointers in the right direction would be greatly appreciated

If your router works like most do (and it appears that it does from the IP your 
linux box is getting), all you need to do is put this into /etc/rc.conf:


(or rerun sysinstall and configure your ethernet card to do dhcp.)

# sysinstall

Choose Configure/Networking/Interfaces and set your NIC to do dhcp.

Paul Schmehl (pauls at
Senior Information Security Analyst
The University of Texas at Dallas

More information about the freebsd-questions mailing list