From owner-freebsd-questions Wed Nov 28 4:25:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from exchns02.PQAfrica.co.za (mail2.pqafrica.co.za [196.29.130.78]) by hub.freebsd.org (Postfix) with ESMTP id 7055337B416 for ; Wed, 28 Nov 2001 04:25:24 -0800 (PST) Received: by exchns02.pqafrica.co.za with Internet Mail Service (5.5.2653.19) id ; Tue, 27 Nov 2001 06:16:06 +0200 Message-ID: <501BF453CDCFD111A6E40080C83DAC04E4BB1D@PSICS001> From: Vikash Badal / PCS To: 'Sven Brandenburg' , freebsd-questions@FreeBSD.ORG Subject: RE: 2 ip adresses on 1 interface Date: Tue, 27 Nov 2001 06:18:21 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, >>>inet 212.68.64.136 netmask 0xffffff00 broadcast 212.68.64.255 the netmask should be 0xffffffff -----Original Message----- From: Sven Brandenburg [mailto:sven@crashme.org] Sent: 26 November 2001 10:08 To: freebsd-questions@FreeBSD.ORG Subject: 2 ip adresses on 1 interface Hullo :-) I may be plain stupid but iirc this used to work : --- bash-2.04# ifconfig xl0 xl0: flags=8843 mtu 1500 inet 212.68.64.165 netmask 0xffffff00 broadcast 212.68.64.255 inet6 fe80::250:4ff:fe66:fbf0%xl0 prefixlen 64 scopeid 0x1 ether 00:50:04:66:fb:f0 media: Ethernet autoselect (100baseTX ) status: active bash-2.04# ifconfig xl0 212.68.64.136 alias bash-2.04# ifconfig xl0 xl0: flags=8843 mtu 1500 inet 212.68.64.165 netmask 0xffffff00 broadcast 212.68.64.255 inet6 fe80::250:4ff:fe66:fbf0%xl0 prefixlen 64 scopeid 0x1 inet 212.68.64.136 netmask 0xffffff00 broadcast 212.68.64.255 ether 00:50:04:66:fb:f0 media: Ethernet autoselect (100baseTX ) status: active bash-2.04# ping 212.68.64.136 PING 212.68.64.136 (212.68.64.136): 56 data bytes ^C --- 212.68.64.136 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss bash-2.04# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire [..snip..] 212.68.64 link#1 UC 12 0 xl0 212.68.64.136 link#1 UHLW 0 2 xl0 --- i dont know what im missing here - please help me out, looks like i am blinded somehow, the idea is just to add another ip address to the interface xl0 in the same /24 v4 subnet - nothing fancy at all. regards :-) Sven Brandenburg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message