Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2012 12:42:07 -0500
From:      Mike Jeays <mike.jeays@rogers.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: static ip address and ifconfig
Message-ID:  <20121229124207.110dca60@europa>
In-Reply-To: <50DF24BC.20507@a1poweruser.com>
References:  <50DF24BC.20507@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Dec 2012 12:13:32 -0500
Fbsd8 <fbsd8@a1poweruser.com> wrote:

> I don't have static ip address so I can not find out for myself.
> Lets say I am a company that my ISP has assigned us
> 25 static ip address.
> 
> When I issue the ifconfig command what will it show me?
> 
> Just the single primary static ip address or all 25 of them in a list?
> 
> Thanks
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

It will just show the one currently assigned.

Try it - just bring up an xterm and type 'ifconfig' You don't have to 
be root, and you can't do any harm.


em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
	ether 08:00:27:40:ca:a9
	inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255  # HERE IT IS
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121229124207.110dca60>