Network configuration in FreeBSD

आशीष Ashish wahjava.ml at gmail.com
Tue Jan 29 07:38:05 PST 2008


,--[ On Tuesday 29 Jan 2008, Giorgos Keramidas wrote:
| On 2008-01-28 21:03, Bhuvaneswari Ramkumar <ramkumar at iastate.edu> wrote:

[...]

| Hmmm.  There seems to be something very 'odd' about your interfaces.
|
| 	* There is no `lo0' loopback interface, which commonly uses the
| 	  127.0.0.1 address.

Quoting Bhuvaneswari's output of "ifconfig -a" and "netstat -nr":

----------------------------------------------------------
#ifconfig -a

em0: flags=8802<BROADCAST, SIMPLEX, MULTICAST> mtu 1500
options=b<RXSCUM, TXSCUM, VLAN_MTU>
ether :0d:56:f0:f1:ba
media:Ethernet autoselect (100baseTX <full-duplex>)
status: active

plip0:flags=108810<POINTTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0:flags=8049<UP, LOOPBACK,RUNNING,MULTICAST> MTU 16384
inet 127.0.0.1 netmask 0xff000000
inet ::1 prefixlen 128
inet6 fe80 :: 1% lo0 prefixlen 64 scopeid 0x3
----------------------------------------------------------

If you notice in the above there is already a lo0 interface, it is just that 
he missed a newline between plip0 and lo0 interface lines. So it seems you 
missed the lo0 interface :) .

So all he has to do is just assign some inet address to 'em0' interface, and 
ping other nodes in his LAN :) . And then when done testing IP network in 
LAN, he can add a default route and try connecting to other hosts in the 
internet.

HTH
-- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080129/dc3cc144/attachment.pgp


More information about the freebsd-questions mailing list