Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 20:07:32 +0000 (GMT)
From:      Sven Brandenburg <sven@crashme.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   2 ip adresses on 1 interface
Message-ID:  <Pine.BSF.4.21.0111261959250.1470938-100000@eltanin.draconis.mw.lg.supercluster.net>

next in thread | raw e-mail | index | archive | help
Hullo :-)

I may be plain stupid but iirc this used to work :
---
bash-2.04# ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
        status: active
bash-2.04# ifconfig xl0 212.68.64.136 alias 
bash-2.04# ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
        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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0111261959250.1470938-100000>