Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2016 11:33:51 +0100
From:      Marko Turk <markoml@markoturk.info>
To:        Artem Kuchin <artem@artem.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Internal local ip address for host only
Message-ID:  <20160102103351.GA1907@vps.markoturk.info>
In-Reply-To: <56879844.1030901@artem.ru>
References:  <56879844.1030901@artem.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 02, 2016 at 12:28:36PM +0300, Artem Kuchin wrote:
> I have a didicated server inside provider's network.
> I have igb0 interface
> Now, i need some 10.0.0.x ups for jails, so i configure aliases on igb0=
=20
> interface
>=20
>          inet 10.0.0.1 netmask 0xffffffff broadcast 10.0.0.1
>          inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2
>          inet 10.0.0.3 netmask 0xffffffff broadcast 10.0.0.3
>=20
> But this is wrong, because there can be another server with the same ips=
=20
> in the local network and
> in fact during boot i get
>=20
> Jan  1 16:37:41 omni kernel: arp: 00:25:90:47:4f:9c is using my IP=20
> address 10.0.0.1 on igb0!
>=20
> So, how i can i make perfectly virtual nic visible only inside my host?
>=20

Hi,

add aliases to lo0 or maybe use epair(4).

BR,
Marko

--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWh6eOAAoJEHg6bF2mqM2ItOEQALSjv2E5L0oSjLpv86NuWjqD
DhugGsa/+aLSRANQJm02slIT2qSH5AvH/LkhwbSqk1ZHOIZ5odGMeO8dJ7sMrkTN
O27i3EwEF5iWGXmOiDiLx7pp8HnQE38WnTNup6iZor74OG78qXI9gbeb6RBcLrIm
KJtGYJkFdm6zOJCvjKLi8KAmguBXCJpEv+PWAYCFyqv9M/3L3Rs2Wt0NRbwOa3N1
Cme+2HpHsIy4OjSLi8dY41AkTpgY1DYXP8722xrsPq9bWtKR+22E9TdsLNAtrnux
7AGip3Ykdi2Jtcy6v8ffkJhOUMXyfLrdSy6o9fCj2npMKLE1jbJk3WkaY/XS9bOx
B3IgrnY9NHtNqXcR1Wgsf2N/AsHmJDp4Y4fJzCXWeHss1Up0r2tJfhxgMAcAXr04
3MuHbQ+xZ+Bqx1zvlifjcaO3hxR6v40OEmPkRb5iNbZ9jazqvEnNCcRTH0wAjhd2
BbvLnLVtY5QgXUE1Yg1mIGcpbxpKJRpYHVg1CmbZVx9sXWOUqHSTDCNq0x7VUBsL
iQ0rA9WOUjLIsDYcw8TNws7wg6P4MRCw/YW1M8AGjvY66r38chLrHHIrn956rcUd
TYd04la/1Z0IhnuD6JYqaRiJ4vk0l3kYGo78eCqNIs4SOtKHvrzSo+pwTzkV5pAM
6sCwvhMXV5tb2y3IbcBf
=NRgu
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--



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