From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 16:54:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A08D0106566C for ; Mon, 15 Sep 2008 16:54:43 +0000 (UTC) (envelope-from a.smith@ukgrid.net) Received: from mx1.ukgrid.net (mx1.ukgrid.net [89.107.16.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7308FC18 for ; Mon, 15 Sep 2008 16:54:43 +0000 (UTC) (envelope-from a.smith@ukgrid.net) Received: from [77.102.236.87] (port=65191 helo=computer) by mx1.ukgrid.net with esmtpa (Exim 4.67; FreeBSD) auth-from a.smith@ukgrid.net envelope-from a.smith@ukgrid.net envelope-to freebsd-questions@freebsd.org id 1KfHDl-00081S-7i; Mon, 15 Sep 2008 17:46:41 +0100 Message-ID: <041601c91751$6d518a60$6600a8c0@computer> From: "Andy Smith" To: Date: Mon, 15 Sep 2008 17:38:04 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 2 logical interfaces in same subnet, problems... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 16:54:43 -0000 Hi, I would like to configure a second sub/cloned interface on a FreeBSD = 5.3 system. I have read various bits and pieces on the subject but I cannot ping (from another server) the = second IP which I have configured. The steps I took to achieve this are: kldload if_vlan ifconfig=20 ifconfig fxp0.1 create # then add the IP to fxp0.1 # after which my interfaces look something like: fxp0: flags=3D8843 mtu 1500 options=3D8 inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 inet6 fe80::203:47ff:fe71:21e7%fxp0 prefixlen 64 scopeid 0x1 ether 00:03:47:71:21:e7 media: Ethernet autoselect (100baseTX ) status: active fxp0.1: flags=3D8842 mtu 1500 inet6 fe80::203:47ff:fe71:21e7%fxp0.1 prefixlen 64 scopeid 0x8 inet 10.10.10.2 netmask 0xffffffff broadcast 10.10.10.255 ether 00:03:47:71:21:e7 media: Ethernet autoselect (100baseTX ) status: active vlan: 1 parent interface: fxp0 >From this server itself I can ping the second IP 10.10.10.2, but from = other systems I can only ping 10.10.10.1. Im most familiar with Solaris and this type of config works no probs = with Solaris, is there something else I have to configure on FreeBSD? For example I found it wouldnt let me use = the normal subnet and I then read that for a second IP on the same subnet it should be set to -1 Any ideas? thanks for any help, Andy.